nixos/config/bspwm/bspwmrc

50 lines
1 KiB
Text
Raw Normal View History

2023-10-05 08:09:41 +04:00
#!/bin/sh
pgrep -x sxhkd > /dev/null || sxhkd &
2024-07-05 01:07:06 +04:00
bspc monitor -d 1 2 3 4 5 6
#bspc monitor -d web dev irc media game
2024-07-05 00:48:08 +04:00
if [[ $(xrandr -q | grep 'HDMI-0 connected') ]]; then
2024-07-05 00:58:23 +04:00
bspc monitor HDMI-0 -d 6 7 8
2024-07-05 01:07:06 +04:00
bspc wm -O DP-0 HDMI-0
2024-07-05 00:48:08 +04:00
fi
2023-08-15 21:13:40 +04:00
bspc config border_width 3
2023-08-15 15:26:45 +04:00
bspc config window_gap 15
2024-01-29 11:43:53 +04:00
#bspc config top_padding 50
bspc config split_ratio 0.52
bspc config borderless_monocle true
bspc config gapless_monocle true
2023-08-15 01:30:43 +04:00
bspc rule -a Gimp desktop='^5' state=floating follow=on
bspc rule -a Chromium desktop='^2'
2023-08-15 02:20:24 +04:00
bspc rule -a discord desktop='^3' follow=off focus=off
bspc rule -a mplayer2 state=floating
bspc rule -a Kupfer.py focus=on
bspc rule -a Screenkey manage=off
2023-08-15 01:34:51 +04:00
# cursor fix
2023-07-18 17:49:36 +04:00
xsetroot -cursor_name left_ptr
2023-10-05 08:09:41 +04:00
# picom
2024-01-29 12:17:47 +04:00
/home/sako/.config/picom/startpicom &
2023-08-15 01:10:35 +04:00
2023-08-15 01:34:51 +04:00
# background
2023-08-14 22:31:43 +04:00
feh --bg-scale /home/sako/background.png &
2023-08-15 21:12:17 +04:00
# polybar
/home/sako/.config/polybar/startpolybar &
2023-08-15 01:34:51 +04:00
# applets
nm-applet &
blueman-applet &
2023-08-15 01:34:51 +04:00
# actual software
2024-01-29 11:30:09 +04:00
bitwarden &
2023-07-12 02:06:16 +04:00
flameshot &
2024-01-29 11:50:27 +04:00
nextcloud &
2024-01-29 19:25:55 +04:00
telegram-desktop -autostart &
2023-07-12 02:06:16 +04:00