fix prefix command with hypr or hyprland and update -wm description

This commit is contained in:
gouvinb
2023-11-06 00:05:16 +01:00
parent 1d3f023dc8
commit 808fd032a0
2 changed files with 2 additions and 2 deletions

View File

@@ -607,7 +607,7 @@ func launch(command string, terminal bool) {
args = []string{"exec", elements[cmdIdx]}
cmd = exec.Command(prefixCommand, args...)
} else if *wm == "hyprland" {
prefixCommand = "hyprlandctl"
prefixCommand = "hyprctl"
args = []string{"dispatch", "exec", elements[cmdIdx]}
cmd = exec.Command(prefixCommand, args...)
}