main
maia arson crimew 2022-06-02 02:40:27 +02:00
parent 0fb1aa2386
commit bd74f7ebdb
2 changed files with 14 additions and 8 deletions

View File

@ -1,23 +1,21 @@
#! /bin/sh
# set primary monitor
# set primary monitor and lower resolution
xrandr --output HDMI-A-0 --mode 2560x1440 --primary --right-of eDP
# start sxhkd
pgrep -x sxhkd > /dev/null || sxhkd &
bspc monitor eDP -d 1 2 3 4 5
bspc monitor eDP -d 1 2 3 4 5
bspc monitor HDMI-A-0 -d 6 7 8 9 10
bspc config border_width 4
bspc config window_gap 15
bspc config split_ratio 0.5
bspc config borderless_monocle true
bspc config gapless_monocle true
# theme
hsetroot -solid '#181926'
bspc config normal_border_color \#b4befe
@ -26,13 +24,17 @@ bspc config active_border_color \#cba6f7
bspc config urgent_border_color \#cba6f7
bspc config presel_feedback_color \#cba6f7
bspc rule -a discord -o node=@^1:^1:/2 desktop='1' follow=off focus=off
bspc rule -a Element -o node=@^1:^1:/1 desktop='1'
# rules
bspc rule -a discord -o node=@^1:^1:/2 desktop='1' follow=off focus=off
bspc rule -a Element -o node=@^1:^1:/1 desktop='1'
bspc rule -a TelegramDesktop -o node=@^1:^1:/1 desktop='1'
bspc rule -a firefox desktop='6' state=tiled follow=off
bspc rule -a REAPER desktop='10' follow=off
bspc rule -a Pavucontrol state=floating rectangle=600x800+0+0 center=on
bspc rule -a 1Password state=floating rectangle=1000x900+0+0 center=on
# floating windows
bspc rule -a Pavucontrol state=floating rectangle=600x800+0+0 center=on
bspc rule -a 1Password state=floating rectangle=1000x900+0+0 center=on
bspc rule -a Org.gnome.Nautilus state=floating rectangle=1200x900+0+0 center=on
# startup
picom --experimental-backends &

View File

@ -26,6 +26,10 @@ alt + Tab
super + r
rofi -show run
# lock screen
super + x
imlib2_grab /tmp/betterlock.jpg && betterlockscreen -u /tmp/betterlock.jpg --span --fx pixel && betterlockscreen -l pixel
# make sxhkd reload its configuration files:
super + Escape
pkill -USR1 -x sxhkd