mirror of
https://github.com/GRFreire/dotfiles.git
synced 2026-01-10 04:19:38 +00:00
48 lines
907 B
Bash
Executable File
48 lines
907 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Start polkit agent
|
|
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
|
|
|
|
# Enable numlock
|
|
/usr/bin/numlockx
|
|
|
|
# Start compositor
|
|
(sleep 1 && picom --experimental-backends) &
|
|
|
|
# Start notification server
|
|
dunst &
|
|
|
|
# Display background image
|
|
feh --bg-scale --no-fehbg ~/.config/wall.png
|
|
|
|
# Start conky
|
|
conky &
|
|
|
|
# Start network manager applet (systray)
|
|
nm-applet &
|
|
|
|
# Start volume bar
|
|
~/.config/xob/volume.sh &
|
|
|
|
# Set up wacom tablet
|
|
autoxsetwacom
|
|
|
|
# Run xidlehook
|
|
xidlehook \
|
|
`# Don't lock when there's a fullscreen application` \
|
|
--not-when-fullscreen \
|
|
`# Don't lock when there's audio playing` \
|
|
--not-when-audio \
|
|
`# Lock after 5 minutes` \
|
|
--timer 300 \
|
|
'betterlockscreen -l dimblur' \
|
|
'' \
|
|
`# Finally, suspend an hour after it locks` \
|
|
--timer 3600 \
|
|
'systemctl suspend' \
|
|
'' &
|
|
|
|
|
|
# Run all applications in the autostart folder
|
|
dex ~/.config/autostart/*
|