-
Notifications
You must be signed in to change notification settings - Fork 6
/
startup
executable file
·39 lines (33 loc) · 1007 Bytes
/
startup
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
#!/bin/bash
# Needed by workrave
mkdir -p /dev/shm/workrave-francois
# Xorg tweaks
xautolock -time 30 -locker "i3lock -c 000000 -f" &
xset s blank -dpms
setxkbmap -option caps:ctrl_modifier
# Desktop environment
/usr/bin/systemctl --user import-environment DISPLAY
/usr/libexec/gsd-xsettings &
/usr/bin/systemctl start --user ssh-agent.service
eval "$(ssh-agent)" > /dev/null
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &
gnome-screensaver &
nm-applet &
/usr/bin/systemctl start --user dunst
~/.fehbg
/usr/bin/aa-notify -p
/usr/bin/pasystray &
/usr/bin/smart-notifier &
/usr/libexec/usbauth-notifier/usbauth-notifier &
/usr/bin/redshift-gtk &
/usr/bin/xcompmgr &
/usr/bin/opensnitch-ui &
# Vacuuming SQLite databases
find "$HOME/.mozilla/" \( -name "*.sqlite" \) -execdir sqlite3 {} "vacuum" \;
# Cleanup unnecessary files
rm -rf "$HOME/.cache/chromium"
rm -rf "$HOME/.local/share/Trash"
# Applications
syncthing -no-browser &
ionice -n7 akregator &
notify-send "Startup complete."