aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMiran Bastaja <miran.bastaja04@gmail.com>2024-03-17 18:28:56 +0100
committerMiran Bastaja <miran.bastaja04@gmail.com>2024-03-17 18:28:56 +0100
commit46bd3c942abdcd713c0132c4d66b2dfcf1b40613 (patch)
tree893a195b903695f8fd90cab7522b02f8c0184c63 /share
parentcfa38f5cb1f5d2c32e8e2c2f38b15b1017bd1c6f (diff)
waybar config WIP
Diffstat (limited to 'share')
-rw-r--r--share/home/waybar.css57
-rw-r--r--share/home/waybar.nix7
2 files changed, 8 insertions, 56 deletions
diff --git a/share/home/waybar.css b/share/home/waybar.css
index b585939..c2213cb 100644
--- a/share/home/waybar.css
+++ b/share/home/waybar.css
@@ -16,15 +16,6 @@ window#waybar.hidden {
opacity: 0.2;
}
-/*
-window#waybar.empty {
- background-color: transparent;
-}
-window#waybar.solo {
- background-color: #FFFFFF;
-}
-*/
-
window#waybar.termite {
background-color: #3F3F3F;
}
@@ -49,7 +40,7 @@ button:hover {
}
#workspaces button {
- padding: 0 5px;
+ padding: 0;
background-color: transparent;
color: #ffffff;
}
@@ -89,25 +80,14 @@ button:hover {
#scratchpad,
#power-profiles-daemon,
#mpd {
- padding: 0 10px;
+ padding: 0;
color: #ffffff;
}
-#window,
-#workspaces {
+#window {
margin: 0 4px;
}
-/* If workspaces is the leftmost module, omit left margin */
-.modules-left > widget:first-child > #workspaces {
- margin-left: 0;
-}
-
-/* If workspaces is the rightmost module, omit right margin */
-.modules-right > widget:last-child > #workspaces {
- margin-right: 0;
-}
-
#clock {
background-color: #64727D;
}
@@ -207,20 +187,6 @@ label:focus {
background-color: #f53c3c;
}
-#custom-media {
- background-color: #66cc99;
- color: #2a5c45;
- min-width: 100px;
-}
-
-#custom-media.custom-spotify {
- background-color: #66cc99;
-}
-
-#custom-media.custom-vlc {
- background-color: #ffa000;
-}
-
#temperature {
background-color: #f0932b;
}
@@ -251,23 +217,6 @@ label:focus {
color: #2d3436;
}
-#mpd {
- background-color: #66cc99;
- color: #2a5c45;
-}
-
-#mpd.disconnected {
- background-color: #f53c3c;
-}
-
-#mpd.stopped {
- background-color: #90b1b1;
-}
-
-#mpd.paused {
- background-color: #51a37a;
-}
-
#language {
background: #00b093;
color: #740864;
diff --git a/share/home/waybar.nix b/share/home/waybar.nix
index 6f85d96..8830e78 100644
--- a/share/home/waybar.nix
+++ b/share/home/waybar.nix
@@ -8,7 +8,7 @@
settings.mainBar = {
layer = "top";
position = "right";
- width = 15;
+ width = 40;
reload_style_on_change = true;
modules-left = [ "hyprland/workspaces" ];
@@ -19,11 +19,14 @@
"memory"
"temperature"
"backlight"
- "keyboard-state"
"clock"
"tray"
];
+ clock = {
+ format = "{:%H:%m\n%b}";
+ };
+
battery = {
format = lib.concatStringsSep "\n" [
"{icon} {capacity}%"