diff --git a/home-modules/hyprland-autoname-workspaces.nix b/home-modules/hyprland-autoname-workspaces.nix
index 4621dd2..c7bf7c0 100755
--- a/home-modules/hyprland-autoname-workspaces.nix
+++ b/home-modules/hyprland-autoname-workspaces.nix
@@ -2,61 +2,78 @@
{
home = {
packages = with pkgs; [ hyprland-autoname-workspaces ];
- file.".config/hyprland-autoname-workspaces/config.toml".text = ''
- version = "1.1.14"
+ file.".config/hyprland-autoname-workspaces/config.toml".text = let
+ icons = /* toml */ ''
+ DEFAULT = "{class}"
+ "Alacritty" = ""
+ "Bitwarden" = ""
+ "blueman-manager" = ""
+ "chatterino" = ""
+ "Chromium" = ""
+ "code" = ""
+ "code-oss" = ""
+ "codium" = ""
+ "codium-url-handler" = ""
+ "com.mitchellh.ghostty" = ""
+ "com.obsproject.Studio" = ""
+ "discord" = ""
+ "Element" = ""
+ "epicgameslauncher.exe" = ""
+ ".*.exe" = ""
+ "firefox" = ""
+ "galaxyclient.exe" = ""
+ "Gimp-.*" = ""
+ "KiCad" = ""
+ "kitty" = ""
+ "libreoffice-calc" = ""
+ "libreoffice-writer" = ""
+ "lutris" = ""
+ "mpv" = ""
+ "obsidian" = ""
+ "org.inkscape.Inkscape" = ""
+ "org.remmina.Remmina" = ""
+ "pavucontrol" = ""
+ "pcbnew" = ""
+ "Signal" = ""
+ "spotify" = ""
+ "Spotify" = ""
+ "steam" = ""
+ "thunar" = ""
+ "thunderbird" = ""
+ "Tor Browser" = ""
+ "vesktop" = ""
+ "virt-manager" = ""
+ "VirtualBox" = ""
+ "VirtualBox Machine" = ""
+ "VirtualBox Manager" = ""
+ "VSCodium" = ""
+ "zathura" = ""
+ "zoom" = ""
+ '';
+ in /* toml */ ''
+ version = "1.1.15"
+
+ [format]
+ dedup = false
+ dedup_inactive_fullscreen = false
+ delim = " "
+ workspace = "{id}:{clients}"
+ workspace_empty = "{id}"
+ client = "{icon}"
+ client_fullscreen = "F{icon}"
+ client_active = "{icon}"
+ client_dup = "{icon}x{counter}"
+ client_dup_active = "{icon}{delim}{icon}x{counter_unfocused}"
+ client_dup_fullscreen = "F{icon}{delim}{icon}x{counter_unfocused}"
+
+ [exclude]
+ "steam" = "^(Friends List.*)?$"
+ "fcitx" = ".*"
[class]
- VirtualBox = ""
- steam = ""
- "VirtualBox Manager" = ""
- "com.obsproject.Studio" = ""
- "[Ff]irefox" = ""
- "[Tt]hunderbird" = ""
- pcbnew = ""
- ".*.exe" = ""
- Element = ""
- Signal = ""
- Gimp = ""
- VSCodium = ""
- "[sS]potify" = ""
- virt-manager = ""
- lutris = ""
- DEFAULT = "{class}"
- "epicgameslauncher.exe" = ""
- "[Cc]ode" = ""
- "galaxyclient.exe" = ""
- pavucontrol = ""
- "Tor Browser" = ""
- mpv = ""
- chatterino = ""
- libreoffice-writer = ""
- kitty = ""
- "com.michellh.ghostty" = ""
- "cyberpunk2077.exe" = ""
- KiCad = ""
- "[tT]hunar" = ""
- "riotclientux.exe" = ""
- libreoffice-calc = ""
- "org.remmina.Remmina" = ""
- "org.inkscape.Inkscape" = ""
- "VirtualBox Machine" = ""
- Bitwarden = ""
- "[gG]imp-.*" = ""
- Chromium = ""
- obsidian = ""
- "leagueclientux.exe" = ""
- zathura = ""
- code-oss = ""
- codium-url-handler = ""
- discord = ""
- vesktop = ""
- blueman-manager = ""
- Alacritty = ""
- zoom = ""
- spotify = ""
+ ${icons}
[class_active]
- "(?i)ExampleOneTerm" = "icon"
[initial_class]
@@ -74,35 +91,11 @@
[initial_title_in_class]
- [initial_title]
- "Spotify Premium" = ""
-
[initial_title_in_class_active]
[initial_title_in_initial_class]
[initial_title_in_initial_class_active]
-
- [exclude]
- aProgram = "^$"
- "" = "^$"
- "(?i)fcitx" = ".*"
- "[Ss]team" = "^(Friends List.*)?$"
- "explorer.exe" = ".*"
- "(?i)TestApp" = ""
-
- [format]
- dedup = false
- dedup_inactive_fullscreen = false
- delim = " "
- workspace = "{id}:{clients}"
- workspace_empty = "{id}"
- client = "{icon}"
- client_fullscreen = "{icon}"
- client_active = "{icon}"
- client_dup = "{icon}{counter_sup}"
- client_dup_active = "*{icon}*{delim}{icon}{counter_unfocused_sup}"
- client_dup_fullscreen = "[{icon}]{delim}{icon}{counter_unfocused_sup}"
'';
};
}
diff --git a/home-modules/hyprland.nix b/home-modules/hyprland.nix
index f587c57..9cd41eb 100755
--- a/home-modules/hyprland.nix
+++ b/home-modules/hyprland.nix
@@ -343,8 +343,8 @@ in {
# "SUPER, F4,"
"SUPER, F5, exec, nx_gcal_event force-lookup"
"SUPER SHIFT, F5, exec, nx_gcal_event reauthenticate"
- "SUPER, F6, exec, ${terminal} -e 'htop'"
- "SUPER, F7, exec, ${terminal} -e 'nmtui'"
+ "SUPER, F6, exec, ${terminal-exec}'htop'"
+ "SUPER, F7, exec, ${terminal-exec}'nmtui'"
''SUPER, F8, exec, find ~/Pictures/wallpapers/* -type f -not -path "~/Pictures/wallpapers/.git/*" | sort -R | head -n 1 | xargs -d '\n' swww img --transition-type wipe --transition-angle 60 --transition-step 120 --transition-fps 120 --transition-duration 2''
"SUPER, F9, execr, waybar_mode set ' '"
"SUPER, F9, submap, color"
@@ -352,7 +352,7 @@ in {
"SUPER, F11, exec, waybar"
"SUPER SHIFT, F11, exec, pkill waybar "
"SUPER, F12, exec, hyprland-autoname-workspaces"
- "SUPER SHIFT, F12, exec, pkill -9 hyprland-autoname-workspaces "
+ "SUPER SHIFT, F12, exec, pkill -9 hyprland-aut"
###########################################################################
## ROW 1:
@@ -399,7 +399,7 @@ in {
# "SUPER, T, exec, alacritty"
# "SUPER SHIFT, T, exec, alacritty -e sh -c "ssh nxace""
"SUPER, T, exec, SESSION_FROM_DE=TRUE ${terminal}"
- "SUPER SHIFT, T, exec, ${terminal-exec} sh -c 'ssh nxace'"
+ "SUPER SHIFT, T, exec, ${terminal-exec}'ssh nxace'"
"SUPER, Z, exec, waybar_mode set ' '"
"SUPER, Z, submap, tuda"
"SUPER, U, exec, thunderbird "