-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.xinitrc
More file actions
executable file
·42 lines (30 loc) · 735 Bytes
/
Copy path.xinitrc
File metadata and controls
executable file
·42 lines (30 loc) · 735 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/bin/sh
MUSIC_DIR=$HOME/Music
key_timeout_ms=300
key_repeat_delay_ms=25
screensaver_idle_seconds=300
export GTK_THEME=Adwaita:dark
export GIMP2_DIRECTORY=.config/.gimp-2.8
inputplug -0 -c "xset r rate $key_timeout_ms $key_repeat_delay_ms #"
xcompmgr &
xbanish -i shift -i control -i mod1 -i mod4 &
dwmblocks &
flameshot &
background.sh
old_sha=$(sha1sum $(which dwm))
new_sha=""
xset s $screensaver_idle_seconds &
$HOME/git/xssstate/xsidle.sh slock &
eval $(gnome-keyring-daemon --start)
export SSH_AUTH_SOCK
dbus-update-activation-environment --systemd DISPLAY
while true; do
if [ "$old_sha" != "$new_sha" ]
then
new_sha=$old_sha
MUSIC_DIR="$MUSIC_DIR" dwm
else
exit 0
fi
old_sha=$(sha1sum $(which dwm))
done