commit cde7a9909a627038c8461c6f520e77b28d3bc448
parent baccea4044b87ebecd0ad6bfdd0279787969f14d
Author: Gabriel G. de Brito <gabrielgbrito@icloud.com>
Date: Sat, 5 Jul 2025 23:35:51 -0300
productivity is probably better than eye candy
Diffstat:
4 files changed, 115 insertions(+), 62 deletions(-)
diff --git a/fuzzel/fuzzel.ini b/fuzzel/fuzzel.ini
@@ -5,19 +5,21 @@ terminal=ghostty -e
keyboard-focus=on-demand
lines=20
-width=40
+width=20
+
+anchor=top-left
[colors]
-background=000000dd
+background=000000ff
text=eaeaeaff
prompt=eaeaeaff
input=eaeaeaff
match=e6c547ff
selection=eaeaeaff
-selection-text=000000dd
+selection-text=000000ff
selection-match=d54e53ff
border=7aa6daff
[border]
width=2
-radius=6
+radius=0
diff --git a/niri/config.kdl b/niri/config.kdl
@@ -15,12 +15,11 @@ input {
cursor {
hide-when-typing
- hide-after-inactive-ms 1000
+ hide-after-inactive-ms 2000
}
layout {
- gaps 5
-
+ gaps 0
default-column-width { proportion 0.5; }
focus-ring {
@@ -40,29 +39,49 @@ layout {
urgent-color "#d54e53"
}
- shadow {
- on
- softness 30
-
- spread 5
-
- offset x=0 y=5
+ background-color "transparent"
- color "#0007"
+ tab-indicator {
+ gap 0
+ width 8
+ length total-proportion=1.0
+ place-within-column
}
-
- background-color "transparent"
}
overview {
backdrop-color "#000000"
}
+animations {
+ workspace-switch {
+ spring damping-ratio=1.0 stiffness=1000 epsilon=0.0001
+ }
+ horizontal-view-movement {
+ spring damping-ratio=1.0 stiffness=1000 epsilon=0.0001
+ }
+ window-movement {
+ spring damping-ratio=1.0 stiffness=1000 epsilon=0.0001
+ }
+ window-resize {
+ spring damping-ratio=1.0 stiffness=1000 epsilon=0.0001
+ }
+ overview-open-close {
+ spring damping-ratio=1.0 stiffness=1000 epsilon=0.0001
+ }
+
+ window-open {
+ duration-ms 100
+ }
+ window-close {
+ duration-ms 100
+ }
+}
+
prefer-no-csd
screenshot-path "~/Screenshot from %Y-%m-%d %H-%M-%S.png"
window-rule {
- geometry-corner-radius 6
clip-to-geometry true
draw-border-with-background false
@@ -100,11 +119,6 @@ hotkey-overlay {
skip-at-startup
}
-layer-rule {
- match namespace="swww-daemon"
- place-within-backdrop true
-}
-
environment {
DISPLAY ":0"
QT_QPA_PLATFORM "wayland"
diff --git a/waybar/config.jsonc b/waybar/config.jsonc
@@ -1,10 +1,11 @@
{
"reload_style_on_change": true,
"spacing": 6,
- "height": 33,
+ "height": 27,
"layer": "top",
"modules-left": [
+ "custom/menu",
"niri/workspaces",
"niri/window"
],
@@ -14,9 +15,17 @@
"modules-right": [
"privacy",
"wireplumber",
- "clock"
+ "clock",
+ "custom/window-size",
+ "custom/close-window"
],
+ "custom/menu": {
+ "format": "Menu",
+ "tooltip": false,
+ "on-click": "fuzzel"
+ },
+
"niri/workspaces": {
"format": "{icon}",
"format-icons": {
@@ -31,17 +40,18 @@
"niri/window": {
"separate-outputs": true,
- "on-click": "fuzzel",
- "on-click-right": "niri msg action close-window",
- "on-click-middle": "niri msg action switch-preset-window-width"
+ "icon": true,
},
"mpris": {
- "player": "quodlibet",
- "format": "🎵 {dynamic}",
- "format-paused": "𝄩 {dynamic}",
- "format-stopped": "𝅀 idle",
- "dynamic-order": [ "artist", "title" ]
+ "ignored-players": [ "firefox", "mpv" ],
+ "format": "{status_icon} {dynamic}",
+ "dynamic-order": [ "artist", "title" ],
+ "status-icons": {
+ "playing": "🎶",
+ "paused": "𝄩",
+ "stopped": "𝄩"
+ }
},
"privacy": {
@@ -69,8 +79,8 @@
},
"wireplumber": {
- "format": "🔉 {volume}%",
- "format-muted": "🔇",
+ "format": "🎧 {volume}%",
+ "format-muted": "🔇 𝄩 ",
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
},
@@ -78,5 +88,15 @@
"interval": 30,
"format": "{:%H:%M %F}",
"tooltip": false,
+ },
+
+ "custom/window-size": {
+ "format": "📏",
+ "on-click": "niri msg action switch-preset-window-width"
+ },
+
+ "custom/close-window": {
+ "format": "❌",
+ "on-click": "niri msg action close-window"
}
}
diff --git a/waybar/style.css b/waybar/style.css
@@ -1,6 +1,6 @@
* {
border: none;
- border-radius: 6px;
+ border-radius: 0;
font-family: Bitstream Vera Sans;
font-size: 12pt;
min-height: 0;
@@ -9,54 +9,71 @@
}
window#waybar {
- background: transparent;
+ background: #000000;
color: #eaeaea;
}
-#window {
- margin-top: 5px;
- margin-left: 5px;
- margin-right: 5px;
-}
-
.module {
- border: solid 2px #666666;
- background: #000000;
- margin-top: 5px;
- margin-left: 5px;
- margin-right: 5px;
- margin-bottom: 0;
- padding-right: 2px;
+ border: none;
+ margin-left: 2px;
padding-left: 2px;
-}
-
-#privacy-item {
- border: solid 2px #666666;
- background: #000000;
- margin-top: 5px;
- margin-left: 5px;
- margin-bottom: 0;
+ padding-right: 2px;
}
tooltip {
- background: #666666;
+ background: #000000;
}
tooltip label {
color: #eaeaea;
}
+#custom-menu {
+ padding-right: 0;
+}
+
#workspaces {
padding: 0;
}
#workspaces button {
- background: transparent;
padding-right: 2px;
padding-left: 2px;
}
#workspaces button.active {
- color: #eaeaea;
+ color: #000000;
+ background: #7aa6da;
+}
+
+#window {
+ background: #7aa6da;
+ color: #000000;
+}
+
+#mpris {
+ background: #c397d8;
+ color: #000000;
+}
+
+#privacy-item {
+ border: none;
+ background: #000000;
+ margin-left: 5px;
+}
+
+#wireplumber {
+ min-width: 65px;
+ background: #e6c547;
+ color: #000000;
+}
+
+#custom-window-size {
+ min-width: 30px;
background: #7aa6da;
- border-radius: 3;
+}
+
+#custom-close-window {
+ min-width: 30px;
+ background: #7aa6da;
+ padding-right: 2px;
}