remove unused function

This commit is contained in:
piotr
2023-11-22 01:13:48 +01:00
parent d66066c3b6
commit 8408c669ef

View File

@@ -114,14 +114,6 @@ func defaultTermIfBlank(s, fallback string) string {
return s
}
func defaultStringIfBlank(s, fallback string) string {
s = strings.TrimSpace(s)
if s == "" {
return fallback
}
return s
}
func validateWm() {
if !(*wm == "sway" || *wm == "hyprland" || *wm == "Hyprland") && *wm != "" {
*wm = ""