Update config
This commit is contained in:
parent
fbac85a4de
commit
09bb826a58
|
@ -2,8 +2,6 @@
|
|||
|
||||
pgrep -x sxhkd > /dev/null || sxhkd &
|
||||
|
||||
bspc monitor eDP-1 -d 0 1 2 3 4
|
||||
|
||||
# No gap
|
||||
bspc config window_gap 2
|
||||
bspc config border_width 2
|
||||
|
@ -17,11 +15,13 @@ bspc config focused_border_color "#eeaa44"
|
|||
|
||||
# Dual monitor setup
|
||||
|
||||
external_monitor=$(xrandr --query | grep 'HDMI-1')
|
||||
if [[ $external_monitor = *connected* ]]; then
|
||||
bspc monitor HDMI-1 -d 5 6 7 8 9
|
||||
external_monitor=$(xrandr --query | grep 'HDMI-1' | grep -e "\bconnected")
|
||||
if [[ $external_monitor ]]; then
|
||||
bspc monitor HDMI-1 -d 1 2 3 4 5
|
||||
bspc monitor eDP-1 -d 6 7 8 9 0
|
||||
xrandr --output HDMI-1 --primary --mode 1920x1080 --rotate normal --output eDP-1 --mode 1920x1080 --rotate normal --right-of HDMI-1
|
||||
else
|
||||
bspc monitor eDP-1 -d 1 2 3 4 5
|
||||
xrandr --output eDP-1 --mode 1920x1080 --rotate normal
|
||||
fi
|
||||
|
||||
|
|
|
@ -10,6 +10,7 @@ modules-right = pulseaudio xkeyboard memory cpu wlan battery date
|
|||
[bar/HDMI1]
|
||||
inherit = bar/master
|
||||
monitor = HDMI-1
|
||||
modules-center = mpd
|
||||
|
||||
[settings]
|
||||
screenchange-reload = true
|
||||
|
|
|
@ -7,7 +7,7 @@ polybar eDP1 &
|
|||
|
||||
# Dual monitor bar
|
||||
|
||||
external_monitor=$(xrandr --query | grep 'HDMI-1')
|
||||
if [[ $external_monitor = *connected* ]]; then
|
||||
external_monitor=$(xrandr --query | grep 'HDMI-1' | grep -e "\bconnected")
|
||||
if [[ $external_monitor ]]; then
|
||||
polybar HDMI1 &
|
||||
fi
|
||||
|
|
|
@ -20,7 +20,9 @@ fixed-center = false
|
|||
;fonts
|
||||
font-0 = Hack:pixelsize=12;1
|
||||
font-1 = unifont:fontformat=truetype:size=12:antialias=false;0
|
||||
font-2 = "FontAwesome:style=Regular:pixelsize=12;2"
|
||||
font-2 = "Font Awesome 5 Free:style=Regular:pixelsize=12;2"
|
||||
font-3 = "Font Awesome 5 Free Solid:style=Regular:pixelsize=12;2"
|
||||
font-4 = "Font Awesome 5 Brands:style=Regular:pixelsize=12;2"
|
||||
|
||||
background = ${colors.background}
|
||||
foreground = ${colors.foreground}
|
||||
|
|
|
@ -6,7 +6,7 @@ label = %title:0:30:...%
|
|||
type = internal/xkeyboard
|
||||
blacklist-0 = num lock
|
||||
|
||||
format-prefix = "XKB "
|
||||
format-prefix = " XKB "
|
||||
format-prefix-foreground = ${colors.foreground-alt}
|
||||
format-prefix-underline = ${colors.secondary}
|
||||
|
||||
|
@ -31,19 +31,19 @@ label-unmounted-foreground = ${colors.foreground-alt}
|
|||
[module/bspwm]
|
||||
type = internal/bspwm
|
||||
|
||||
label-focused = %index%
|
||||
label-focused = %name%
|
||||
label-focused-background = ${colors.background-alt}
|
||||
label-focused-underline= ${colors.primary}
|
||||
label-focused-padding = 2
|
||||
|
||||
label-occupied = %index%
|
||||
label-occupied = %name%
|
||||
label-occupied-padding = 2
|
||||
|
||||
label-urgent = %index%!
|
||||
label-urgent = %name%!
|
||||
label-urgent-background = ${colors.alert}
|
||||
label-urgent-padding = 2
|
||||
|
||||
label-empty = %index%
|
||||
label-empty = %name%
|
||||
label-empty-foreground = ${colors.foreground-alt}
|
||||
label-empty-padding = 2
|
||||
|
||||
|
@ -96,7 +96,7 @@ label = %percentage:2%%
|
|||
[module/memory]
|
||||
type = internal/memory
|
||||
interval = 2
|
||||
format-prefix = "MEM "
|
||||
format-prefix = " MEM "
|
||||
format-prefix-foreground = ${colors.foreground-alt}
|
||||
format-underline = #81a1c1
|
||||
label = %percentage_used%%
|
||||
|
@ -106,7 +106,7 @@ type = internal/network
|
|||
interface = wlp2s0
|
||||
interval = 3.0
|
||||
|
||||
format-prefix = "WIFI "
|
||||
format-prefix = " WIFI "
|
||||
format-connected = <ramp-signal> <label-connected>
|
||||
format-connected-underline = #9f78e1
|
||||
label-connected = %essid%
|
||||
|
@ -117,11 +117,11 @@ format-disconnected =
|
|||
;label-disconnected = %ifname% disconnected
|
||||
;label-disconnected-foreground = ${colors.foreground-alt}
|
||||
|
||||
ramp-signal-0 =
|
||||
ramp-signal-1 =
|
||||
ramp-signal-2 =
|
||||
ramp-signal-3 =
|
||||
ramp-signal-4 =
|
||||
ramp-signal-0 =
|
||||
ramp-signal-1 =
|
||||
ramp-signal-2 =
|
||||
ramp-signal-3 =
|
||||
ramp-signal-4 =
|
||||
ramp-signal-foreground = ${colors.foreground-alt}
|
||||
|
||||
[module/eth]
|
||||
|
@ -166,7 +166,7 @@ format-volume = <label-volume> <bar-volume>
|
|||
label-volume = VOL %percentage%%
|
||||
label-volume-foreground = ${root.foreground}
|
||||
|
||||
label-muted = 🔇 muted
|
||||
label-muted = "%{T3}%{T-} muted"
|
||||
label-muted-foreground = #666
|
||||
|
||||
bar-volume-width = 10
|
||||
|
@ -190,7 +190,7 @@ bar-volume-empty-foreground = ${colors.foreground-alt}
|
|||
type = internal/alsa
|
||||
|
||||
format-volume = <label-volume> <bar-volume>
|
||||
label-volume = VOL
|
||||
label-volume = " VOL"
|
||||
label-volume-foreground = ${root.foreground}
|
||||
|
||||
format-muted-prefix = " "
|
||||
|
@ -227,13 +227,13 @@ format-charging-underline = #a3be8c
|
|||
format-discharging = <animation-discharging> <label-discharging>
|
||||
format-discharging-underline = ${self.format-charging-underline}
|
||||
|
||||
format-full-prefix = "BAT "
|
||||
format-full-prefix = " BAT "
|
||||
format-full-prefix-foreground = ${colors.foreground-alt}
|
||||
format-full-underline = ${self.format-charging-underline}
|
||||
|
||||
ramp-capacity-0 =
|
||||
ramp-capacity-1 =
|
||||
ramp-capacity-2 =
|
||||
ramp-capacity-0 =
|
||||
ramp-capacity-1 =
|
||||
ramp-capacity-2 =
|
||||
ramp-capacity-foreground = ${colors.foreground-alt}
|
||||
|
||||
animation-charging-0 =
|
||||
|
|
|
@ -22,6 +22,10 @@ super + Escape
|
|||
ctrl + {1,2}
|
||||
setxkbmap -layout us {_,-variant intl}
|
||||
|
||||
# Screenshot
|
||||
Print
|
||||
scrot
|
||||
|
||||
#
|
||||
# bspwm hotkeys
|
||||
#
|
||||
|
@ -97,6 +101,10 @@ super + {o,i}
|
|||
super + {_,shift + }{1-9,0}
|
||||
bspc {desktop -f,node -d} '^{1-9,10}'
|
||||
|
||||
## New wallpaper
|
||||
super + r
|
||||
feh --bg-center $(find ~/wallpapers -type f | grep jpg| shuf -n 1)
|
||||
|
||||
#
|
||||
# preselect
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue