about summary refs log tree commit diff
path: root/home/profiles/base/config/waybar
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-07-25 18:58:27 +0900
committersefidel <contact@sefidel.net>2023-07-25 18:58:27 +0900
commitec647eecd447bfbbd8f7b6f2fe5bb65ebf9abf16 (patch)
treee36c9348852f95d95040ed61f7ee7a2b4501ef89 /home/profiles/base/config/waybar
parent6ccd70ae9afee4f9c98135502abca8f9d0f2b58d (diff)
downloadnixrc-ec647eecd447bfbbd8f7b6f2fe5bb65ebf9abf16.tar.gz
nixrc-ec647eecd447bfbbd8f7b6f2fe5bb65ebf9abf16.zip
feat(home): split gui from base
Diffstat (limited to 'home/profiles/base/config/waybar')
-rw-r--r--home/profiles/base/config/waybar/settings.nix64
-rw-r--r--home/profiles/base/config/waybar/style.nix80
2 files changed, 0 insertions, 144 deletions
diff --git a/home/profiles/base/config/waybar/settings.nix b/home/profiles/base/config/waybar/settings.nix
deleted file mode 100644
index 86e865a..0000000
--- a/home/profiles/base/config/waybar/settings.nix
+++ /dev/null
@@ -1,64 +0,0 @@
-{ neotheme }:
-
-with neotheme.colors;
-{
-  layer = "bottom";
-  position = "top";
-  height = 22;
-  modules-left = [ "pulseaudio" "custom/separator" "cpu" "custom/separator" "memory" "custom/separator" "idle_inhibitor" ];
-  modules-center = [ "sway/workspaces" ];
-  modules-right = [ "battery" "custom/separator" "clock" ];
-
-  "sway/workspaces" = {
-    all-outputs = true;
-    disable-scroll = false;
-    format = "{name}";
-    persistent_workspaces = {
-      "1:I" = [ ];
-      "2:II" = [ ];
-      "3:III" = [ ];
-      "4:IV" = [ ];
-      "5:V" = [ ];
-      "6:VI" = [ ];
-      "7:VII" = [ ];
-      "8:VIII" = [ ];
-      "9:IX" = [ ];
-      "10:X" = [ ];
-    };
-  };
-
-  "clock" = {
-    interval = 10;
-    format = "<span foreground='#${color5}'>TIME</span> {:%A, %b %d %H:%M}";
-  };
-
-  "cpu" = {
-    interval = 5;
-    format = "<span foreground='#${color2}'>CPU</span> {usage:2}%";
-  };
-
-  "pulseaudio" = {
-    format = "<span foreground='#${color4}'>VOL</span> {volume}%";
-    format-muted = "<span foreground='#${color4}'>VOL</span> Muted";
-  };
-
-  "memory" = {
-    interval = 5;
-    format = "<span foreground='#${color3}'>MEM</span> {used:0.2f}GiB";
-  };
-
-  "battery" = {
-    format = "<span foreground='#${color6}'>BATT</span> {capacity}%";
-    format-alt = "<span foreground='#${color6}'>PWR</span> {power}Wh";
-  };
-
-  "idle_inhibitor" = {
-    format = "<span foreground='#a89984'>CAFFEINE</span> {status}";
-  };
-
-  "custom/separator" = {
-    format = "|";
-    interval = "once";
-    tooltip = false;
-  };
-}
diff --git a/home/profiles/base/config/waybar/style.nix b/home/profiles/base/config/waybar/style.nix
deleted file mode 100644
index d8714ed..0000000
--- a/home/profiles/base/config/waybar/style.nix
+++ /dev/null
@@ -1,80 +0,0 @@
-{ neotheme }:
-
-with neotheme.colors;
-
-''
-  * {
-    border: none;
-    border-radius: 0;
-    font-family: "Dina, JetBrainsMono Nerd Font";
-    font-size: 12px;
-    min-height: 0;
-  }
-
-  window#waybar {
-    background: #${background};
-    color: #${foreground};
-    border-bottom: 1px solid #${bright0};
-  }
-
-  #workspaces button {
-    min-width: 0;
-    padding: 0 8px;
-    background: #${background};
-    color: #${foreground};
-    border-bottom: 1px solid #${bright0};
-  }
-
-  #workspaces button.focused {
-    color: #${foreground};
-    background-color: #${alt0};
-  }
-
-  #workspaces button.urgent {
-    color: #${color1};
-  }
-
-  #workspaces button.persistent {
-    color: #${alt1};
-  }
-
-  #workspaces button:hover {
-    color: #${foreground};
-    background: #${alt1};
-    box-shadow: inherit;
-    text-shadow: inherit;
-  }
-
-  #clock,
-  #cpu,
-  #temperature,
-  #backlight,
-  #battery,
-  #network,
-  #memory,
-  #idle_inhibitor,
-  #language,
-  #pulseaudio,
-  #tray,
-  #mode,
-  #mpd {
-    padding: 0.2rem 0.6rem;
-    margin: 0 2px;
-    color: #${foreground};
-    background-color: #${background};
-    border-bottom: 1px solid #${bright0};
-  }
-
-  @keyframes blink {
-    to {
-      background-color: #${color4};
-      color: #${background};
-    }
-  }
-
-  #custom-separator {
-    color: #${alt1};
-    background-color: #${background};
-    border-bottom: 1px solid #${bright0};
-  }
-''