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 #!/bin/sh
# MONITORS # # MONITORS #
if [ $(uname -n) == 'arch-desktop']; then
bspc monitor -d 1 2 3 4 5 6 7 8 9 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 # # CONFIGURATION #

View File

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

View File

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