update config to be i3 by default

This commit is contained in:
ksyasuda 2021-11-17 00:18:56 -08:00
parent 147ca459fa
commit 11b34931f9
2 changed files with 89 additions and 23 deletions

View File

@ -145,7 +145,8 @@ font-4 = "Source Han Sans JP:size=8;3"
; modules-center = xwindow xbacklight
; modules-right = ipc clock
modules-left = sep launcher sep workspaces sep chrome flameshot color-picker
modules-left = sep launcher sep i3-workspaces sep chrome flameshot color-picker
; modules-left = sep launcher sep bspwm-workspaces sep chrome flameshot color-picker
modules-center = title-icon title sep cust-mpd-icon cust-mpd-prev custom-mpd cust-mpd-next
; modules-right = color-switch sep alsa sep battery sep network sep date sep sysmenu sep
modules-right = package-updates-trigger package-updates bluetooth sep pulseaudio sep network-wlan sep date weather sep sysmenu sep

View File

@ -1278,8 +1278,7 @@ label-maxlen = 40
label-empty = " Desktop"
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/workspaces]
[module/i3-workspaces]
type = internal/xworkspaces
; Only show workspaces defined on the same output as the bar
@ -1302,12 +1301,86 @@ enable-scroll = true
; NOTE: The desktop name needs to match the name configured by the WM
; You can get a list of the defined desktops using:
; $ xprop -root _NET_DESKTOP_NAMES
; icon-0 = 1;
; icon-1 = 2;
; icon-2 = 3;
; icon-3 = 4;
; icon-4 = 5;
; icon-default = 
; Available tags:
; <label-monitor>
; <label-state> - gets replaced with <label-(active|urgent|occupied|empty)>
; Default: <label-state>
format = <label-state>
format-overline = ${color.background}
format-underline = ${color.background}
; Available tokens:
; %name%
; Default: %name%
label-monitor = %name%
; Available tokens:
; %name%
; %icon%
; %index%
; Default: %icon% %name%
label-active = %name%
label-active-foreground = ${color.foreground}
label-active-background = ${color.primary}
; Available tokens:
; %name%
; %icon%
; %index%
; Default: %icon% %name%
label-occupied = %name%
label-occupied-foreground = ${color.foreground}
label-occupied-background = ${color.black}
; Available tokens:
; %name%
; %icon%
; %index%
; Default: %icon% %name%
label-urgent = %name%
label-urgent-foreground = ${color.red}
label-urgent-background = ${color.red}
; Available tokens:
; %name%
; %icon%
; %index%
; Default: %icon% %name%
label-empty = %name%
label-empty-foreground = ${color.foreground}
label-empty-background = ${color.background-alt}
label-active-padding = 1
label-urgent-padding = 1
label-occupied-padding = 1
label-empty-padding = 1
[module/bspwm-workspaces]
type = internal/xworkspaces
; Only show workspaces defined on the same output as the bar
;
; Useful if you want to show monitor specific workspaces
; on different bars
;
; Default: false
pin-workspaces = true
; Create click handler used to focus desktop
; Default: true
enable-click = true
; Create scroll handlers used to cycle desktops
; Default: true
enable-scroll = true
; icon-[0-9]+ = <desktop-name>;<icon>
; NOTE: The desktop name needs to match the name configured by the WM
; You can get a list of the defined desktops using:
; $ xprop -root _NET_DESKTOP_NAMES
icon-1 = I;一
icon-2 = II;二
icon-3 = III;三
@ -1338,8 +1411,6 @@ label-monitor = %name%
; %index%
; Default: %icon% %name%
label-active = %icon%
; label-active = %icon% %name%
; label-active-foreground = ${color.indigo}
label-active-foreground = ${color.foreground}
label-active-background = ${color.primary}
@ -1350,8 +1421,6 @@ label-active-background = ${color.primary}
; %index%
; Default: %icon% %name%
label-occupied = %icon%
; label-occupied = %icon% %name%
; label-occupied-foreground = ${color.indigo}
label-occupied-foreground = ${color.foreground}
label-occupied-background = ${color.black}
@ -1361,8 +1430,6 @@ label-occupied-background = ${color.black}
; %index%
; Default: %icon% %name%
label-urgent = %icon%
; label-urgent = %icon% %name%
; label-urgent-foreground = ${color.indigo}
label-urgent-foreground = ${color.red}
label-urgent-background = ${color.red}
@ -1372,8 +1439,6 @@ label-urgent-background = ${color.red}
; %index%
; Default: %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}