From 313327abbe7db5bbcf8dc04f35ab1b9c41b8e698 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Tue, 9 Jan 2024 17:08:12 +0100 Subject: [PATCH] moved wallpaper config from nitrogen to qtile --- qtile/.config/qtile/Screens.py | 10 +++++----- qtile/.config/qtile/autostart.sh | 1 - 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/qtile/.config/qtile/Screens.py b/qtile/.config/qtile/Screens.py index 6e87eb5..f655cdb 100644 --- a/qtile/.config/qtile/Screens.py +++ b/qtile/.config/qtile/Screens.py @@ -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)) \ No newline at end of file + screens.append(Screen(top=secondary_bar, wallpaper= "~/Pictures/Wallpapers/gruvbox-like.jpg", wallpaper_mode="fill")) diff --git a/qtile/.config/qtile/autostart.sh b/qtile/.config/qtile/autostart.sh index 74415b8..55bf598 100755 --- a/qtile/.config/qtile/autostart.sh +++ b/qtile/.config/qtile/autostart.sh @@ -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 &