diff options
| author | Raghuram Subramani <raghus2247@gmail.com> | 2024-01-29 18:18:20 +0530 |
|---|---|---|
| committer | Raghuram Subramani <raghus2247@gmail.com> | 2024-01-29 18:18:20 +0530 |
| commit | ce7bfb60f0f5f4b15eb97d9979a137a74edfbf29 (patch) | |
| tree | cdeb169b3770199541712d8f5c4730507372fbf8 | |
| parent | e7d5f4f5b1d8f58d99c7b584e3be6dab2955c914 (diff) | |
update
Diffstat (limited to '')
| -rw-r--r-- | config/waybar/config | 14 | ||||
| -rw-r--r-- | config/waybar/style.css | 83 | ||||
| -rw-r--r-- | home.nix | 2 |
3 files changed, 51 insertions, 48 deletions
diff --git a/config/waybar/config b/config/waybar/config index 01400fa..6eca628 100644 --- a/config/waybar/config +++ b/config/waybar/config @@ -10,7 +10,19 @@ }, "hyprland/workspaces": { "disable-scroll": true, - "on-click": "activate" + "on-click": "activate", + "persistent-workspaces": { + "*": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] + }, + "format": "{icon}", + "format-icons": { + "urgent": "", + "active": "", + "empty": "", + "default": "", + "visible": "", + "sort-by-number": true + } }, "hyprland/window": { "format": "> {title}", diff --git a/config/waybar/style.css b/config/waybar/style.css index a42db21..df37173 100644 --- a/config/waybar/style.css +++ b/config/waybar/style.css @@ -1,24 +1,24 @@ * { - font-family: UbuntuMono Nerd Font Mono; - font-weight: 500; - font-size: 16px; + font-family: UbuntuMono Nerd Font Mono; + font-weight: 500; + font-size: 16px; } window#waybar { - background-color: rgba(27, 27, 27, 1); - color: #f2f0fa; - transition-property: background-color; - transition-duration: .5s; + background-color: rgba(27, 27, 27, 1); + color: #f2f0fa; + transition-property: background-color; + transition-duration: .5s; } button { - box-shadow: inset 0 -3px transparent; - border: none; - border-radius: 0px; + box-shadow: inset 0 -3px transparent; + border: none; + border-radius: 0px; } button:hover { - background: inherit; + background: inherit; } #custom-launcher { @@ -27,43 +27,32 @@ button:hover { } #workspaces { - border-radius: 10px; - background-color: #f2f0fa; - color: #272727; - padding: 0 10px; + border-radius: 10px; + background-color: #f2f0fa; + color: #272727; + padding: 0 10px; } #workspaces button { - padding: 0 10px; - color: #272727; - background-color: #f2f0fa; -} - -#workspaces button.active { - color: #272727; - background-color: #f2f0fa; -} - -#workspaces button.urgent { - color: #272727; - background-color: #f2f0fa; + padding: 0 10px; + color: #272727; + background-color: #f2f0fa; } #clock { - padding: 0 10px; - margin: 0 10px; - color: #f2f0fa; - border-radius: 0px; + padding: 0 10px; + margin: 0 10px; + color: #f2f0fa; + border-radius: 0px; } #battery, #cpu, -#backlight, -#tray { - padding: 0 10px; - margin: 0 0px; - background-color: #f2f0fa; - color: #272727; +#backlight { + padding: 0 10px; + margin: 0 0px; + background-color: #f2f0fa; + color: #272727; } #battery { @@ -75,34 +64,36 @@ button:hover { } #tray { + padding: 0 10px; + margin: 0 0px; border-radius: 10px; margin: 0 10px; } #window, #workspaces { - margin: 0 4px; + margin: 0 4px; } /* If workspaces is the leftmost module, omit left margin */ .modules-left > widget:first-child > #workspaces { - margin-left: 0; + margin-left: 0; } #battery.critical:not(.charging) { - background-color: #f53c3c; - color: #ffffff; + background-color: #f53c3c; + color: #ffffff; } label:focus { - background-color: #000000; + background-color: #000000; } #tray > .passive { - -gtk-icon-effect: dim; + -gtk-icon-effect: dim; } #tray > .needs-attention { - -gtk-icon-effect: highlight; - background-color: #eb4d4b; + -gtk-icon-effect: highlight; + background-color: #eb4d4b; } @@ -117,7 +117,7 @@ in enable = true; theme = { name = "adw-gtk3-dark"; package = pkgs.adw-gtk3; }; - iconTheme = { name = "Papirus-Light"; package = pkgs.papirus-icon-theme; }; + iconTheme = { name = "Papirus-Dark"; package = pkgs.papirus-icon-theme; }; font = { name = "UbuntuMono Nerd Font"; }; }; |
