various changes

This commit is contained in:
2021-02-26 09:06:18 +01:00
parent 3a78b16b79
commit 5ed3bbe122
28 changed files with 42 additions and 55 deletions

View File

@ -72,6 +72,8 @@ postrun() { # Stuff to run to clean up.
setbg # Fix background if screen size/arangement has changed.
remaps # Re-remap keys if keyboard added (for laptop bases)
{ killall dunst ; setsid dunst & } >/dev/null 2>&1 # Restart dunst to ensure proper location on screen
xrandr --screen 0 | grep ' connected' | grep -v '^\s*$' | sed 's/ primary//' | cut -d ' ' -f3 > '/tmp/dims'
}
# Get all possible displays