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-center = xwindow xbacklight
; modules-right = ipc clock ; 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-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 = 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 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" label-empty = " Desktop"
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/i3-workspaces]
[module/workspaces]
type = internal/xworkspaces type = internal/xworkspaces
; Only show workspaces defined on the same output as the bar ; Only show workspaces defined on the same output as the bar
@ -1302,22 +1301,96 @@ enable-scroll = true
; NOTE: The desktop name needs to match the name configured by the WM ; NOTE: The desktop name needs to match the name configured by the WM
; You can get a list of the defined desktops using: ; You can get a list of the defined desktops using:
; $ xprop -root _NET_DESKTOP_NAMES ; $ xprop -root _NET_DESKTOP_NAMES
; icon-0 = 1;
; icon-1 = 2; ; Available tags:
; icon-2 = 3; ; <label-monitor>
; icon-3 = 4; ; <label-state> - gets replaced with <label-(active|urgent|occupied|empty)>
; icon-4 = 5; ; Default: <label-state>
; icon-default =  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-1 = I;一
icon-2 = II;二 icon-2 = II;二
icon-3 = III;三 icon-3 = III;三
icon-4 = IV;四 icon-4 = IV;四
icon-5 = V;五 icon-5 = V;五
icon-6 = VI;六 icon-6 = VI;六
icon-7 = VII;七 icon-7 = VII;七
icon-8 = VIII;八 icon-8 = VIII;八
icon-9 = IX;九 icon-9 = IX;九
icon-0 = X;十 icon-0 = X;十
; Available tags: ; Available tags:
; <label-monitor> ; <label-monitor>
@ -1338,8 +1411,6 @@ label-monitor = %name%
; %index% ; %index%
; Default: %icon% %name% ; Default: %icon% %name%
label-active = %icon% label-active = %icon%
; label-active = %icon% %name%
; 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}
@ -1350,8 +1421,6 @@ label-active-background = ${color.primary}
; %index% ; %index%
; Default: %icon% %name% ; Default: %icon% %name%
label-occupied = %icon% label-occupied = %icon%
; label-occupied = %icon% %name%
; 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}
@ -1361,8 +1430,6 @@ label-occupied-background = ${color.black}
; %index% ; %index%
; Default: %icon% %name% ; Default: %icon% %name%
label-urgent = %icon% label-urgent = %icon%
; label-urgent = %icon% %name%
; 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}
@ -1372,8 +1439,6 @@ label-urgent-background = ${color.red}
; %index% ; %index%
; Default: %icon% %name% ; Default: %icon% %name%
label-empty = %icon% label-empty = %icon%
; label-empty = %icon% %name%
; 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}