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-1 = icomoon-feather:size=8;3
font-2 = "Weather Icons:size=8;3" font-2 = "Weather Icons:size=8;3"
font-3 = "Material 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 are added to one of the available blocks
; ; modules-left = cpu ram ; ; modules-left = cpu ram

View File

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