From 49c415a0a0036808fc8bbd843474c77684a0a3a7 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Thu, 22 Sep 2022 13:08:09 +0200 Subject: subtile fixes --- .cache/wal/chromium/Cached Theme.pak | Bin 1245 -> 0 bytes .config/picom.conf | 47 ------------------------- .config/picom.conf##template | 55 +++++++++++++++++++++++++++++ .config/polybar/config##template | 6 ++-- .config/rofi/config.rasi | 58 ------------------------------ .config/rofi/config.rasi##template | 66 +++++++++++++++++++++++++++++++++++ 6 files changed, 124 insertions(+), 108 deletions(-) delete mode 100644 .cache/wal/chromium/Cached Theme.pak delete mode 100644 .config/picom.conf create mode 100644 .config/picom.conf##template delete mode 100644 .config/rofi/config.rasi create mode 100644 .config/rofi/config.rasi##template diff --git a/.cache/wal/chromium/Cached Theme.pak b/.cache/wal/chromium/Cached Theme.pak deleted file mode 100644 index 19a18d1..0000000 Binary files a/.cache/wal/chromium/Cached Theme.pak and /dev/null differ diff --git a/.config/picom.conf b/.config/picom.conf deleted file mode 100644 index 8d47a37..0000000 --- a/.config/picom.conf +++ /dev/null @@ -1,47 +0,0 @@ -shadow = true; -shadow-radius = 48; -shadow-opacity = 0.3; -shadow-offset-y = -48; -shadow-offset-x = -48; -corner-radius = 8; - -shadow-exclude = [ - "!I3_FLOATING_WINDOW@:c && class_g != 'st' && _NET_WM_WINDOW_TYPE@:32a *= '_NET_WM_WINDOW_TYPE_NORMAL'", - "!I3_FLOATING_WINDOW@:c && WM_CLASS@:s = 'st'" -] - -rounded-corners-exclude = [ - "!I3_FLOATING_WINDOW@:c && WM_CLASS@:s != 'rofi'" -] - -wintypes: { - dock = { - shadow = false; - opacity = 0.999; - }; - - desktop = { - shadow = false; - }; - - tooltip = { - fade = true; - shadow = false; - opacity = 1; - }; - - menu = { - fade = false; - }; - - utility = { - shadow = false; - }; -}; - -animations = true; -animation-stiffness = 500.0; -animation-dampening = 20.0; -animation-window-mass = 0.1; -animation-for-open-window = "zoom"; - diff --git a/.config/picom.conf##template b/.config/picom.conf##template new file mode 100644 index 0000000..1cb9800 --- /dev/null +++ b/.config/picom.conf##template @@ -0,0 +1,55 @@ +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 = [ + "!I3_FLOATING_WINDOW@:c && class_g != 'st' && _NET_WM_WINDOW_TYPE@:32a *= '_NET_WM_WINDOW_TYPE_NORMAL'", + "!I3_FLOATING_WINDOW@:c && WM_CLASS@:s = 'st'" +] + +rounded-corners-exclude = [ + "!I3_FLOATING_WINDOW@:c && WM_CLASS@:s != 'rofi'" +] + +wintypes: { + dock = { + shadow = false; + opacity = 0.999; + }; + + desktop = { + shadow = false; + }; + + tooltip = { + fade = true; + shadow = false; + opacity = 1; + }; + + menu = { + fade = false; + }; + + utility = { + shadow = false; + }; +}; + +animations = true; +animation-stiffness = 500.0; +animation-dampening = 20.0; +animation-window-mass = 0.1; +animation-for-open-window = "zoom"; + 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 deleted file mode 100644 index 088d62f..0000000 --- a/.config/rofi/config.rasi +++ /dev/null @@ -1,58 +0,0 @@ -configuration { - modi: "drun,run"; - font: "JetBrainsMono Nerd Font 9"; - matching: "fuzzy"; - separator-style: "none"; - hide-scrollbar: true; - kb-remove-to-eol: "Control+Shift+e"; - kb-accept-entry: "Control+m,Return,KP_Enter"; - kb-row-up: "Up,Control+k,Shift+Tab,Shift+ISO_Left_Tab"; - kb-row-down: "Down,Control+j"; -} - -* { - background-color: ${ROFIBGCOLOR}; - text-color: ${ROFIFGCOLOR}; - spacing: 0; - width: 450; - line-padding: 0; - line-margin: 0; - --padding: 8px; -} - -inputbar { - children: [prompt, entry]; -} - -prompt { - padding: @--padding; -} - -textbox { - padding: @--padding; -} - -entry { - padding: @--padding; -} - -listview { - cycle: false; - margin: 0 0 -1px 0; - scrollbar: false; - lines: 6; -} - -element { - padding: @--padding; -} - -element selected { - background-color: ${ROFIACCOLOR}; - text-color: @background-color; -} - -element-text { - background-color: inherit; - text-color: inherit; -} diff --git a/.config/rofi/config.rasi##template b/.config/rofi/config.rasi##template new file mode 100644 index 0000000..bbbb646 --- /dev/null +++ b/.config/rofi/config.rasi##template @@ -0,0 +1,66 @@ +configuration { + modi: "drun,run"; + font: "JetBrainsMono Nerd Font 9"; + matching: "fuzzy"; + separator-style: "none"; + hide-scrollbar: true; + kb-remove-to-eol: "Control+Shift+e"; + kb-accept-entry: "Control+m,Return,KP_Enter"; + kb-row-up: "Up,Control+k,Shift+Tab,Shift+ISO_Left_Tab"; + kb-row-down: "Down,Control+j"; +} + +* { + 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; +} + +inputbar { + children: [prompt, entry]; +} + +prompt { + padding: @--padding; +} + +textbox { + padding: @--padding; +} + +entry { + padding: @--padding; +} + +listview { + cycle: false; + margin: 0 0 -1px 0; + scrollbar: false; +{% if yadm.hostname == "thoncc" %} + lines: 5; +{% else %} + lines: 6; +{% endif %} +} + +element { + padding: @--padding; +} + +element selected { + background-color: ${ROFIACCOLOR}; + text-color: @background-color; +} + +element-text { + background-color: inherit; + text-color: inherit; +} -- cgit v1.2.3