added config for desktop

nixos
Moritz Böhme 2021-04-19 11:53:49 +02:00
parent 23b4155684
commit 3f966f378f
3 changed files with 10 additions and 5 deletions

View File

@ -1,8 +1,12 @@
#!/bin/sh
# MONITORS #
bspc monitor -d 1 2 3 4 5 6 7 8 9
if [ $(uname -n) == 'arch-desktop']; then
bspc monitor HDMI-0 -d 6 7 8 9 0
bspc monitor HDMI-1 -d 1 2 3 4 5
else
bspc monitor -d 1 2 3 4 5 6 7 8 9
fi
# CONFIGURATION #

View File

@ -89,8 +89,8 @@ super + {o,i}
bspc wm -h on
# focus or send to the given desktop
alt + {_,shift + }{1-9}
bspc {desktop -f,node -d} '{1-9}'
alt + {_,shift + }{1-9,0}
bspc {desktop -f,node -d} '{1-9,10}'
#
# preselect

View File

@ -35,8 +35,9 @@ if [ -d /etc/X11/xinit/xinitrc.d ] ; then
done
unset f
fi
# Automatic brightness controll
clight &
[[ $(uname -n) == "arch-laptop" ]] && clight &
# Set cursor
xsetroot -cursor_name left_ptr