remove xfce4, add polybar
This commit is contained in:
parent
c6343392f8
commit
27eace9c8f
|
@ -2,6 +2,8 @@
|
||||||
sxhkd & # enable keybinds
|
sxhkd & # enable keybinds
|
||||||
|
|
||||||
. $SCRIPTS/comp # mblur
|
. $SCRIPTS/comp # mblur
|
||||||
|
. $SCRIPTS/keeb # caps lock -> ctrl+esc
|
||||||
|
. $SCRIPTS/bar/launch # bar
|
||||||
|
|
||||||
redshift -l 53:0 & # make our eyes less strained
|
redshift -l 53:0 & # make our eyes less strained
|
||||||
|
|
||||||
|
|
|
@ -10,8 +10,8 @@ bspc monitor --reset-desktops 1 2 3 4 5 6 7 8 9 0
|
||||||
bspc config border_width 0
|
bspc config border_width 0
|
||||||
bspc config window_gap 0
|
bspc config window_gap 0
|
||||||
|
|
||||||
# change this to make space for a bar!
|
bspc config top_padding 27
|
||||||
bspc config bottom_padding 37
|
bspc config bottom_padding 0
|
||||||
|
|
||||||
bspc config split_ratio 0.52
|
bspc config split_ratio 0.52
|
||||||
bspc config borderless_monocle true
|
bspc config borderless_monocle true
|
||||||
|
|
|
@ -10,7 +10,6 @@ print_info() {
|
||||||
info "pkg" packages
|
info "pkg" packages
|
||||||
info "shl" shell
|
info "shl" shell
|
||||||
info "win" wm
|
info "win" wm
|
||||||
prin "dsk" "xfce4"
|
|
||||||
info "mem" memory
|
info "mem" memory
|
||||||
|
|
||||||
# info "GPU Driver" gpu_driver # Linux/macOS only
|
# info "GPU Driver" gpu_driver # Linux/macOS only
|
||||||
|
|
|
@ -6,9 +6,9 @@
|
||||||
super + Return
|
super + Return
|
||||||
$HOME/.scripts/term.sh
|
$HOME/.scripts/term.sh
|
||||||
|
|
||||||
# web browser
|
# toggle bar
|
||||||
super + b
|
super + b
|
||||||
/usr/bin/firefox
|
$SCRIPTS/bar/toggle
|
||||||
|
|
||||||
# tiny web browser
|
# tiny web browser
|
||||||
super + s
|
super + s
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
polybar example & # launch bar
|
||||||
|
touch $CONFIG/polybar/visible # create a file to keep track of the bar's visibility
|
||||||
|
# file exists -> bar visible
|
||||||
|
# file doesnt exist -> bar hidden
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
visible=$CONFIG/polybar/visible
|
||||||
|
barheight=27
|
||||||
|
|
||||||
|
if [ -f $visible ]; then
|
||||||
|
bspc config top_padding 0
|
||||||
|
polybar-msg cmd hide
|
||||||
|
rm $visible
|
||||||
|
else
|
||||||
|
bspc config top_padding 27
|
||||||
|
polybar-msg cmd show
|
||||||
|
touch $visible
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue