diff --git a/alacritty/alacritty.yml b/alacritty/alacritty.yml index 3b00045..d11ce46 100644 --- a/alacritty/alacritty.yml +++ b/alacritty/alacritty.yml @@ -185,11 +185,11 @@ font: #draw_bold_text_with_bright_colors: false # Colors (Tomorrow Night) -colors: +# colors: # Default colors - primary: + # primary: # background: '#1d1f21' - background: '#000000' + # background: '#000000' # foreground: '#c5c8c6' # Bright and dim foreground colors diff --git a/qtile/__pycache__/config.cpython-310.pyc b/qtile/__pycache__/config.cpython-310.pyc index 6d69111..8cd0136 100644 Binary files a/qtile/__pycache__/config.cpython-310.pyc and b/qtile/__pycache__/config.cpython-310.pyc differ diff --git a/qtile/autostart.sh b/qtile/autostart.sh index fc6f00a..ecb986b 100755 --- a/qtile/autostart.sh +++ b/qtile/autostart.sh @@ -1,7 +1,5 @@ #!/bin/sh -picom -b & +picom & xfce4-power-manager & -nitrogen --restore & dunst & - diff --git a/qtile/config.py b/qtile/config.py index 3c2cc53..b5d501e 100644 --- a/qtile/config.py +++ b/qtile/config.py @@ -42,6 +42,15 @@ from libqtile.dgroups import simple_key_binder mod = "mod4" terminal = guess_terminal("alacritty") browser = "chromium" +wp = "/home/raabe/wallpaper/default.jpg" + +# CUSTOM FUNCTIONS + +def wallpaper(): + wp = "/home/raabe/wallpaper/" + "deer_in_pine_forest.jpg" + for screen in qtile.screens: + screen.cmd_set_wallpaper(wp, 'fill') + os.system('wal -n -i ' + wp) # KEYBINDINGS @@ -158,6 +167,8 @@ extension_defaults = widget_defaults.copy() screens = [ Screen( + wallpaper=wp, + wallpaper_mode="stretch", top=bar.Bar( [ # widget.CurrentLayout(), @@ -244,3 +255,6 @@ def autostart(): home = os.path.expanduser('~/.config/qtile/autostart.sh') subprocess.Popen([home]) +@hook.subscribe.startup +def autostart(): + wallpaper()