Updated the screen layout/wallpaper config
This commit is contained in:
parent
057348f9ec
commit
2470afaefc
@ -165,8 +165,6 @@ client.focused_inactive #333333 #222222 #888888 #292d2e #eeeeee
|
||||
client.unfocused #333333 #222222 #888888 #292d2e #eeeeee
|
||||
|
||||
# Startup Applications
|
||||
exec --no-startup-id "$HOME/.screenlayout/launch.sh" # load xrandr screen layout
|
||||
exec --no-startup-id "xmodmap $HOME/.Xmodmap" # update capslock key
|
||||
exec --no-startup-id "lxpolkit &" # start authentication agent (prompt)
|
||||
exec --no-startup-id "xcompmgr &" # startup composition manager (transparency)
|
||||
exec --no-startup-id "polybar" # status bar
|
||||
|
@ -1,9 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Load screen layout script if it exists
|
||||
script="$HOME/.screenlayout/layout.sh"
|
||||
|
||||
if [ -f "$script" ]; then
|
||||
$script
|
||||
fi
|
||||
|
||||
feh --bg-scale $HOME/Pictures/wallpaper.jpg
|
||||
# Dynamically load background with feh
|
||||
feh_command="feh --bg-fill"
|
||||
while read resolution; do
|
||||
feh_command="$feh_command ~/Pictures/wallpaper-$resolution.jpg"
|
||||
done < <(xrandr | grep ' connected' | grep -oP '[0-9]+x[0-9]+\+[0-9]+\+[0-9]+' | cut -d '+' -f 1)
|
||||
|
||||
echo "$feh_command"
|
||||
eval "$feh_command"
|
||||
|
Loading…
x
Reference in New Issue
Block a user