aboutsummaryrefslogtreecommitdiff
path: root/modules/user/desktop/apps/waybar/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/user/desktop/apps/waybar/default.nix')
-rw-r--r--modules/user/desktop/apps/waybar/default.nix91
1 files changed, 0 insertions, 91 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;
- };
-}