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:
2026-07-30 17:51:55 -04:00
parent 38b77f94a3
commit 039d15a5e6
18 changed files with 38 additions and 29 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
[Desktop Entry]
Type=Application
Exec=foot -T terminal
Exec=terminal-launcher terminal-fish "/usr/bin/fish"
Icon=foot
Terminal=false
Categories=System;TerminalEmulator;