-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpost_i3_setup.sh
22 lines (19 loc) · 1.03 KB
/
post_i3_setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# https://askubuntu.com/questions/763994/screen-times-out-in-i3-wm
# You can disable the screen saver feature with:
# xset s off
# The power saving feature can be turned off with
#
# xset -dpms
# With these settings the screen should no longer turn off or blank automatically until you reboot your machine.
#
# If your main concern is that 5 minutes are to short, you can also just raise the limits for that. To enable the screen saver only after 15 minutes (900 seconds) idle time, set the timeout accordingly with
#
# xset s 900
# To turn off the monitor after 20 minutes of idling run
#
# xset dpms 0 0 1200
# The two 0 values disable standby and suspend respectively, while 1200 sets the timeout for off to 20 minutes. (I usually do not use standby or suspend because there seems to be no difference between the three modes on modern TFT-displays.) Setting these values also enables DPMS, so you do not need to explicitly run xset +dpms.
xset s 1800
xset dpms 0 0 1800
echo "installing i3-resurrect"
pip3 install --user --upgrade i3-resurrect