moved wallpaper config from nitrogen to qtile
This commit is contained in:
@@ -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"))
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
#!/bin/sh
|
||||
sleep 1&
|
||||
nitrogen --restore &
|
||||
/usr/lib/geoclue-2.0/demos/agent&
|
||||
bash .screenlayout/layout.sh &
|
||||
pulseaudio-ctl set 50 &
|
||||
|
||||
Reference in New Issue
Block a user