aboutsummaryrefslogtreecommitdiffstats
path: root/users/sils/waybar/default.nix
diff options
context:
space:
mode:
authorSilas Schöffel <sils@sils.li>2024-04-04 17:06:23 +0200
committerSilas Schöffel <sils@sils.li>2024-04-04 17:06:23 +0200
commit924ec30e7075ea7a9dbac569a537d876f9146850 (patch)
tree11ff56048f05536a1905490137333b3596d0ee18 /users/sils/waybar/default.nix
parentusers/default.nix: delete (diff)
downloadnix-config-924ec30e7075ea7a9dbac569a537d876f9146850.zip
refactor: move users/sils dir to hm
Diffstat (limited to 'users/sils/waybar/default.nix')
-rw-r--r--users/sils/waybar/default.nix93
1 files changed, 0 insertions, 93 deletions
diff --git a/users/sils/waybar/default.nix b/users/sils/waybar/default.nix
deleted file mode 100644
index 18b659c..0000000
--- a/users/sils/waybar/default.nix
+++ /dev/null
@@ -1,93 +0,0 @@
-{pkgs, ...}: {
- programs.waybar = {
- enable = true;
- settings = {
- mainBar = {
- layer = "top";
- position = "top";
- modules-left = ["hyprland/workspaces" "clock"];
- modules-center = ["hyprland/window"];
- modules-right = ["pulseaudio" "network" "backlight" "battery" "tray"];
-
- "hyprland/workspaces" = {
- disable-scroll = false;
- sort-by-name = true;
- format = "{name}";
- #format-icons = {default = "";};
- on-sroll-up = "hyprctl dispatch workspace e+1";
- on-scroll-down = "hyprctl dispatch workspace e-1";
- on-click = "activate";
- };
-
- "hyprland/window" = {
- max-length = 200;
- separate-outputs = true;
- };
-
- pulseaudio = {
- format = " {icon} ";
- format-muted = "ﱝ";
- format-icons = ["奄" "奔" "墳"];
- tooltip = true;
- tooltip-format = "{volume}%";
- };
-
- network = {
- format-wifi = " ";
- format-disconnected = "睊";
- format-ethernet = " ";
- tooltip = true;
- tooltip-format = "{signalStrength}%";
- };
-
- backlight = {
- device = "intel_backlight";
- format = "{icon}";
- format-icons = ["" "" "" "" "" "" "" "" ""];
- tooltip = true;
- tooltip-format = "{percent}%";
- };
-
- battery = {
- states = {
- warning = 30;
- critical = 15;
- };
- format = "{capacity}% {icon}";
- format-charging = "";
- format-plugged = "";
- format-icons = ["" "" "" "" "" "" "" "" "" "" "" ""];
- tooltip = true;
- tooltip-format = "{capacity}%";
- };
-
- # "custom/power" = {
- # tooltip = false;
- # on-click = "powermenu";
- # format = "襤";
- # };
-
- clock = {
- tooltip-format = ''
- <big>{:%Y %B}</big>
- <tt><small>{calendar}</small></tt>'';
- format-alt = ''
- {:%d %m %Y}'';
- format = ''
- {:%H %M}'';
- };
-
- tray = {
- icon-size = 21;
- spacing = 10;
- };
- };
- };
-
- #style = ./style.css;
- systemd = {
- enable = true;
- target = "hyprland-session.target";
- };
- };
-}