summaryrefslogtreecommitdiff
path: root/.xinitrc
blob: a8b9e2020b45b461cdcda7f95b4e885a28f6d7b6 (plain)
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
internal_keyboard=$(xinput --list | awk '/AT Translated/ { print(substr($7,4)) ; }')
setxkbmap -device $internal_keyboard -model pc104curl-z -layout us -variant cmk_ed_dh -option terminate:ctrl_alt_bksp -option ctrl:nocaps

# This is to catch lock-session from systemd
xss-lock lock &
xset s 300

# No dpms
xset -dpms

# Themeing
xrdb -merge ~/.Xdefaults
xsetroot -cursor_name left_ptr

# Fix screen tearing
#picom --config ~/.config/picom.conf &

# Physical screen management
# [[ -f "$HOME/.umonitor.lock" ]] && rm $HOME/.umonitor.lock
# umonitor --listen --quiet &

# Automatic colour temperature adjustment for Baltimore
redshift -l +39:-76 &

# Network Manager in tray
nm-applet &

# PulseAudio in tray
pasystray &

# The only thing i really need
dwm_status &
exec dwm