Skip to content

Commit

Permalink
👁️‍🗨️
Browse files Browse the repository at this point in the history
  • Loading branch information
Enzime committed Dec 3, 2023
1 parent 7e2435a commit b257766
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
- Use `idle_inhibitor` `waybar` module
- Fixed `VSCode` always crashing under Wayland
- Added `scanners` module
- Added `builder` access for `hermes-nixos`
Expand Down
9 changes: 8 additions & 1 deletion modules/sway.nix
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
programs.waybar.settings = [{
modules-left = [ "sway/workspaces" "sway/mode" ];
modules-center = [ "sway/window" ];
modules-right = [ "battery" "clock" "tray" ];
modules-right = [ "idle_inhibitor" "battery" "clock" "tray" ];
"sway/window" = { max-length = 50; };
battery = {
format = "{capacity}% {icon}";
Expand All @@ -136,6 +136,13 @@
format = "{:%a %b %d %I:%M:%S %p}";
interval = 1;
};
idle_inhibitor = {
format = "{icon}";
format-icons = {
activated = "";
deactivated = "";
};
};
}];

programs.waybar.systemd.enable = true;
Expand Down

0 comments on commit b257766

Please # to comment.