From 9672616f431c8c4161238fe7ad1e2b4cf3040320 Mon Sep 17 00:00:00 2001 From: Ryan Schanzenbacher Date: Thu, 15 Feb 2024 13:22:50 -0500 Subject: Added zoxide for cd, updated bashrc, trying to get latest hyprland portal working, and beginning to try and use flakes in home-manager for nix packages. --- home-config/bashrc | 3 +++ home-config/nix-home-manager/home.nix | 8 +++++++- home-config/waybar/config | 19 ++++++++++++++++++- 3 files changed, 28 insertions(+), 2 deletions(-) (limited to 'home-config') diff --git a/home-config/bashrc b/home-config/bashrc index d28af9d..0c61ee6 100644 --- a/home-config/bashrc +++ b/home-config/bashrc @@ -50,3 +50,6 @@ export XDG_DATA_DIRS=$XDG_DATA_DIRS:/var/lib/flatpak/exports/share:/home/ryan/.l #export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) #gpgconf --launch gpg-agent export GPG_TTY=$(tty) + +# Setup zoxide for cd command provider +eval "$(zoxide init --cmd cd bash)" diff --git a/home-config/nix-home-manager/home.nix b/home-config/nix-home-manager/home.nix index 5c0ee46..aa90213 100644 --- a/home-config/nix-home-manager/home.nix +++ b/home-config/nix-home-manager/home.nix @@ -15,6 +15,12 @@ # release notes. home.stateVersion = "22.11"; # Please read the comment before changing. + # Enable nix flakes + nix = { + package = pkgs.nix; + settings.experimental-features = [ "nix-command" "flakes" ]; + }; + # This value will set some environment variables to allow home-manager to # function better outside of NixOS nixpkgs.config.allowUnfree = true; @@ -30,12 +36,12 @@ yt-dlp #pass rustup + zoxide nodePackages.pnpm gcc pkg-config wttrbar swww - hyprpicker wl-clip-persist gifski waypaper diff --git a/home-config/waybar/config b/home-config/waybar/config index 8721a6a..99a7bef 100644 --- a/home-config/waybar/config +++ b/home-config/waybar/config @@ -5,7 +5,7 @@ "modules-left": ["hyprland/workspaces", "hyprland/submap"], "modules-center": ["hyprland/window"], - "modules-right": ["tray", "custom/spotify", "custom/weather", "custom/mail", "custom/storage", "backlight", "bluetooth", "pulseaudio", "network", "idle_inhibitor", "battery", "clock"], + "modules-right": ["tray", "custom/spotify", "privacy", "custom/weather", "custom/mail", "custom/storage", "backlight", "bluetooth", "pulseaudio", "network", "idle_inhibitor", "battery", "clock"], "hyprland/submap": { "format": " {}" }, @@ -59,6 +59,23 @@ "on-click": "foot -t alacritty doas nmtui", "tooltip": false }, + "privacy": { + "icon-spacing":4, + "icon-size":18, + "transition-duration":250, + "modules": [ + { + "type":"screenshare", + "tooltip":true, + "tooltip-icon-size":24 + }, + { + "type":"audio-in", + "tooltip":true, + "tooltip-icon-size":24 + } + ] + }, "pulseaudio": { "format-alt": "{icon}", "format": "{volume} {icon}", -- cgit v1.2.3