mirror of
https://github.com/VectorKappa/dotfiles.git
synced 2025-12-19 16:26:10 +01:00
Modified bspwmrc a bit
This commit is contained in:
@@ -1,13 +1,15 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
gap=7
|
gap=7
|
||||||
PANEL_HEIGHT=27
|
PANEL_HEIGHT=27
|
||||||
|
DOCK_WIDTH=24
|
||||||
export gap
|
export gap
|
||||||
export PANEL_HEIGHT
|
export PANEL_HEIGHT
|
||||||
|
export DOCK_WIDTH
|
||||||
|
|
||||||
#This creates negative padding equal to window gap so that gaps are shown only between windows and not on desktop edges.
|
#This creates negative padding equal to window gap so that gaps are shown only between windows and not on desktop edges.
|
||||||
bspc config window_gap $gap;
|
bspc config window_gap $gap;
|
||||||
bspc config top_padding $(($PANEL_HEIGHT-$gap))
|
bspc config top_padding $(($PANEL_HEIGHT-$gap))
|
||||||
bspc config left_padding -$gap
|
bspc config left_padding $(($DOCK_WIDTH-$gap))
|
||||||
bspc config right_padding -$gap
|
bspc config right_padding -$gap
|
||||||
bspc config bottom_padding -$gap
|
bspc config bottom_padding -$gap
|
||||||
|
|
||||||
@@ -112,6 +114,7 @@ autogap &
|
|||||||
##Autostart apps
|
##Autostart apps
|
||||||
#Keybindings daemon
|
#Keybindings daemon
|
||||||
sxhkd &
|
sxhkd &
|
||||||
|
|
||||||
#Source autostartfile. Uncomment this if you use bspwm-git
|
#Source autostartfile. Uncomment this if you use bspwm-git
|
||||||
. $HOME/.config/bspwm/autostart > /tmp/bspwm-autostart.log 2>&1
|
. $HOME/.config/bspwm/autostart > /tmp/bspwm-autostart.log 2>&1
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user