update config to work with bspwm

This commit is contained in:
ksyasuda 2021-11-17 00:08:23 -08:00
parent 5061945a2e
commit 147ca459fa
3 changed files with 64 additions and 50 deletions

View File

@ -138,6 +138,7 @@ font-0 = "DroidSansMono Nerd Font:size=8;3"
font-1 = icomoon-feather:size=8;3
font-2 = "Weather Icons:size=8;3"
font-3 = "Material Icons:size=8;3"
font-4 = "Source Han Sans JP:size=8;3"
; ; Modules are added to one of the available blocks
; ; modules-left = cpu ram

View File

@ -272,13 +272,13 @@ animation-charging-framerate = 750
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;;[module/bspwm]
;;type = internal/bspwm
[module/bspwm]
type = internal/bspwm
; Only show workspaces defined on the same output as the bar
; NOTE: The bspwm and XRandR monitor names must match, which they do by default.
; Default: true
;;pin-workspaces = true
pin-workspaces = true
; Output mode flags after focused state label
; Default: false
@ -286,7 +286,7 @@ animation-charging-framerate = 750
; Create click handler used to focus workspace
; Default: true
;;enable-click = false
enable-click = false
; Create scroll handlers used to cycle workspaces
; Default: true
@ -301,28 +301,28 @@ animation-charging-framerate = 750
; Example: code;♚ will apply the icon to all workspaces
; containing 'code' in the label
; Default: false
;;fuzzy-match = true
fuzzy-match = true
; ws-icon-[0-9]+ = label;icon
; Note that the label needs to correspond with the bspwm workspace name
;;ws-icon-0 = code;♚
;;ws-icon-1 = office;♛
;;ws-icon-2 = graphics;♜
;;ws-icon-3 = mail;♝
;;ws-icon-4 = web;♞
;;ws-icon-default = ♟
; ws-icon-0 = code;♚
; ws-icon-1 = office;♛
; ws-icon-2 = graphics;♜
; ws-icon-3 = mail;♝
; ws-icon-4 = web;♞
; ws-icon-default = ♟
; Available tags:
; <label-monitor>
; <label-state> - gets replaced with <label-(focused|urgent|occupied|empty)>
; <label-mode> - gets replaced with <label-(monocle|tiled|fullscreen|floating|locked|sticky|private)>
; Default: <label-state>
;;format = <label-state> <label-mode>
format = <label-state> <label-mode>
; Available tokens:
; %name%
; Default: %name%
;;label-monitor = %name%
label-monitor = %name%
; If any values for label-dimmed-N are defined, the workspace/mode
; colors will get overridden with those values if the monitor is out of focus
@ -331,67 +331,67 @@ animation-charging-framerate = 750
; label-dimmed-occupied
; label-dimmed-urgent
; label-dimmed-empty
;;label-dimmed-foreground = #555
;;label-dimmed-underline = ${bar/top.background}
;;label-dimmed-focused-background = #f00
label-dimmed-foreground = #555
label-dimmed-underline = ${bar/top.background}
label-dimmed-focused-background = #f00
; Available tokens:
; %name%
; %icon%
; %index%
; Default: %icon% %name%
;;label-focused = %icon%
;;label-focused-foreground = #ffffff
;;label-focused-background = #3f3f3f
;;label-focused-underline = #fba922
label-focused = %icon%
label-focused-foreground = #ffffff
label-focused-background = #3f3f3f
label-focused-underline = #fba922
; Available tokens:
; %name%
; %icon%
; %index%
; Default: %icon% %name%
;;label-occupied = %icon%
;;label-occupied-underline = #555555
label-occupied = %icon%
label-occupied-underline = #555555
; Available tokens:
; %name%
; %icon%
; %index%
; Default: %icon% %name%
;;label-urgent = %icon%
;;label-urgent-foreground = #000000
;;label-urgent-background = #bd2c40
;;label-urgent-underline = #9b0a20
label-urgent = %icon%
label-urgent-foreground = #000000
label-urgent-background = #bd2c40
label-urgent-underline = #9b0a20
; Available tokens:
; %name%
; %icon%
; %index%
; Default: %icon% %name%
;;label-empty = %icon%
;;label-empty-foreground = #55
label-empty = %icon%
label-empty-foreground = #55
; The following labels will be used to indicate the layout/mode
; for the focused workspace. Requires <label-mode>
;
; Available tokens:
; None
;label-monocle =
;label-tiled =
;label-fullscreen =
;label-floating =
;label-pseudotiled = P
;label-locked =
;label-locked-foreground = #bd2c40
;label-sticky =
;label-sticky-foreground = #fba922
;label-private =
;label-private-foreground = #bd2c40
abel-monocle =
abel-tiled =
abel-fullscreen =
abel-floating =
abel-pseudotiled = P
abel-locked =
abel-locked-foreground = #bd2c40
abel-sticky =
abel-sticky-foreground = #fba922
abel-private =
abel-private-foreground = #bd2c40
; Separator in between workspaces
;;label-separator = |
;;label-separator-padding = 2
;;label-separator-foreground = #ffb52a
label-separator = |
label-separator-padding = 2
label-separator-foreground = #ffb52a
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
@ -1308,6 +1308,16 @@ enable-scroll = true
; icon-3 = 4;
; icon-4 = 5;
; icon-default = 
icon-1 = I;一
icon-2 = II;二
icon-3 = III;三
icon-4 = IV;四
icon-5 = V;五
icon-6 = VI;六
icon-7 = VII;七
icon-8 = VIII;八
icon-9 = IX;九
icon-0 = X;十
; Available tags:
; <label-monitor>
@ -1327,8 +1337,8 @@ label-monitor = %name%
; %icon%
; %index%
; Default: %icon% %name%
; label-active = %icon%
label-active = %icon% %name%
label-active = %icon%
; label-active = %icon% %name%
; label-active-foreground = ${color.indigo}
label-active-foreground = ${color.foreground}
label-active-background = ${color.primary}
@ -1339,8 +1349,8 @@ label-active-background = ${color.primary}
; %icon%
; %index%
; Default: %icon% %name%
; label-occupied = %icon%
label-occupied = %icon% %name%
label-occupied = %icon%
; label-occupied = %icon% %name%
; label-occupied-foreground = ${color.indigo}
label-occupied-foreground = ${color.foreground}
label-occupied-background = ${color.black}
@ -1350,8 +1360,8 @@ label-occupied-background = ${color.black}
; %icon%
; %index%
; Default: %icon% %name%
; label-urgent = %icon%
label-urgent = %icon% %name%
label-urgent = %icon%
; label-urgent = %icon% %name%
; label-urgent-foreground = ${color.indigo}
label-urgent-foreground = ${color.red}
label-urgent-background = ${color.red}
@ -1361,8 +1371,8 @@ label-urgent-background = ${color.red}
; %icon%
; %index%
; Default: %icon% %name%
; label-empty = %icon%
label-empty = %icon% %name%
label-empty = %icon%
; label-empty = %icon% %name%
; label-empty-foreground = ${color.indigo}
label-empty-foreground = ${color.foreground}
label-empty-background = ${color.background-alt}

3
scripts/random-wallpaper.sh Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env bash
# find "$HOME/Pictures/wallpapers" -type f | shuf -n 1
feh --bg-scale "$(find "$HOME/Pictures/wallpapers" -type f | shuf -n 1)"