Fixed hyprland shortcuts

This commit is contained in:
2026-05-16 12:52:09 +02:00
parent 21bf6758c5
commit 34579d8f31
+3 -1
View File
@@ -420,8 +420,10 @@ fn cmd_shortcut(shortcut: &str) {
let shortcut_full = format!("{APP_ID}:{shortcut}");
println!("{GREEN}[INFO]{NC} Triggering shortcut: {shortcut_full}");
let dispatch_arg = format!("hl.dsp.global(\"{shortcut_full}\")");
let status = Command::new("hyprctl")
.args(["dispatch", "global", &shortcut_full])
.args(["dispatch", &dispatch_arg])
.status();
match status {