aboutsummaryrefslogtreecommitdiff
path: root/modules/waybar.nix
diff options
context:
space:
mode:
authorschererleander <leander@schererleander.de>2025-07-29 02:03:38 +0200
committerschererleander <leander@schererleander.de>2025-07-29 02:03:38 +0200
commitc2f0d9bebe68c11f4d018a18bd5d3880712c6873 (patch)
treed40b3e3faf65fdc618c2dd62cd548aac6e545ac4 /modules/waybar.nix
parent97cf1a9390cbb56bb904c777ebe8f6f559a7d8a4 (diff)
chore: move home-manager modules in seperate folder
Diffstat (limited to 'modules/waybar.nix')
-rw-r--r--modules/waybar.nix90
1 files changed, 0 insertions, 90 deletions
diff --git a/modules/waybar.nix b/modules/waybar.nix
deleted file mode 100644
index a3adb3b..0000000
--- a/modules/waybar.nix
+++ /dev/null
@@ -1,90 +0,0 @@
-{ config, lib, pkgs, ... }:
-
-{
- options.waybar.enable = lib.mkEnableOption "Enable and configure Waybar";
- config = lib.mkIf config.waybar.enable {
-
- programs.waybar = {
- enable = true;
- settings = {
- mainBar = {
- height = 15;
- layer = "top";
- position = "bottom";
- modules-center = [ ];
- modules-left = [ "sway/workspaces" ];
- modules-right = [
- "tray"
- "privacy"
- "battery"
- "pulseaudio"
- "network"
- "bluetooth"
- "clock"
- ];
-
- tray = { spacing = 10; };
-
- privacy = { icon-size = 16; };
-
- network = {
- format-disconnect = "";
- format-ethernet = "";
- format-wifi = "{icon} {signalStrength}";
- format-icon = [ "󰤟" "󰤢" "󰤥" "󰤨" ];
- tooltip-format-wifi = "{essid}";
- tooltip-format-ethernet = "{ifname}";
- };
-
- bluetooth = {
- format = " {status}";
- format-disabled = "";
- format-no-controller = "";
- format-connected = " {device_alias}";
- tooltip = false;
- };
-
- clock = {
- format-alt = "{:%Y-%m-%d}";
- tooltip-format = "{:%Y-%m-%d | %H:%M}";
- };
-
- pulseaudio = {
- format = "{icon} {volume}%";
- format-bluetooth = "{volume}% {icon}";
- format-icons = {
- default = [ "" "" "" ];
- };
- };
- };
- };
-
- style = ''
- * {
- border: none;
- border-radius: 0;
- font-family: monospace;
- font-size: 12px;
- }
-
- window#waybar {
- background: rgba(0, 0, 0, 0.9);
- }
-
- #workspaces button {
- padding-left: 5px;
- padding-right: 5px;
- }
-
- #workspaces button.focused {
- font-weight: bold;
- }
-
- #clock, #pulseaudio, #tray, #network, battery, bluetooth {
- padding-left: 5px;
- padding-right: 5px;
- }
- '';
- };
- };
-}