cleanup wallpaper handling

This commit is contained in:
foosinn 2021-10-08 00:31:48 +02:00
parent 984ec393aa
commit 0ee4a2f862

View file

@ -5,6 +5,8 @@ set $down j
set $up k
set $right l
set $term alacritty
set $wallpaper /home/stefan/Downloads/bg.jpg
set $lock swaylock -t -i $wallpaper --scaling=fill
# echo -- bemenu -H 23 -b -p run --{ff,nf}=#eeeeeee --{tf,hf}=#78dce8 --{tb,fb,nb,hb,sb}=#2d2a2e
@ -21,9 +23,7 @@ set $menu bemenu-run -H 23 -b -p run \
input "1:1:AT_Translated_Set_2_keyboard" xkb_layout de
output * bg /home/stefan/Downloads/bg.jpg fill
#output * bg /home/stefan/Sync/wall/nasa-yZygONrUBe8-unsplash.jpg fill
output DP-1 res 5120x1440
output * bg $wallpaper fill
# user keybinds
bindsym $mod+Return exec $term
@ -33,7 +33,7 @@ floating_modifier $mod normal
bindsym $mod+Shift+c reload
bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit'
bindsym $mod+Shift+p exec keepassxc
bindsym $mod+z exec swaylock -t -i /home/stefan/Downloads/bg.jpg --scaling=fill
bindsym $mod+z exec $lock
bindsym $mod+Up exec light -A 5
bindsym $mod+Down exec light -U 5
bindsym Print exec grim -g "$(slurp)" - | wl-copy -t image/png
@ -150,6 +150,7 @@ include /etc/sway/config.d/*
exec mako --border-color=#cc6666 \
--background-color=#2d2a2eee
exec emacs --daemon
exec swayidle before-sleep "$lock"
set $gnome-schema org.gnome.desktop.interface
exec_always {