fixed hyprland + others...

This commit is contained in:
2026-06-24 23:49:31 -05:00
parent f4572eaaad
commit b887f7ad65
12 changed files with 101 additions and 76 deletions
+17 -23
View File
@@ -1,26 +1,20 @@
local function wallpaper_util(wallpaper_path)
local ext = wallpaper_path:lower():match("^.+%.([a-z0-9]+)$")
if ext == "mp4" or ext == "mkv" or ext == "webm" or ext == "mov" then
return string.format(
'mpvpaper ALL "%s" --mpv-options="loop-file=inf no-audio"',
wallpaper_path
)
end
return string.format(
'mpvpaper '*' "%s"',
wallpaper_path
)
end
local ext = wallpaper_path:lower():match("^.+%.([a-z0-9]+)$")
if ext == "mp4" or ext == "mkv" or ext == "webm" or ext == "mov" then
return string.format('mpvpaper ALL "%s" --mpv-options="loop-file=inf no-audio"', wallpaper_path)
end
return string.format('awww-daemon & awww img "%s"', wallpaper_path)
end
return {
terminal = "ghostty",
file_manager = "dolphin",
screen_shot_cmd = "hyprshot -m region -o ~/Pictures/Screenshots",
menu = "rofi -show drun",
wallpaper_cmd = wallpaper_util("/home/river/Pictures/Wallpapers/bg.png"),
--wallpaper_cmd = wallpaper_util("/home/river/Videos/Wallpapers/bg.mp4"),
browser = "brave",
bar_cmd = "waybar"
}
terminal = "ghostty",
file_manager = "dolphin",
screen_shot_cmd = "hyprshot -m region -o ~/Pictures/Screenshots",
menu = "rofi -show drun",
wallpaper_cmd = wallpaper_util("/home/river/Pictures/Wallpapers/bg.png"),
--wallpaper_cmd = wallpaper_util("/home/river/Videos/Wallpapers/bg.mp4"),
browser = "brave",
bar_cmd = "waybar",
}