Last active
January 29, 2017 21:51
-
-
Save 0x17de/185a3b7179ff8ffb305e8cac50469ea8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# IMPORTANT: Rather put this script as ~/.startup.sh | |
# and call this script from your ~/.xsessionrc | |
# The .xsessionrc may look like this: | |
# | |
# ./.startup.sh | |
# | |
function init() { | |
xsetroot -cursor_name left_ptr& | |
xset m 9 5 | |
xset -dpms | |
xset dpms 0 0 0 | |
xset s off | |
#compton -b --config ~/.config/compton.conf | |
feh --no-fehbg --bg-fill ~/.config/bg.jpg & | |
#feh --no-fehbg --bg-fill | |
urxvtd& | |
#zim& | |
redshift -l 53:13& #BERLIN | |
} | |
function run() { | |
while [ ! killall -0 i3 ]; do | |
sleep 1s | |
done | |
init | |
} | |
run & | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment