From 6b79aca0be97e65b5b0c1acaf4ad31a68e0520f2 Mon Sep 17 00:00:00 2001 From: "Lennart J. Kurzweg (Nx2)" Date: Fri, 11 Apr 2025 13:58:17 +0200 Subject: [PATCH 1/3] fix autoname --- home-modules/hyprland-autoname-workspaces.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/home-modules/hyprland-autoname-workspaces.nix b/home-modules/hyprland-autoname-workspaces.nix index 2abd412..6607e92 100644 --- a/home-modules/hyprland-autoname-workspaces.nix +++ b/home-modules/hyprland-autoname-workspaces.nix @@ -22,7 +22,8 @@ ".*.exe" = "" "firefox" = "󰈹" "galaxyclient.exe" = "󰮡" - "Gimp-.*" = "" + "\\.?gimp-.*" = "" + "F?imv.*" = "󰋩" "KiCad" = "" "kitty" = "" "libreoffice-calc" = "" @@ -39,7 +40,7 @@ "Spotify" = "" "steam" = "󰓓" "thunar" = "" - "thunderbird" = "" + "thunderbird" = "" "Tor Browser" = "󰾔" "vesktop" = "󰙯" "virt-manager" = "" From f35172fde15fd3c8ce484b55a64aa840065a96b0 Mon Sep 17 00:00:00 2001 From: "Lennart J. Kurzweg (Nx2)" Date: Fri, 11 Apr 2025 13:58:35 +0200 Subject: [PATCH 2/3] clarify delete event --- home-modules/hyprland.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home-modules/hyprland.nix b/home-modules/hyprland.nix index 78df2cb..5e40186 100644 --- a/home-modules/hyprland.nix +++ b/home-modules/hyprland.nix @@ -349,7 +349,7 @@ in { "SUPER SHIFT, F1, movetoworkspace, 100" # "SUPER, F2," # "SUPER, F3, toggleopaque" - "SUPER, F4, exec, rm /tmp/caldav_event_cache.json && notify-send Saved event deleted!" + "SUPER, F4, exec, rm /tmp/caldav_event_cache.json && notify-send 'Cleared Saved Event!' ''" "SUPER, F5, exec, nx_gcal_event force-lookup" "SUPER SHIFT, F5, exec, nx_gcal_event reauthenticate" "SUPER, F6, exec, ${terminal-exec}'htop'" From 9fe46133da092009cb406903ca36053e41a23f31 Mon Sep 17 00:00:00 2001 From: "Lennart J. Kurzweg (Nx2)" Date: Fri, 11 Apr 2025 13:59:00 +0200 Subject: [PATCH 3/3] yazi ++ --- home-modules/yazi.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/home-modules/yazi.nix b/home-modules/yazi.nix index c175115..54abce9 100644 --- a/home-modules/yazi.nix +++ b/home-modules/yazi.nix @@ -1,4 +1,4 @@ -{ pkgs, lib, system, rice, inputs, ... }: +{ pkgs, system, rice, inputs, ... }: { home.packages = with pkgs; [ # yazi @@ -47,6 +47,7 @@ { on = [ "g" "d" ]; run = "cd ~/Downloads"; desc = "Go to the downloads directory"; } { on = [ "g" "D" ]; run = "cd ~/Documents"; desc = "Go to the Documents directory"; } { on = [ "g" "r" ]; run = "cd /"; desc = "Go to the root (/) directory"; } + { on = [ "g" "t" ]; run = "cd /tmp"; desc = "Go to the /tmp directory"; } { on = [ "g" "/" ]; run = "cd /"; desc = "Go to the root (/) directory"; } { on = [ "g" "" ]; run = "cd --interactive"; desc = "Go to a directory interactively"; } # Navigation @@ -193,10 +194,11 @@ opener = { "edit" = [ { run = ''hx "$@"''; desc = "helix"; block = true; } - { run = ''codium "$@"''; desc = "helix"; orphan = true; } + { run = ''codium "$@"''; desc = "code"; orphan = true; } ]; "play" = [ - { run = ''mpv "$@"''; } + { run = ''mpv "$@"''; desc = "mpv"; orphan = true; } + { run = ''mpv --vf=negate "$@"''; desc = "mpv inverted"; orphan = true; } { run = ''mediainfo "$1"; echo "Press enter to exit"; read''; block = true; desc = "Show mediainfo"; } ]; "archive" = [ @@ -255,6 +257,7 @@ { mime = "text/htm"; use = [ "edit" "browser" ]; } { mime = "text/x-python"; use = "python"; } { mime = "text/*"; use = "edit"; } + { mime = "text"; use = "edit"; } { mine = "inode/x-empty"; use = "edit"; } { mine = "inode/directory"; use = "edit"; }