added pypal and wallpaper script to config.py

This commit is contained in:
stephan.raabe 2023-02-03 11:43:35 +01:00
parent 7e7aef2efa
commit 57e4e31faa
4 changed files with 18 additions and 6 deletions

View File

@ -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

View File

@ -1,7 +1,5 @@
#!/bin/sh
picom -b &
picom &
xfce4-power-manager &
nitrogen --restore &
dunst &

View File

@ -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()