diff options
Diffstat (limited to '.config')
-rw-r--r-- | .config/picom.conf##template (renamed from .config/picom.conf) | 8 | ||||
-rw-r--r-- | .config/polybar/config##template | 6 | ||||
-rw-r--r-- | .config/rofi/config.rasi##template (renamed from .config/rofi/config.rasi) | 8 |
3 files changed, 19 insertions, 3 deletions
diff --git a/.config/picom.conf b/.config/picom.conf##template index 8d47a37..1cb9800 100644 --- a/.config/picom.conf +++ b/.config/picom.conf##template @@ -1,8 +1,16 @@ +backend = "glx"; shadow = true; +{% if yadm.hostname == "thoncc" %} +shadow-radius = 24; +shadow-opacity = 0.15; +shadow-offset-y = -24; +shadow-offset-x = -24; +{% else %} shadow-radius = 48; shadow-opacity = 0.3; shadow-offset-y = -48; shadow-offset-x = -48; +{% endif %} corner-radius = 8; shadow-exclude = [ diff --git a/.config/polybar/config##template b/.config/polybar/config##template index dafd333..1359709 100644 --- a/.config/polybar/config##template +++ b/.config/polybar/config##template @@ -40,10 +40,10 @@ foreground = ${color.fg} radius-top = 0.0 radius-bottom = 0.0 -padding = 3 +padding = 2 -module-margin-left = 1 -module-margin-right = 1 +module-margin-left = 0 +module-margin-right = 0 font-0 = "JetBrains Mono Nerd Font:pixelsize=8:weight=regular:size=0;2" font-1 = "JetBrains Mono Nerd Font:pixelsize=8:weight=bold:size=0;2" diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi##template index 088d62f..bbbb646 100644 --- a/.config/rofi/config.rasi +++ b/.config/rofi/config.rasi##template @@ -14,7 +14,11 @@ configuration { background-color: ${ROFIBGCOLOR}; text-color: ${ROFIFGCOLOR}; spacing: 0; +{% if yadm.hostname == "thoncc" %} + width: 400; +{% else %} width: 450; +{% endif %} line-padding: 0; line-margin: 0; --padding: 8px; @@ -40,7 +44,11 @@ listview { cycle: false; margin: 0 0 -1px 0; scrollbar: false; +{% if yadm.hostname == "thoncc" %} + lines: 5; +{% else %} lines: 6; +{% endif %} } element { |