From c386e4828a5895062d851d620d8931f052ce87f0 Mon Sep 17 00:00:00 2001 From: ksyasuda Date: Sun, 14 Nov 2021 23:12:13 -0800 Subject: [PATCH] updates to new polybar config --- polybar-themes/sblocks/config.ini | 3 ++- polybar-themes/sblocks/modules.ini | 1 + polybar-themes/sblocks/user_modules.ini | 21 ++++++++++++--------- rofi/launchers/slate/slate_center.rasi | 6 +++--- 4 files changed, 18 insertions(+), 13 deletions(-) diff --git a/polybar-themes/sblocks/config.ini b/polybar-themes/sblocks/config.ini index 27c7660..eb62548 100644 --- a/polybar-themes/sblocks/config.ini +++ b/polybar-themes/sblocks/config.ini @@ -141,10 +141,11 @@ font-2 = "FiraCode Nerd Font:size=10;3" ; modules-center = xwindow xbacklight ; 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-center = title ; 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 ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/polybar-themes/sblocks/modules.ini b/polybar-themes/sblocks/modules.ini index 972f786..97a12ad 100644 --- a/polybar-themes/sblocks/modules.ini +++ b/polybar-themes/sblocks/modules.ini @@ -984,6 +984,7 @@ ramp-volume-3 =  ramp-volume-4 =  ramp-volume-background = ${color.blue} ramp-volume-padding = 1 +click-right = pavucontrol ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/polybar-themes/sblocks/user_modules.ini b/polybar-themes/sblocks/user_modules.ini index e70ea66..4fb9611 100644 --- a/polybar-themes/sblocks/user_modules.ini +++ b/polybar-themes/sblocks/user_modules.ini @@ -43,15 +43,15 @@ format-underline = ${color.background} ; Default: %output% label = %output% label-background = ${color.background-alt} -label-padding = 1 +label-padding = 2 ; Available tokens: ; %counter% ; %pid% ; ; "click-(left|middle|right)" will be executed using "/usr/bin/env sh -c [command]" -click-left = exo-open --launch TerminalEmulator & -click-right = exo-open --launch TerminalEmulator & +; click-left = exo-open --launch TerminalEmulator & +; click-right = exo-open --launch TerminalEmulator & ;;double-click-left = echo double left %counter% ;;double-click-middle = echo double middle %counter% ;;double-click-right = echo double right %counter% @@ -81,9 +81,11 @@ content-overline = ${color.background} content-underline = ${color.background} ; "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-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 = ~/.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" menu-0-0 ="  Menu | " 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-background = ${color.background-alt} @@ -262,7 +265,7 @@ menu-0-1-exec = thunar & menu-0-2 =" Terminal | " menu-0-2-background = ${color.background-alt} -menu-0-2-exec = termite & +menu-0-2-exec = alacritty & menu-0-3 =" Browser " menu-0-3-background = ${color.background-alt} @@ -279,10 +282,10 @@ format-overline = ${color.background} format-underline = ${color.background} label-open =  -label-open-background = ${color.yellow} +label-open-background = ${color.orange} label-open-padding = 1 label-close =  -label-close-background = ${color.red} +label-close-background = ${color.blue} label-close-padding = 1 ; Optional item separator diff --git a/rofi/launchers/slate/slate_center.rasi b/rofi/launchers/slate/slate_center.rasi index 55f434f..ec4bb56 100644 --- a/rofi/launchers/slate/slate_center.rasi +++ b/rofi/launchers/slate/slate_center.rasi @@ -8,7 +8,7 @@ */ configuration { - font: "FantasqueSansMono Nerd Font 14"; + font: "FantasqueSansMono Nerd Font 10"; show-icons: true; icon-theme: "Papirus"; display-drun: ""; @@ -39,7 +39,7 @@ prompt { padding: 0% 1% 0% 0%; background-color: @background; text-color: @foreground; - font: "FantasqueSansMono Nerd Font 12"; + font: "FantasqueSansMono Nerd Font 10"; } entry { @@ -98,7 +98,7 @@ element-icon { text-color: inherit; horizontal-align: 0.5; vertical-align: 0.5; - size: 96px; + size: 32px; border: 0px; }