moved wallpaper config from nitrogen to qtile

This commit is contained in:
paul-loedige
2024-01-09 17:08:12 +01:00
parent 1b828968c1
commit 313327abbe
2 changed files with 5 additions and 6 deletions
+5 -5
View File
@@ -20,14 +20,14 @@ max_width = max(screen_resolutions, key=lambda res: res[0])[0]
defined_main_window = False
for width, height in screen_resolutions:
if width == main_screen_res[0] and height == main_screen_res[1]:
screens.append(Screen(top=main_bar))
screens.append(Screen(top=main_bar, wallpaper= "~/Pictures/Wallpapers/gruvbox-like.jpg", wallpaper_mode="fill"))
defined_main_window = True
elif width == top_screen_res[0] and height == top_screen_res[1]:
screens.append(Screen(bottom=top_bar))
screens.append(Screen(bottom=top_bar, wallpaper="~/Pictures/Wallpapers/wallpaperflare.com_wallpaper.jpg", wallpaper_mode="fill"))
elif width < height:
screens.append(Screen(top=left_bar))
screens.append(Screen(top=left_bar, wallpaper="~/Pictures/Wallpapers/gruvbox-like-left.jpg", wallpaper_mode="fill"))
elif width == max_width and not defined_main_window:
screens.append(Screen(top=main_bar))
screens.append(Screen(top=main_bar, wallpaper= "~/Pictures/Wallpapers/gruvbox-like.jpg", wallpaper_mode="fill"))
defined_main_window = True
else:
screens.append(Screen(top=secondary_bar))
screens.append(Screen(top=secondary_bar, wallpaper= "~/Pictures/Wallpapers/gruvbox-like.jpg", wallpaper_mode="fill"))