From 7344e89f4c1ddf3df86f58c71b05b0e2f7f1a655 Mon Sep 17 00:00:00 2001 From: Matt Nish-Lapidus Date: Wed, 19 Feb 2025 09:55:10 -0500 Subject: [PATCH] updating bitwig and idle settings --- flake.lock | 50 +++++++++---------- .../emenel/dotfiles/dot_config/waybar/config | 14 +++++- modules/home/waybar.nix | 15 +++++- 3 files changed, 50 insertions(+), 29 deletions(-) diff --git a/flake.lock b/flake.lock index 35b5603..960f7e0 100644 --- a/flake.lock +++ b/flake.lock @@ -31,11 +31,11 @@ ] }, "locked": { - "lastModified": 1739463725, - "narHash": "sha256-gTqrithnlXsx8Frhrcp5933v37CDJinZous1tzWZZzo=", + "lastModified": 1739976297, + "narHash": "sha256-mhb3TocVhkT6tq5xhLOcYsCv+tSBhc4vRJLZI6BeFJs=", "ref": "refs/heads/master", - "rev": "51f5ac8104e9de1cfc02b3cff3c8f96220fdb34c", - "revCount": 106, + "rev": "81cf964ba04f851151bdd747c59901a1f4cbc1ce", + "revCount": 108, "type": "git", "url": "https://gt.emenel.ca/emenel/audio.nix.git" }, @@ -69,11 +69,11 @@ "nixpkgs-stable": "nixpkgs-stable" }, "locked": { - "lastModified": 1739899089, - "narHash": "sha256-c4unvat02RCCVSoA2m+b5ueGpLSgHPNINiEQHnfclnM=", + "lastModified": 1739957290, + "narHash": "sha256-Qg4I6ir9XfV+ZOi5YeuLPvUmIbkeXK8OvjoFf+qn1/I=", "owner": "nix-community", "repo": "emacs-overlay", - "rev": "27a753338e52cb2ad04b534861054f415e596b42", + "rev": "4e9632a65f5be82a51decac2020b0b360215f456", "type": "github" }, "original": { @@ -649,11 +649,11 @@ }, "locked": { "dir": "nix", - "lastModified": 1739789146, - "narHash": "sha256-3zqH3j31nBzYWm+8jYZ43lOc8co52X/Y4KZIeB7WoLM=", + "lastModified": 1739962668, + "narHash": "sha256-ns7btNiKU6+JViXt6k3g7iQp2Xyy0ZCi3wf59y3lS6s=", "owner": "kmonad", "repo": "kmonad", - "rev": "964ebcfc8ce2a3f0ae830fe72474452d5b92ce1e", + "rev": "356c69f45b8cbb3c875616c91892f8b28ce40c13", "type": "github" }, "original": { @@ -712,11 +712,11 @@ "xwayland-satellite-unstable": "xwayland-satellite-unstable" }, "locked": { - "lastModified": 1739897676, - "narHash": "sha256-KmUgfOAfv5pX7SJ/mJx5SQh5ASJ5VvGybK1z4PM9uV4=", + "lastModified": 1739944956, + "narHash": "sha256-qGOyv8cudQw1KIHNckU/eo09zjcc4NPis8J4v+XeXDE=", "owner": "sodiboo", "repo": "niri-flake", - "rev": "e58e05180fc2acdb44e3eeed4b727150f2c53cea", + "rev": "8bfb763f07fd9106e032590d071c30450e3b80f6", "type": "github" }, "original": { @@ -745,11 +745,11 @@ "niri-unstable": { "flake": false, "locked": { - "lastModified": 1739894800, - "narHash": "sha256-HCIjqtyo2d7UaLGP6NkUd0sRe6zbN1NvrYlPDdYl/Wo=", + "lastModified": 1739940569, + "narHash": "sha256-r624MtdcINkMlyXvvizg8b6Ig1fv4lLvjdgKM2ejaS0=", "owner": "YaLTeR", "repo": "niri", - "rev": "dca187de37164df2584f7388cd0bb6429337a580", + "rev": "74787843430cff26c5308e95051b7e9f5dc4252c", "type": "github" }, "original": { @@ -992,11 +992,11 @@ }, "nixpkgs_3": { "locked": { - "lastModified": 1739736696, - "narHash": "sha256-zON2GNBkzsIyALlOCFiEBcIjI4w38GYOb+P+R4S8Jsw=", + "lastModified": 1739866667, + "narHash": "sha256-EO1ygNKZlsAC9avfcwHkKGMsmipUk1Uc0TbrEZpkn64=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "d74a2335ac9c133d6bbec9fc98d91a77f1604c1f", + "rev": "73cf49b8ad837ade2de76f87eb53fc85ed5d4680", "type": "github" }, "original": { @@ -1040,11 +1040,11 @@ }, "nixpkgs_6": { "locked": { - "lastModified": 1739736696, - "narHash": "sha256-zON2GNBkzsIyALlOCFiEBcIjI4w38GYOb+P+R4S8Jsw=", + "lastModified": 1739866667, + "narHash": "sha256-EO1ygNKZlsAC9avfcwHkKGMsmipUk1Uc0TbrEZpkn64=", "owner": "nixos", "repo": "nixpkgs", - "rev": "d74a2335ac9c133d6bbec9fc98d91a77f1604c1f", + "rev": "73cf49b8ad837ade2de76f87eb53fc85ed5d4680", "type": "github" }, "original": { @@ -1429,11 +1429,11 @@ "rust-overlay": "rust-overlay_2" }, "locked": { - "lastModified": 1739776850, - "narHash": "sha256-XWzxhk0Nrw9cu6E5yjsmhAVfbt9ArVN54zz8qgzBA/I=", + "lastModified": 1739960481, + "narHash": "sha256-+s4de3n935dZLoW/EVGTbeZrVW2gR1Xzrxr+Rbh4pok=", "owner": "sxyazi", "repo": "yazi", - "rev": "1ddbbfea711636dcb997239ea9d2b483cea16f80", + "rev": "4465101089ffe7b4d758a3de949084cc556ac979", "type": "github" }, "original": { diff --git a/homes/emenel/dotfiles/dot_config/waybar/config b/homes/emenel/dotfiles/dot_config/waybar/config index 2010d1a..8756492 100644 --- a/homes/emenel/dotfiles/dot_config/waybar/config +++ b/homes/emenel/dotfiles/dot_config/waybar/config @@ -13,6 +13,7 @@ "wireplumber", "power-profiles-daemon", "upower", + "idle_inhibitor", "custom/notification", ], @@ -36,7 +37,15 @@ "on-click-right": "swaync-client -d -sw", "escape": true }, - + "idle_inhibitor": { + "format": "{icon}", + "tooltip-format-activated": "idle inhibitor: {status}", + "tooltip-format-deactivated": "idle inhibitor: {status}", + "format-icons": { + "activated": "󱡆", + "deactivated": "󱡇" + } + }, "power-profiles-daemon": { "format": "{icon}", "tooltip-format": "Power profile: {profile}\nDriver: {driver}", @@ -44,7 +53,7 @@ "format-icons": { "default": "?", "performance": "", - "balanced": "", + "balanced": "", "power-saver": "" } }, @@ -88,6 +97,7 @@ "on-click": "pavucontrol" }, "mpris": { + "dynamic-order": ["title", "artist", "album", "length"], "format": "{player_icon} {dynamic}", "format-paused": "{status_icon} {dynamic}", "dynamic-len": 75, diff --git a/modules/home/waybar.nix b/modules/home/waybar.nix index ef3a28f..c30b732 100644 --- a/modules/home/waybar.nix +++ b/modules/home/waybar.nix @@ -67,9 +67,20 @@ window#waybar { padding: 0 20px; } +#battery { + padding-right: 0; +} + #custom-notification { min-width: 30px; - padding-right: 5px; + padding-right: 6px; + font-size: 13pt; +} + +#idle_inhibitor { + min-width: 30px; + padding-left: 0; + font-size: 13pt; } #power-profiles-daemon { @@ -87,7 +98,7 @@ window#waybar { } #clock{ - padding-left: 5px; + padding-left: 6px; color: ${strPalette.normal.magenta}; }