refactor: extract terminal launch logic into shared script
Add terminal-launcher script as a single entry point for launching foot-based terminals with a given class and command. Migrate all .desktop files to use it instead of inline foot invocations. Simplify hyprland keybindings by replacing inline focus_or_launch with hl.dsp.exec_cmd
This commit is contained in:
@@ -85,6 +85,7 @@ dotfiles.default_mode = "symlink-each"
|
||||
"~/.local/bin/hyprland-keybindings" = { source = "script/hyprland-keybindings", mode = "symlink" }
|
||||
"~/.local/bin/hyprland-fetch-client" = { source = "script/hyprland-fetch-client", mode = "symlink" }
|
||||
"~/.local/bin/hyprland-focus-client" = { source = "script/hyprland-focus-client", mode = "symlink" }
|
||||
"~/.local/bin/terminal-launcher" = { source = "script/terminal-launcher", mode = "symlink" }
|
||||
|
||||
"~/.local/bin/battery" = { source = "script/battery", mode = "symlink" }
|
||||
# "~/.config/bin/ec" = { source = "script/ec", mode = "symlink" }
|
||||
|
||||
Reference in New Issue
Block a user