commit 5ae044580b4de9e1014e9a60bf9e1cb695738ca1
parent e06409ff8b00b288af3c47e9f15e6190dc258e0f
Author: jacobsGit <JacobDoesLinux@protonmail.com>
Date: Tue, 21 Jan 2020 00:12:14 -0800
lemonbar stuff
Diffstat:
3 files changed, 31 insertions(+), 19 deletions(-)
diff --git a/bspwm/.config/bspwm/bspwmrc b/bspwm/.config/bspwm/bspwmrc
@@ -4,17 +4,33 @@
+# init proccesses
+xrdb -load ~/.Xresources
+killall ncmpcpp
+st -c ncmpcpp -e ncmpcpp &
+killall lemonbar
+lemon &
+
+
+
+
# init workspaces
bspc monitor -d general browsing writing coding video editing music
# padding and gaps
-bspc config left_padding 3
-bspc config right_padding 3
-bspc config top_padding 3
-bspc config bottom_padding 25
-bspc config window_gap 3
+bspc config left_padding 0
+bspc config right_padding 0
+bspc config top_padding 0
+bspc config bottom_padding 22
+bspc config window_gap 8
+
+ # monocle
+ bspc config left_monocle_padding 0
+ bspc config right_monocle_padding 0
+ bspc config top_monocle_padding 0
+ bspc config bottom_monocle_padding 0
@@ -31,7 +47,7 @@ bspc config split_ratio 0.5
# monocle settings
-bspc config single_monocle false
+bspc config single_monocle true
bspc config borderless_monocle false
bspc config gapless_monocle true
@@ -42,12 +58,3 @@ bspc rule --add mpv state=fullscreen
bspc rule --add Zathura state=tiled
bspc rule -a ncmpcpp desktop='^7' state=floating rectangle=820x500+50+250
bspc rule -a qutebrowser desktop='^2' state=fullscreen follow=on
-
-
-
-# init proccesses
-xrdb -load ~/.Xresources
-killall ncmpcpp
-st -c ncmpcpp -e ncmpcpp &
-killall lemonbar
-lemon &
diff --git a/lemonbar/bin/lemon b/lemonbar/bin/lemon
@@ -6,12 +6,14 @@
# kill lemonbar if it's running
if [ -n "$( pidof -s lemonbar )" ]; then
killall lemonbar
- bspc config bottom_padding 3
+ bspc config bottom_padding 0
exit 0
+else
+ bspc config bottom_padding 22
fi
-bspc config bottom_padding 25
+
bspwm_workspace(){
printf '%%{F#f5a}'
bspc query --desktops --desktop --names
@@ -60,6 +62,7 @@ while true; do
echo "%{l} $atime $ws%{c}$mpd %{r}$adate $bat "
sleep 0.25
done | lemonbar\
+ -n lemonbar\
-f Roboto Medium\
-F '#ffffff'\
-B '#000000'\
diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc
@@ -1,6 +1,6 @@
# RELOAD SXHKD CONFIG
super + Escape
- pkill -USR1 -x sxhkd; [[ $? == 0 ]] && notifysend "sxhkd reloaded..."
+ pkill -USR1 -x sxhkd; [[ $? == 0 ]] && notify-send "sxhkd reloaded..."
### [launch software]
@@ -30,7 +30,7 @@ super + alt + k
# launch dmenu
super + alt + d
- dmenu_run -p run: -nb black -fn 'xft:Bitstream Vera Sans Mono:size=11:normal:antialias=true'
+ dmenu_run -sb '#444' #-fn 'xft:Bitstream Vera Sans Mono:size=11:normal:antialias=true'
# launch webcam
super + alt + w
@@ -51,6 +51,8 @@ super + ctrl + m
super + shift + c
toggle 'picom'
+super + shift + l
+ lemon
### [basic utilities]