remove setting XDG_CURRENT_DESKTOP as dafault -wm value; allow capitalized Hyprland value
This commit is contained in:
2
tools.go
2
tools.go
@@ -585,7 +585,7 @@ func launch(command string, terminal bool) {
|
||||
cmd = exec.Command(prefixCommand, args...)
|
||||
} else if *wm == "sway" {
|
||||
cmd = exec.Command("swaymsg", "exec", strings.Join(elements, " "))
|
||||
} else if *wm == "hyprland" {
|
||||
} else if *wm == "hyprland" || *wm == "Hyprland" {
|
||||
cmd = exec.Command("hyprctl", "dispatch", "exec", strings.Join(elements, " "))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user