aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/gtk-3.0/settings.ini##template2
-rw-r--r--.config/picom.conf##template75
-rw-r--r--.config/polybar/config.ini##template12
-rw-r--r--.config/polybar/config.superesc.ini5
4 files changed, 55 insertions, 39 deletions
diff --git a/.config/gtk-3.0/settings.ini##template b/.config/gtk-3.0/settings.ini##template
index 66d6c86..c8792aa 100644
--- a/.config/gtk-3.0/settings.ini##template
+++ b/.config/gtk-3.0/settings.ini##template
@@ -1,7 +1,7 @@
[Settings]
gtk-application-prefer-dark-theme=true
gtk-icon-theme-name=Adwaita
-gtk-font-name=Inter 11
+gtk-font-name=Inter 9
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
diff --git a/.config/picom.conf##template b/.config/picom.conf##template
index 8180d21..bde96ab 100644
--- a/.config/picom.conf##template
+++ b/.config/picom.conf##template
@@ -1,4 +1,11 @@
-# vim: ft=conf
+# do not touch, shit finally works w/ gpu
+# backend = "xrender";
+backend = "glx";
+vsync = true;
+
+corner-radius = 10;
+
+shadow = true;
{% if yadm.hostname == "thoncc" %}
shadow-radius = 24;
shadow-opacity = 0.4;
@@ -11,40 +18,51 @@ shadow-offset-y = -48;
shadow-offset-x = -48;
{% endif %}
-# do not touch, shit finally works w/ gpu
-# backend = "xrender";
-backend = "glx";
-vsync = true;
-
-corner-radius = 0;
-shadow = true;
-
+fade = false;
fade-in-step = 0.3;
fade-out-step = 0.18;
fade-delta = 16;
rules = (
- # wintypes
- { match = "window_type *= 'dock'"; shadow = false; },
- { match = "window_type *= 'desktop'"; shadow = false; },
- { match = "window_type *= 'tooltip'"; fade = true; shadow = false; },
- { match = "window_type *= 'menu'"; fade = false; },
- { match = "window_type *= 'utility'"; shadow = false; },
- { match = "window_type *= 'notification'"; fade = true; },
- # shadow-exclude
- { match = "!I3_FLOATING_WINDOW@ = 1"; shadow = false; },
- # rounded-corners-exclude
- { match = "class_i *= 'rofi'"; corner-radius = 8; shadow = true; },
- { match = "class_i *= 'dunst'"; corner-radius = 12; },
- { match = "I3_FLOATING_WINDOW@ = 1"; corner-radius = 8; },
+ {
+ match = "!I3_FLOATING_WINDOW@ = 1";
+ shadow = false;
+ corner-radius = 0;
+ },
+ {
+ match = "window_type *= 'desktop'";
+ shadow = false;
+ },
+ {
+ match = "window_type *= 'notification'";
+ fade = true;
+ corner-radius = 12;
+ shadow = true;
+ },
+ {
+ match = "_NET_WM_STATE@[*] = '_NET_WM_STATE_ABOVE'";
+ shadow = true;
+ corner-radius = 10;
+ },
+ {
+ match = "window_type *= 'menu' && override_redirect";
+ corner-radius = 0;
+ full-shadow = true;
+ shadow = true;
+ },
+ {
+ match = "window_type *= 'tooltip'";
+ fade = true;
+ shadow = false;
+ corner-radius = 0;
+ },
+ {
+ match = "window_type *= 'dock'";
+ shadow = false;
+ corner-radius = 0;
+ },
)
-# old 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'",
-# "_NET_WM_WINDOW_TYPE@:32a *= '_NET_WM_WINDOW_TYPE_MENU' && override_redirect = true",
-# "WM_CLASS@:s = 'Firefox' && WM_WINDOW_ROLE@:s = 'Popup'"
-
# animations = true;
# animation-stiffness-tag-change = 350.0;
# animation-stiffness-in-tag = 350.0;
@@ -53,3 +71,4 @@ rules = (
# animation-for-open-window = "none";
# animation-clamping = false;
+# vim: ft=conf
diff --git a/.config/polybar/config.ini##template b/.config/polybar/config.ini##template
index 3913b5d..ccb3c06 100644
--- a/.config/polybar/config.ini##template
+++ b/.config/polybar/config.ini##template
@@ -32,13 +32,13 @@ foreground = ${color.fg}
radius-top = 0.0
radius-bottom = 0.0
-padding = 2
+padding = 5
+module-margin-left = 1
+module-margin-right = 1
-module-margin-left = 0
-module-margin-right = 0
+font-0 = "sans-serif:pixelsize=8:weight=regular:size=0;2"
+font-1 = "sans-serif:pixelsize=8:weight=bold:size=0;2"
-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"
font-2 = "Hiragino Kaku Gothic ProN W3:pixelsize=8:weight=medium:size=0;1"
font-3 = "Hiragino Kaku Gothic ProN W6:pixelsize=8:weight=medium:size=0;1"
font-4 = "Noto Sans KR:pixelsize=8:weight=medium:size=0;2"
@@ -61,7 +61,7 @@ dim-value = 1.0
wm-name =
-locale = ja_JP.UTF-8
+locale = {{ env.LANG }}
wm-restack = i3
diff --git a/.config/polybar/config.superesc.ini b/.config/polybar/config.superesc.ini
index 342cfc2..2c15531 100644
--- a/.config/polybar/config.superesc.ini
+++ b/.config/polybar/config.superesc.ini
@@ -2,15 +2,12 @@
type = custom/script
exec = ~/.local/share/bin/wacomtouch
interval = 1
-# label-font = 1
[module/mpd]
type = internal/mpd
-format-online = <toggle> <label-song>
+format-online = <label-song>
format-offline =
format-stopped =
-icon-play = 
-icon-pause = 
label-song = %artist% - %{T2}%title%%{T-}
label-song-maxlen = 50
label-song-ellipsis = true