bspwm
This commit is contained in:
parent
0b4571508e
commit
b57e9734ac
|
@ -0,0 +1,21 @@
|
|||
#!/bin/sh
|
||||
|
||||
sxhkd &
|
||||
picom &
|
||||
polybar &
|
||||
~/.config/.fehbg &
|
||||
|
||||
# Monitor #
|
||||
bspc monitor -d 1 2 3 4
|
||||
|
||||
# config
|
||||
bspc config border_width 2
|
||||
bspc config window_gap 5
|
||||
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"
|
||||
|
|
@ -0,0 +1,192 @@
|
|||
[bar/top]
|
||||
monitor = eDP-1
|
||||
top = true
|
||||
font-0="Terminus:pixelsize=14"
|
||||
font-1="FontAwesome:pixelsize=12"
|
||||
|
||||
fixed-center = true
|
||||
width = 100%
|
||||
height=24
|
||||
|
||||
modules-left= bspwm title
|
||||
modules-right= battery alsa date
|
||||
|
||||
module-margin-right=1
|
||||
module-margin-left =1
|
||||
|
||||
separator =
|
||||
spacing = 0
|
||||
dim-value = 1.0
|
||||
line-size=4
|
||||
|
||||
[module/bspwm]
|
||||
type=internal/bspwm
|
||||
format= <label-state> <label-mode>
|
||||
|
||||
pin-workspaces=true
|
||||
|
||||
enable-click = true
|
||||
index-sort=true
|
||||
wrapping-scroll=true
|
||||
enable-scroll=true
|
||||
|
||||
label-mode=" %mode%"
|
||||
label-mode-background=#ffffff
|
||||
|
||||
label-focused= %icon%
|
||||
label-focused-foreground= #ffffff
|
||||
label-focused-underline=#fb0f0f
|
||||
label-focused-padding=1
|
||||
|
||||
label-occupied=%icon%
|
||||
label-occupied-foreground=#ffffff
|
||||
label-occupied-underline=#444444
|
||||
label-occupied-padding=1
|
||||
|
||||
label-unfocused=%icon%
|
||||
label-unfocused-foreground = #ffffff
|
||||
label-unfocused-background= #000000
|
||||
label-unfocused-padding=1
|
||||
|
||||
label-empty=%icon%
|
||||
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
|
||||
format-charging = <ramp-capacity><label-charging>
|
||||
|
||||
; Available tags:
|
||||
; <label-discharging> (default)
|
||||
; <bar-capacity>
|
||||
; <ramp-capacity>
|
||||
; <animation-discharging>
|
||||
format-discharging = <ramp-capacity><label-discharging>
|
||||
|
||||
; Available tags:
|
||||
; <label-full> (default)
|
||||
; <bar-capacity>
|
||||
; <ramp-capacity>
|
||||
;format-full = <ramp-capacity> <label-full>
|
||||
|
||||
; Format used when battery level drops to low-at
|
||||
; If not defined, format-discharging is used instead.
|
||||
; Available tags:
|
||||
; <label-low>
|
||||
; <animation-low>
|
||||
; <bar-capacity>
|
||||
; <ramp-capacity>
|
||||
; New in version 3.6.0
|
||||
;format-low = <label-low> <animation-low>
|
||||
|
||||
; Available tokens:
|
||||
; %percentage% (default) - is set to 100 if full-at is reached
|
||||
; %percentage_raw%
|
||||
; %time%
|
||||
; %consumption% (shows current charge rate in watts)
|
||||
label-charging = Charging %percentage%%
|
||||
|
||||
; Available tokens:
|
||||
; %percentage% (default) - is set to 100 if full-at is reached
|
||||
; %percentage_raw%
|
||||
; %time%
|
||||
; %consumption% (shows current discharge rate in watts)
|
||||
|
||||
; Available tokens:
|
||||
; %percentage% (default) - is set to 100 if full-at is reached
|
||||
; %percentage_raw%
|
||||
label-full = Fully charged
|
||||
|
||||
; Available tokens:
|
||||
; %percentage% (default) - is set to 100 if full-at is reached
|
||||
; %percentage_raw%
|
||||
; %time%
|
||||
; %consumption% (shows current discharge rate in watts)
|
||||
; New in version 3.6.0
|
||||
label-low = BATTERY LOW
|
||||
|
||||
; Only applies if <ramp-capacity> is used
|
||||
ramp-capacity-0 =
|
||||
ramp-capacity-1 =
|
||||
ramp-capacity-2 =
|
||||
ramp-capacity-3 =
|
||||
ramp-capacity-4 =
|
||||
|
||||
; Only applies if <bar-capacity> is used
|
||||
ramp-capacity-padding=1
|
||||
|
||||
[module/title]
|
||||
type= internal/xwindow
|
||||
format = <label>
|
||||
format-background=#fb0f0f
|
||||
format-foreground=#ffffff
|
||||
label = %title%
|
||||
label-maxlen=30
|
||||
label-padding=1
|
||||
|
||||
[module/alsa]
|
||||
type= internal/alsa
|
||||
|
||||
master-soundcard=default
|
||||
speaker-soundcard=default
|
||||
headphone-soundcard=default
|
||||
|
||||
master-mixer= Master
|
||||
speaker-mixer= Speaker
|
||||
headphone-mixer = Headphone
|
||||
|
||||
headphone-id=1
|
||||
mapped = true
|
||||
interval = 5
|
||||
|
||||
; Available tags:
|
||||
; <label-volume> (default)
|
||||
; <ramp-volume>
|
||||
; <bar-volume>
|
||||
format-volume = <ramp-volume><label-volume>
|
||||
|
||||
; Available tags:
|
||||
; <label-muted> (default)
|
||||
; <ramp-volume>
|
||||
; <bar-volume>
|
||||
;format-muted = <label-muted>
|
||||
|
||||
; Available tokens:
|
||||
; %percentage% (default)
|
||||
;label-volume = %percentage%%
|
||||
|
||||
; Available tokens:
|
||||
; %percentage% (default)
|
||||
label-muted = muted
|
||||
label-muted-foreground = #66
|
||||
|
||||
; Only applies if <ramp-volume> is used
|
||||
ramp-volume-0 =
|
||||
|
||||
; If defined, it will replace <ramp-volume> when
|
||||
; headphones are plugged in to `headphone_control_numid`
|
||||
ramp-headphones-0 =
|
||||
ramp-headphones-1 =
|
||||
|
||||
ramp-volume-padding=1
|
||||
ramp-headphones-padding=1
|
||||
|
||||
[module/date]
|
||||
type = internal/date
|
||||
|
||||
interval = 1.0
|
||||
|
||||
time = %H:%M
|
||||
|
||||
format = <label>
|
||||
label= %time%
|
|
@ -0,0 +1,29 @@
|
|||
super + Return
|
||||
st
|
||||
|
||||
super + q
|
||||
bspc node -c
|
||||
|
||||
super + {h,j,k,l}
|
||||
bspc node -f {west,south,north,east}
|
||||
|
||||
super + shift + e
|
||||
bspc quit 0
|
||||
|
||||
super + p
|
||||
dmenu_run
|
||||
|
||||
super + {1-9,0}
|
||||
bspc {desktop -f} focused:^{1-9,0}.local
|
||||
|
||||
super + {_,shift +}{1-9,0}
|
||||
bspc {desktop -f, node -d} focused:^{1-9,10}.local
|
||||
|
||||
XF86AudioRaiseVolume
|
||||
amixer sset Master 5%+
|
||||
|
||||
XF86AudioLowerVolume
|
||||
amixer sset Master 5%-
|
||||
|
||||
super + u
|
||||
$(sudo zzz -z && slock)
|
Loading…
Reference in New Issue