2024-06-28 22:50:46 +00:00
|
|
|
#!/usr/bin/fish
|
2020-05-15 21:54:40 +00:00
|
|
|
|
2021-08-26 17:45:26 +00:00
|
|
|
if ! test -e ~/.bspwm_no_lock
|
|
|
|
slock &
|
|
|
|
touch ~/.bspwm_no_lock
|
|
|
|
end
|
2024-06-30 22:41:49 +00:00
|
|
|
|
|
|
|
if test $DISPLAY = ":0"
|
|
|
|
xset s off -dpms
|
2021-08-26 17:45:26 +00:00
|
|
|
xinput set-prop 'Logitech USB Receiver' 'libinput Accel Profile Enabled' 0 1 0
|
2021-12-28 23:03:49 +00:00
|
|
|
end
|
2021-09-24 18:28:26 +00:00
|
|
|
|
2020-05-15 21:54:40 +00:00
|
|
|
sxhkd &
|
2020-11-15 05:23:44 +00:00
|
|
|
|
2024-06-30 22:41:49 +00:00
|
|
|
if test $DISPLAY = ":0"
|
2024-07-04 22:25:22 +00:00
|
|
|
picom -b
|
2024-06-30 22:41:49 +00:00
|
|
|
else
|
|
|
|
picom -b --backend xrender
|
|
|
|
end
|
|
|
|
|
|
|
|
#wmname LG3D
|
2020-11-15 05:23:44 +00:00
|
|
|
|
2024-06-30 22:41:49 +00:00
|
|
|
if test $DISPLAY = ":0"
|
2024-07-03 04:22:34 +00:00
|
|
|
killall -q polybar pasystray barrier barrierc
|
2024-06-30 22:41:49 +00:00
|
|
|
barrier &
|
|
|
|
keepassxc &
|
2024-07-04 22:34:22 +00:00
|
|
|
~/.fehbg
|
2024-07-04 22:25:22 +00:00
|
|
|
else
|
|
|
|
feh --no-fehbg --bg-scale '/home/m/sync/maelstrom.jpg'
|
2024-06-30 22:41:49 +00:00
|
|
|
end
|
|
|
|
|
2021-02-01 00:30:32 +00:00
|
|
|
polybar m-bar &
|
|
|
|
pasystray &
|
|
|
|
|
2020-05-15 21:54:40 +00:00
|
|
|
bspc monitor -d I II III IV V VI VII
|
|
|
|
|
2020-06-08 18:31:22 +00:00
|
|
|
bspc config border_width 2
|
2021-12-28 22:45:10 +00:00
|
|
|
bspc config window_gap 10
|
|
|
|
bspc config top_padding -10
|
2020-05-15 21:54:40 +00:00
|
|
|
|
2020-06-08 18:31:22 +00:00
|
|
|
bspc config split_ratio 0.52
|
2020-11-06 00:49:16 +00:00
|
|
|
bspc config borderless_monocle false
|
|
|
|
bspc config gapless_monocle false
|
2020-06-08 18:31:22 +00:00
|
|
|
|
2024-07-03 04:23:48 +00:00
|
|
|
bspc config focused_border_color '#CBC093'
|
2020-05-15 21:54:40 +00:00
|
|
|
|
2022-02-20 17:11:41 +00:00
|
|
|
bspc rule -a 'firefox:*:Picture-in-Picture' sticky=on
|
2022-01-18 17:52:43 +00:00
|
|
|
bspc rule -a 'origin.exe:*' state=floating
|
2023-02-04 03:14:56 +00:00
|
|
|
bspc rule -a 'osu!:*' state=floating rectangle=1600x1200
|
2023-02-08 07:06:58 +00:00
|
|
|
bspc rule -a 'mpv:*' rectangle=640x360+1270+710
|
|
|
|
bspc rule -a 'streamlink-twitch-gui:*' state=floating
|
2022-04-19 05:51:49 +00:00
|
|
|
# bspc rule -a 'mpv:*' sticky=on
|
2020-05-15 21:54:40 +00:00
|
|
|
# bspc rule -a Gimp desktop='^8' state=floating follow=on
|
|
|
|
# bspc rule -a Chromium desktop='^2'
|
|
|
|
# bspc rule -a mplayer2 state=floating
|
|
|
|
# bspc rule -a Kupfer.py focus=on
|
|
|
|
# bspc rule -a Screenkey manage=off
|