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
|
client.unfocused #333333 #222222 #888888 #292d2e #eeeeee
|
||||||
|
|
||||||
# Startup Applications
|
# 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 "lxpolkit &" # start authentication agent (prompt)
|
||||||
exec --no-startup-id "xcompmgr &" # startup composition manager (transparency)
|
exec --no-startup-id "xcompmgr &" # startup composition manager (transparency)
|
||||||
exec --no-startup-id "polybar" # status bar
|
exec --no-startup-id "polybar" # status bar
|
||||||
|
@ -1,9 +1,16 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Load screen layout script if it exists
|
||||||
script="$HOME/.screenlayout/layout.sh"
|
script="$HOME/.screenlayout/layout.sh"
|
||||||
|
|
||||||
if [ -f "$script" ]; then
|
if [ -f "$script" ]; then
|
||||||
$script
|
$script
|
||||||
fi
|
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"
|
||||||
|
3
.xinitrc
3
.xinitrc
@ -28,7 +28,6 @@ if [ -d /etc/X11/xinit/xinitrc.d ]; then
|
|||||||
unset f
|
unset f
|
||||||
fi
|
fi
|
||||||
|
|
||||||
feh --bg-scale $HOME/Pictures/wallpaper.jpg &
|
|
||||||
$HOME/.screenlayout/launch.sh &
|
|
||||||
/usr/libexec/polkit-gnome-authentication-agent-1 &
|
/usr/libexec/polkit-gnome-authentication-agent-1 &
|
||||||
|
$HOME/.screenlayout/launch.sh &
|
||||||
exec dbus-launch --exit-with-session i3
|
exec dbus-launch --exit-with-session i3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user