Update bspwm things
This commit is contained in:
parent
b6ce628e09
commit
622ebea2b0
3 changed files with 10 additions and 13 deletions
|
|
@ -7,8 +7,8 @@ bspc config split_ratio 0.5
|
||||||
bspc config single_monocle true
|
bspc config single_monocle true
|
||||||
bspc config borderless_monocle true
|
bspc config borderless_monocle true
|
||||||
bspc config gapless_monocle true
|
bspc config gapless_monocle true
|
||||||
bspc config focus_by_distance true
|
|
||||||
bspc config focus_follows_pointer true
|
bspc config focus_follows_pointer true
|
||||||
|
bspc config click_to_focus true
|
||||||
|
|
||||||
bspc config initial_polarity second_child
|
bspc config initial_polarity second_child
|
||||||
bspc config remove_unplugged_monitors true
|
bspc config remove_unplugged_monitors true
|
||||||
|
|
@ -21,8 +21,7 @@ bspc rule -a Slack desktop='^8'
|
||||||
bspc rule -a TelegramDesktop desktop='^7'
|
bspc rule -a TelegramDesktop desktop='^7'
|
||||||
bspc rule -a Liferea desktop='^6'
|
bspc rule -a Liferea desktop='^6'
|
||||||
|
|
||||||
pulseaudio
|
pulseaudio --check || pulseaudio
|
||||||
xss-lock -- i3lock -e -i ~/images/lockscreen.png &
|
|
||||||
nitrogen --restore &
|
nitrogen --restore &
|
||||||
redshift &
|
redshift &
|
||||||
ps -u jdkaplan | grep -oq panel && pkill panel; $XDG_CONFIG_HOME/panel/panel &
|
ps -u jdkaplan | grep -oq panel && pkill panel; $XDG_CONFIG_HOME/panel/panel &
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,8 @@ PANEL_FONT_FAMILY='-misc-inputmononarrow-medium-r-*-*-12-*-*-*-*-*-*-*'
|
||||||
COLOR_FOREGROUND='#FFAAAAAA'
|
COLOR_FOREGROUND='#FFAAAAAA'
|
||||||
COLOR_BACKGROUND='#FF222222'
|
COLOR_BACKGROUND='#FF222222'
|
||||||
|
|
||||||
|
PANEL_WM_NAME='bar'
|
||||||
|
|
||||||
if [ $(pgrep -cx panel) -gt 1 ] ; then
|
if [ $(pgrep -cx panel) -gt 1 ] ; then
|
||||||
printf "%s\n" "The panel is already running." >&2
|
printf "%s\n" "The panel is already running." >&2
|
||||||
exit 1
|
exit 1
|
||||||
|
|
@ -17,7 +19,7 @@ bspc config bottom_padding $PANEL_HEIGHT
|
||||||
|
|
||||||
$XDG_CONFIG_HOME/panel/panel_bar.py | lemonbar -g x$PANEL_HEIGHT -f "$PANEL_FONT_FAMILY" -F "$COLOR_FOREGROUND" -B "$COLOR_BACKGROUND" -b | while read -r line; do sh -c "$line"; done &
|
$XDG_CONFIG_HOME/panel/panel_bar.py | lemonbar -g x$PANEL_HEIGHT -f "$PANEL_FONT_FAMILY" -F "$COLOR_FOREGROUND" -B "$COLOR_BACKGROUND" -b | while read -r line; do sh -c "$line"; done &
|
||||||
|
|
||||||
wid=$(xdo id -a bar)
|
wid=$(xdo id -a "$PANEL_WM_NAME")
|
||||||
tries_left=20
|
tries_left=20
|
||||||
while [ -z "$wid" -a "$tries_left" -gt 0 ] ; do
|
while [ -z "$wid" -a "$tries_left" -gt 0 ] ; do
|
||||||
sleep 0.05
|
sleep 0.05
|
||||||
|
|
|
||||||
|
|
@ -39,10 +39,6 @@ super + shift + q
|
||||||
super + m
|
super + m
|
||||||
bspc desktop -l next
|
bspc desktop -l next
|
||||||
|
|
||||||
# if the current node is automatic, send it to the last manual, otherwise pull the last leaf
|
|
||||||
super + y
|
|
||||||
bspc query -N -n focused.automatic && bspc node -n last.!automatic || bspc node last.leaf -n focused
|
|
||||||
|
|
||||||
# swap the current node and the biggest node
|
# swap the current node and the biggest node
|
||||||
super + g
|
super + g
|
||||||
bspc node -s biggest
|
bspc node -s biggest
|
||||||
|
|
@ -153,8 +149,8 @@ super + @button{1-3}
|
||||||
XF86MonBrightness{Up,Down}
|
XF86MonBrightness{Up,Down}
|
||||||
xbacklight -{inc,dec} 10
|
xbacklight -{inc,dec} 10
|
||||||
|
|
||||||
# XF86Display
|
# XF86Display # F7
|
||||||
# XF86Tools
|
# XF86Tools # F9
|
||||||
# XF86Search
|
# XF86Search # F10
|
||||||
# XF86LaunchA
|
# XF86LaunchA # F11
|
||||||
# XF86Explorer
|
# XF86Explorer # F12
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue