diff options
Diffstat (limited to 'mixins')
-rw-r--r-- | mixins/sway.nix | 34 |
1 files changed, 28 insertions, 6 deletions
diff --git a/mixins/sway.nix b/mixins/sway.nix index d511984..09fc857 100644 --- a/mixins/sway.nix +++ b/mixins/sway.nix @@ -26,27 +26,49 @@ in { security.pam.services.swaylock = {}; home-manager.users.tzlil = { xdg.configFile."i3status-rust/config.toml".text = '' + [icons] icons = "awesome6" [theme] - name = "native" + theme = "semi-native" + [theme.overrides] + separator = "" [[block]] block = "music" - on_click = "playerctl play-pause" - dynamic_width = true + [[block.click]] + action = "play_pause" + button = "left" [[block]] - block = "networkmanager" + block = "net" + format = " $icon {$ssid |}$ip " + [[block]] + block = "memory" + format = " $icon $mem_total_used_percents.eng(w:2) " + + [[block]] + block = "cpu" + + [[block]] + block = "load" + + [[block]] + block = "battery" + interval = 10 + #format = "$percentage $time" [[block]] block = "sound" - on_click = "${pkgs.pavucontrol}/bin/pavucontrol" + headphones_indicator=true + [[block.click]] + cmd = "${pkgs.pavucontrol}/bin/pavucontrol" + button = "left" [[block]] block = "time" interval = 60 - format = "%a %Y-%m-%d %H:%M" + format = "$icon $timestamp.datetime(f:'%a %Y-%m-%d %H:%M')" ''; services.mako.enable = true; home.packages = with pkgs; [ |