-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstartups
More file actions
executable file
·43 lines (29 loc) · 840 Bytes
/
startups
File metadata and controls
executable file
·43 lines (29 loc) · 840 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
43
#!/usr/bin/env bash
# quick programs to run on startup
# remove all leftover nohup outputs
fd -H "nohup.out" -x rm '{}' &
firefox &
# remove duplicates from history file
# gawk -i inplace '!x[$0]++' "${HISTFILE}"
keepassxc &
notify-send "Welcome, Juli!"
# enable numslock
numlockx &
# remap capslock
pgrep '[x]cape' && killall -9 xcape
'{ hash xcape >/dev/null }' 2>&1 && xcape -e 'Control_L=Escape' -t 100 &
# remove active tag from completed TODO: items
# the "/- \[ \]!" means "ignore lines starting with this pattern"
sed -i '/- \[ \]/!s/<\!--a-->//' "${HOME}/lib/TODO.md"
signal-desktop &
tutanota-desktop &
# kill cursor
unclutter 3 &
# launch polybar
"${XDG_CONFG_HOME}/polybar/scripts/launch.sh"
# smoother cursors
xset r rate 500 45
# lock screen after 10 minutes of inactivity
xset s on
xset s 600
xss-lock physlock