diff --git a/flake.nix b/flake.nix index 5c9a851..b11b3f8 100644 --- a/flake.nix +++ b/flake.nix @@ -336,7 +336,7 @@ virtual-machines virtual-machines-gui music-production - plasma6 + # plasma6 gaming slippi.nixosModules.default diff --git a/modules/home-manager/fish/interactiveShellInit.fish b/modules/home-manager/fish/interactiveShellInit.fish index f5ce75f..b58f71b 100644 --- a/modules/home-manager/fish/interactiveShellInit.fish +++ b/modules/home-manager/fish/interactiveShellInit.fish @@ -61,6 +61,9 @@ end function _last_cmd_duration set_color -b normal green set -q CMD_DURATION && printf " %dms" $CMD_DURATION + if test $CMD_DURATION -gt 5000 + printf "\e]777;notify;%s;%s\e\\" "WezTerm: Command Finished" (history --max 1) + end end function _maybe_jobs_summary diff --git a/modules/home-manager/hyprland.nix b/modules/home-manager/hyprland.nix index f76bdd5..78cfbe5 100644 --- a/modules/home-manager/hyprland.nix +++ b/modules/home-manager/hyprland.nix @@ -53,7 +53,6 @@ in { "firefox" "wezterm" "xwaylandvideobridge" - "dbus-update-activation-environment --systemd --all" "systemctl --user import-environment QT_QPA_PLATFORMTHEME" # "wezterm" # NOTE: maybe check out hypridle? @@ -80,7 +79,6 @@ in { "before-sleep 'swaylock --daemonize'" ]) ''swayidle -w timeout 600 'notify-send "Locking in 30 seconds..."' timeout 630 'swaylock -f' timeout 660 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on && maybe-good-morning' before-sleep 'swaylock -f'"'' - "dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP" ]; env = [ diff --git a/modules/home-manager/sway.nix b/modules/home-manager/sway.nix index 65dc747..20d729d 100644 --- a/modules/home-manager/sway.nix +++ b/modules/home-manager/sway.nix @@ -23,14 +23,18 @@ home.file."${config.xdg.configHome}/mako/config" = { enable = true; text = with style.colors.withHashPrefix; '' - border-size=1 + border-size=2 + border-radius=5 + padding=10,15 max-visible=5 default-timeout=15000 font=Symbols Nerd Font ${toString style.font.size},${style.font.name} ${toString style.font.size} anchor=top-right on-notify=exec ${pkgs.mpv}/bin/mpv --volume=50 ~/.notify.wav + actions=1 + icons=1 - background-color=${bg} + background-color=${bg}AA text-color=${text} border-color=${primary} progress-color=${primary} @@ -39,7 +43,7 @@ border-color=${urgent} [urgency=high] - background-color=${urgent} + background-color=${urgent}AA border-color=${urgent} text-color=${bg} ''; @@ -147,7 +151,7 @@ startup = [ {command = "kdeconnect-indicator";} - # {command = "mako";} + {command = "mako";} { command = "swaybg -i $HOME/.wallpaper"; } diff --git a/modules/home-manager/wezterm/config.lua b/modules/home-manager/wezterm/config.lua index dae6314..677214f 100644 --- a/modules/home-manager/wezterm/config.lua +++ b/modules/home-manager/wezterm/config.lua @@ -22,6 +22,7 @@ config.tab_bar_at_bottom = true config.window_background_opacity = 1.0 config.enable_kitty_keyboard = true config.show_new_tab_button_in_tab_bar = true +config.notification_handling = "SuppressFromFocusedTab" -- config.front_end = "WebGpu" -- config.webgpu_power_preference = 'HighPerformance' diff --git a/modules/nixos/default.nix b/modules/nixos/default.nix index a3bc043..fefc576 100644 --- a/modules/nixos/default.nix +++ b/modules/nixos/default.nix @@ -116,7 +116,7 @@ libinput libinput-gestures libnotify - # mako + mako noto-fonts pamixer playerctl @@ -482,7 +482,6 @@ oils-for-unix watchexec android-tools - kubectl stern libresprite # logseq @@ -522,6 +521,17 @@ yubico-piv-tool ]; + programs.direnv.mise = { + enable = true; + }; + + programs.mise = { + enable = true; + enableFishIntegration = true; + enableBashIntegration = true; + enableZshIntegration = true; + }; + programs.thunderbird = { enable = true;