feat: update polybar, bspwm and sxhkd configs for PC and only polybar for Laptop

This commit is contained in:
2025-09-16 20:42:29 +04:00
parent f9f27dbe33
commit a61455a7cc
7 changed files with 97 additions and 39 deletions

View File

@@ -1,14 +1,14 @@
#!/bin/sh
pgrep -x pipewire > /dev/null || pipewire &
export PRIMARY_DISPLAY="$(xrandr | awk '/ primary/{print $1}')"
pipewire &
xhost +si:localuser:$USER &
xmodmap ~/.Xmodmap &
bspc monitor DVI-D-0 -d I II III IV V
bspc monitor HDMI-0 -d VI VII VIII IX X
bspc monitor HDMI-0 -d I II III
bspc monitor DP-0 -d IV V VI
bspc config border_width 3
bspc config window_gap 3
@@ -23,18 +23,16 @@ bspc config pointer_action3 resize_corner
bspc rule -a scratch sticky=on state=floating focus=on
bspc config split_ratio 0.52
bspc config active_border_color "#E0A3B6"
bspc config normal_border_color "#8393A1"
bspc config focused_border_color "#93D4C5"
pgrep -x polybar > /dev/null || polybar &
pgrep -x sxhkd > /dev/null || sxhkd &
pgrep -x xidlehook > /dev/null || xidlehook --detect-sleep --not-when-fullscreen --not-when-audio --timer 300 'betterlockscreen -l' '' --timer 1200 'sudo zzz' '' &
pgrep -x xmousepaste > /dev/null || xmousepasteblock &
pgrep xmousepaste > /dev/null || xmousepasteblock &
pgrep -x polybar > /dev/null || exec ~/.config/polybar/launch.sh &
xsetroot -cursor_name left_ptr
picom &
feh --bg-fill ~/.bg/bg_5.png &
feh --bg-fill ~/.bg/bg_5_1.png &
dunst &