aboutsummaryrefslogtreecommitdiff
path: root/share/cfg/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/cfg/waybar.nix
parent1c716c86fd1f038e2e0a566593ba04676628b5e8 (diff)
Programming Feng Shui praxis
Diffstat (limited to 'share/cfg/waybar.nix')
-rw-r--r--share/cfg/waybar.nix50
1 files changed, 50 insertions, 0 deletions
diff --git a/share/cfg/waybar.nix b/share/cfg/waybar.nix
new file mode 100644
index 0000000..9df08b2
--- /dev/null
+++ b/share/cfg/waybar.nix
@@ -0,0 +1,50 @@
+{ ... }: {
+ programs.waybar = {
+ 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;
+ };
+}