aboutsummaryrefslogtreecommitdiff
path: root/share/home/waybar.nix
diff options
context:
space:
mode:
authorMiran Bastaja <miran.bastaja04@gmail.com>2024-04-06 20:08:58 +0200
committerMiran Bastaja <miran.bastaja04@gmail.com>2024-04-06 20:39:25 +0200
commit661d4964d99a0a5cbab358643c6a271422e0d001 (patch)
tree9ebc3d6316a1333a39b9817acb3753d8cdbfff7f /share/home/waybar.nix
parent1c716c86fd1f038e2e0a566593ba04676628b5e8 (diff)
Programming Feng Shui praxis
Diffstat (limited to 'share/home/waybar.nix')
-rw-r--r--share/home/waybar.nix51
1 files changed, 0 insertions, 51 deletions
diff --git a/share/home/waybar.nix b/share/home/waybar.nix
deleted file mode 100644
index 8830e78..0000000
--- a/share/home/waybar.nix
+++ /dev/null
@@ -1,51 +0,0 @@
-{ lib, ... }: {
- programs.waybar = {
- enable = true;
- systemd = {
- enable = true;
- target = "hyprland-session.target";
- };
- settings.mainBar = {
- layer = "top";
- position = "right";
- width = 40;
- reload_style_on_change = true;
-
- modules-left = [ "hyprland/workspaces" ];
- modules-right = [
- "battery"
- "network"
- "cpu"
- "memory"
- "temperature"
- "backlight"
- "clock"
- "tray"
- ];
-
- clock = {
- format = "{:%H:%m\n%b}";
- };
-
- battery = {
- format = lib.concatStringsSep "\n" [
- "{icon} {capacity}%"
- "󱐋 {power:4.1f} W"
- ];
- interval = 2;
- format-icons = [ "󰁺" "󰁻" "󰁼" "󰁽" "󰁾" "󰁿" "󰂀" "󰂁" "󰂂" "󰁹" ];
- };
-
- keyboard-state = {
- numlock = true;
- capslock = true;
- format = "{name} {icon}";
- format-icons = {
- locked = "";
- unlocked = "";
- };
- };
- }; # end of settings.mainBar
- style = builtins.readFile ./waybar.css;
- };
-}