aboutsummaryrefslogtreecommitdiff
path: root/modules/user/desktop/apps/waybar
diff options
context:
space:
mode:
authorRosa <rosaontheweb@proton.me>2026-08-09 01:21:53 -0400
committerRosa <rosaontheweb@proton.me>2026-08-09 01:21:53 -0400
commit983bfb52a200a94b17ad280e10eeeec7683affba (patch)
tree2e79cac1afdc640537b252a04f9af99f2bb3d968 /modules/user/desktop/apps/waybar
parentafc0ab72138a6058a9ca98f2cbe13c21f88daa7d (diff)
start rewriterefactor
Diffstat (limited to 'modules/user/desktop/apps/waybar')
-rw-r--r--modules/user/desktop/apps/waybar/default.nix91
-rw-r--r--modules/user/desktop/apps/waybar/style.css68
2 files changed, 0 insertions, 159 deletions
diff --git a/modules/user/desktop/apps/waybar/default.nix b/modules/user/desktop/apps/waybar/default.nix
deleted file mode 100644
index 2c68fd5..0000000
--- a/modules/user/desktop/apps/waybar/default.nix
+++ /dev/null
@@ -1,91 +0,0 @@
-{ config, ... }:
-{
- programs.waybar = {
- settings.main = {
- layer = "bottom";
- position = "bottom";
- modules-left = [ "sway/workspaces" ];
- modules-center = [ "clock" ];
- modules-right = [
- "wireplumber"
- "battery"
- "backlight"
- "sway/language"
- "tray"
- ];
-
- backlight = {
- format = "{icon}";
- format-icons = [
- ""
- "󰖨"
- ];
- tooltip-format = "{percent}%";
- };
-
- battery = {
- format = "{icon}";
- format-critical = "{icon} {capacity}%";
- format-icons = {
- good = [ "" ];
- okay = [ "" ];
- mediocre = [ "" ];
- low = [ "" ];
- critical = [ "" ];
- };
-
- format-low = "{icon} {capacity}%";
- format-time = "{H}h{m}m";
- states = {
- good = 85;
- okay = 75;
- mediocre = 50;
- low = 25;
- critical = 10;
- };
-
- tooltip-format = "{timeTo} ({power}W)";
- tooltip-format-critical = "please. charge me.";
- };
-
- clock = {
- format = "{:%A, %b %d %Y | %H:%M}";
- };
-
- "sway/language" = {
- on-click = "swaymsg input type:keyboard xkb_switch_layout next";
- tooltip-format = "{long}";
- };
-
- "sway/workspaces" = {
- all-outputs = true;
- disable-auto-back-and-forth = true;
- format = "{icon}";
- format-icons = {
- "1" = "I";
- "2" = "II";
- "3" = "III";
- "4" = "IV";
- "5" = "V";
- "6" = "VI";
- "7" = "VII";
- "8" = "VIII";
- "9" = "IX";
- };
- };
-
- wireplumber = {
- format = "{icon}";
- format-icons = [
- "󰕿"
- "󰖀"
- "󰕾"
- ];
- format-muted = "󰝟";
- tooltip-format = "{node_name} ({volume}%)";
- };
- };
-
- style = builtins.readFile ./style.css;
- };
-}
diff --git a/modules/user/desktop/apps/waybar/style.css b/modules/user/desktop/apps/waybar/style.css
deleted file mode 100644
index 86e5737..0000000
--- a/modules/user/desktop/apps/waybar/style.css
+++ /dev/null
@@ -1,68 +0,0 @@
-* {
- border: none;
- border-radius: 0;
- font-family: 'FiraCode Nerd Font', monospace;
- font-size: 10pt;
- min-height: 0;
-}
-
-window#waybar {
- background: transparent;
- color: #cdd6f4;
-}
-
-tooltip {
- background: #181825;
- border: 2px solid #cba6f7;
-}
-
-tooltip label {
- color: #cdd6f4;
-}
-
-.modules-left, .modules-center, .modules-right {
- margin: 0 6px; /* don't ask. the outer gaps are set to 4px but they're actually 6px */
-}
-
-
-#workspaces button {
- background: none;
- box-shadow: none;
- color: #6c7086;
- min-width: 0px;
- padding: 0;
- padding-right: 1em;
-}
-
-#workspaces button.visible {
- color: #a6adc8;
-}
-
-#workspaces button.focused {
- color: #cba6f7;
-}
-
-#workspaces button.urgent {
- color: #f38ba8;
-}
-
-#workspaces button:hover {
- color: #cdd6f4;
- text-shadow: inherit;
-}
-
-#backlight, #battery, #language, #tray, #wireplumber {
- padding-left: 1em;
-}
-
-#backlight, #battery, #language, #wireplumber {
- min-width: 1.5em; /* font weirdness */
-}
-
-#battery.critical {
- color: #f38ba8;
-}
-
-#battery.charging {
- color: #a6e3a1;
-}