updates to new polybar config

This commit is contained in:
ksyasuda 2021-11-14 23:12:13 -08:00
parent 55de99081a
commit c386e4828a
4 changed files with 18 additions and 13 deletions

View File

@ -141,10 +141,11 @@ font-2 = "FiraCode Nerd Font:size=10;3"
; modules-center = xwindow xbacklight ; modules-center = xwindow xbacklight
; modules-right = ipc clock ; modules-right = ipc clock
; modules-left = sep menu sep workspaces sep cust-mpd-prev custom-mpd cust-mpd-next
modules-left = sep launcher sep workspaces sep cust-mpd-prev custom-mpd cust-mpd-next modules-left = sep launcher sep workspaces sep cust-mpd-prev custom-mpd cust-mpd-next
modules-center = title modules-center = title
; 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 = color-switch sep alsa sep sep network sep date sep sysmenu sep modules-right = updates sep pulseaudio sep sep network sep date sep sysmenu sep
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_

View File

@ -984,6 +984,7 @@ ramp-volume-3 = 
ramp-volume-4 = ramp-volume-4 =
ramp-volume-background = ${color.blue} ramp-volume-background = ${color.blue}
ramp-volume-padding = 1 ramp-volume-padding = 1
click-right = pavucontrol
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_

View File

@ -43,15 +43,15 @@ format-underline = ${color.background}
; Default: %output% ; Default: %output%
label = %output% label = %output%
label-background = ${color.background-alt} label-background = ${color.background-alt}
label-padding = 1 label-padding = 2
; Available tokens: ; Available tokens:
; %counter% ; %counter%
; %pid% ; %pid%
; ;
; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c [command]" ; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c [command]"
click-left = exo-open --launch TerminalEmulator & ; click-left = exo-open --launch TerminalEmulator &
click-right = exo-open --launch TerminalEmulator & ; click-right = exo-open --launch TerminalEmulator &
;;double-click-left = echo double left %counter% ;;double-click-left = echo double left %counter%
;;double-click-middle = echo double middle %counter% ;;double-click-middle = echo double middle %counter%
;;double-click-right = echo double right %counter% ;;double-click-right = echo double right %counter%
@ -81,9 +81,11 @@ content-overline = ${color.background}
content-underline = ${color.background} content-underline = ${color.background}
; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c $COMMAND" ; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c $COMMAND"
click-left = ~/.config/polybar/blocks/scripts/launcher.sh & ; click-left = ~/.config/polybar/blocks/scripts/launcher.sh &
click-left = ~/SudacodeRice/scripts/menu_small &
;;click-middle = ~/.config/polybar/blocks/scripts/launcher-full ;;click-middle = ~/.config/polybar/blocks/scripts/launcher-full
click-right = ~/.config/polybar/blocks/scripts/style-switch.sh & click-right = ~/SudacodeRice/scripts/menu_full &
; click-right = ~/.config/polybar/blocks/scripts/style-switch.sh &
; "scroll-(up|down)" will be executed using "/usr/bin/env sh -c $COMMAND" ; "scroll-(up|down)" will be executed using "/usr/bin/env sh -c $COMMAND"
;;scroll-up = ~/.config/polybar/blocks/scripts/launcher.sh & ;;scroll-up = ~/.config/polybar/blocks/scripts/launcher.sh &
@ -254,7 +256,8 @@ expand-right = true
; Other commands will be executed using "/usr/bin/env sh -c $COMMAND" ; Other commands will be executed using "/usr/bin/env sh -c $COMMAND"
menu-0-0 ="  Menu | " menu-0-0 ="  Menu | "
menu-0-0-background = ${color.background-alt} menu-0-0-background = ${color.background-alt}
menu-0-0-exec = ~/.config/polybar/blocks/scripts/launcher.sh & ; menu-0-0-exec = ~/.config/polybar/blocks/scripts/launcher.sh &
menu-0-0-exec = ~/SudacodeRice/scripts/menu_small
menu-0-1 =" Files | " menu-0-1 =" Files | "
menu-0-1-background = ${color.background-alt} menu-0-1-background = ${color.background-alt}
@ -262,7 +265,7 @@ menu-0-1-exec = thunar &
menu-0-2 =" Terminal | " menu-0-2 =" Terminal | "
menu-0-2-background = ${color.background-alt} menu-0-2-background = ${color.background-alt}
menu-0-2-exec = termite & menu-0-2-exec = alacritty &
menu-0-3 =" Browser " menu-0-3 =" Browser "
menu-0-3-background = ${color.background-alt} menu-0-3-background = ${color.background-alt}
@ -279,10 +282,10 @@ format-overline = ${color.background}
format-underline = ${color.background} format-underline = ${color.background}
label-open = label-open =
label-open-background = ${color.yellow} label-open-background = ${color.orange}
label-open-padding = 1 label-open-padding = 1
label-close = label-close =
label-close-background = ${color.red} label-close-background = ${color.blue}
label-close-padding = 1 label-close-padding = 1
; Optional item separator ; Optional item separator

View File

@ -8,7 +8,7 @@
*/ */
configuration { configuration {
font: "FantasqueSansMono Nerd Font 14"; font: "FantasqueSansMono Nerd Font 10";
show-icons: true; show-icons: true;
icon-theme: "Papirus"; icon-theme: "Papirus";
display-drun: ""; display-drun: "";
@ -39,7 +39,7 @@ prompt {
padding: 0% 1% 0% 0%; padding: 0% 1% 0% 0%;
background-color: @background; background-color: @background;
text-color: @foreground; text-color: @foreground;
font: "FantasqueSansMono Nerd Font 12"; font: "FantasqueSansMono Nerd Font 10";
} }
entry { entry {
@ -98,7 +98,7 @@ element-icon {
text-color: inherit; text-color: inherit;
horizontal-align: 0.5; horizontal-align: 0.5;
vertical-align: 0.5; vertical-align: 0.5;
size: 96px; size: 32px;
border: 0px; border: 0px;
} }