This commit is contained in:
berserk2046 2023-04-03 09:05:30 -05:00
parent b57e9734ac
commit 2807dac600
4 changed files with 54 additions and 22 deletions

View File

@ -2,20 +2,23 @@
sxhkd &
picom &
polybar &
~/.config/.fehbg &
polybar top &
polybar bottom &
xsetroot -cursor_name left_ptr
hsetroot -solid "#343434"
dunst &
# Monitor #
bspc monitor -d 1 2 3 4
bspc monitor eDP-1 -d I II III IV
bspc monitor HDMI-1 -d I II III IV
# config
bspc config border_width 2
bspc config window_gap 5
bspc config window_gap 14
bspc config split_ratio 0.5
# colors
bspc config normal_border_color "#222222"
bspc config acitve_border_color "#222222"
bspc config focused_border_color "#fb0f0f"
bspc config urgent_border_color "#ffffff"
bspc config focused_border_color "#ffffff"
bspc config urgent_border_color "#fb0f0f"

View File

@ -1,6 +1,6 @@
[bar/top]
monitor = eDP-1
top = true
bottom = true
font-0="Terminus:pixelsize=14"
font-1="FontAwesome:pixelsize=12"
@ -8,7 +8,28 @@ fixed-center = true
width = 100%
height=24
modules-left= bspwm title
modules-left= bspwm
modules-right= battery alsa date
module-margin-right=1
module-margin-left =1
separator =
spacing = 0
dim-value = 1.0
line-size=4
[bar/bottom]
monitor = HDMI-1
bottom = true
font-0="Terminus:pixelsize=14"
font-1="FontAwesome:pixelsize=12"
fixed-center = true
width = 100%
height=24
modules-left= bspwm
modules-right= battery alsa date
module-margin-right=1
@ -33,34 +54,28 @@ enable-scroll=true
label-mode=" %mode%"
label-mode-background=#ffffff
label-focused= %icon%
label-focused= %name%
label-focused-foreground= #ffffff
label-focused-underline=#fb0f0f
label-focused-underline=#ffffff
label-focused-padding=1
label-occupied=%icon%
label-occupied=%name%
label-occupied-foreground=#ffffff
label-occupied-underline=#444444
label-occupied-padding=1
label-unfocused=%icon%
label-unfocused=%name%
label-unfocused-foreground = #ffffff
label-unfocused-background= #000000
label-unfocused-padding=1
label-empty=%icon%
label-empty=%name%
label-empty-padding=1
label-empty-foreground = #ffffff
label-empty-background= #000000
label-urgent = %name%
ws-icon-0= 1;I
ws-icon-1= 2;II
ws-icon-2= 3;III
ws-icon-3= 4;IV
[module/battery]
type= internal/battery
battery=BAT1
@ -187,6 +202,7 @@ type = internal/date
interval = 1.0
time = %H:%M
date = "%a %b %d"
format =  <label>
label= %time%
label= %time%  %date%

View File

@ -1,2 +1,3 @@
#!/bin/bash
cat /sys/class/power_supply/BAT1/capacity
e=$(cat /sys/class/power_supply/BAT1/capacity)
echo " $e"

View File

@ -27,3 +27,15 @@ XF86AudioLowerVolume
super + u
$(sudo zzz -z && slock)
super + period
bspc monitor -f next
super + comma
bspc monitor -f prev
super + shift + period
bspc node -m next
super + shift + comma
bspc node -m prev