Fixed hyprland shortcuts
This commit is contained in:
+3
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user