This commit is contained in:
ari committed 2025-09-18 12:46:12 -04:00
1 parent 57d6c968d9
commit 9f6ffaab98
5 files changed
+55 -41

No files matched your search

+5
View File
@@ -246,5 +246,10 @@ binds {
Mod+Q { close-window; }
Mod+Ctrl+P { spawn "waypaper" "--restore"; }
Mod+Ctrl+W {
spawn "sh" "-c" "/home/ari/.config/niri/waybar/start-up-script.sh";
}
}
spawn-at-startup "/home/ari/.config/niri/waybar/start-up-script.sh"
+8 -10
View File
@@ -1,6 +1,6 @@
* {
font-family: "Fira Code", "SF Pro Display", sans-serif;
font-size: 14px;
font-size: 10px;
}
window#waybar {
@@ -13,7 +13,8 @@ window#waybar.hidden {
}
/* === Reset button styles === */
button {
/* button {
box-shadow: none;
border: none;
border-radius: 0;
@@ -27,15 +28,14 @@ button:hover {
border: none;
-gtk-icon-effect: none;
-gtk-icon-shadow: none;
}
} */
/* === Workspaces as a tray === */
#workspaces {
/* #workspaces {
margin: 0 10px;
padding: 0 4px;
background: transparent;
border-bottom: 2px solid rgba(255, 255, 255, 0.15);
/* tray shelf line */
}
#workspaces button {
@@ -57,16 +57,14 @@ button:hover {
#workspaces button.urgent {
border-bottom: 2px solid #eb4d4b;
/* urgent = red underline */
}
} */
/* === Taskbar as a tray === */
#taskbar {
/* #taskbar {
background: transparent;
margin: 0 10px;
padding: 0 4px;
border-bottom: 2px solid rgba(255, 255, 255, 0.15);
/* tray shelf line */
}
#taskbar button {
@@ -87,4 +85,4 @@ button:hover {
#taskbar button.active:hover {
border-bottom: 2px solid rgba(255, 255, 255, 1.0);
}
} */
+2 -2
View File
@@ -2,8 +2,8 @@
"reload_style_on_change": true,
"layer": "top",
"position": "bottom", // Waybar at bottom layer
"height": 42,
"margin-top": 4,
"height": 10,
"margin-top": 0,
"margin-bottom": 4,
"margin-left": 4,
"margin-right": 4,
+7
View File
@@ -0,0 +1,7 @@
#!/bin/sh
killall -q waybar
waybar --config /home/ari/nixos-setup/configs/niri/waybar/bottom-bar.jsonc --style /home/ari/nixos-setup/configs/niri/waybar/bottom-bar.css &
waybar --config /home/ari/nixos-setup/configs/niri/waybar/top-bar.jsonc --style /home/ari/nixos-setup/configs/niri/waybar/top-bar.css &
waypaper --restore