From 8c6a913ca8b4f810c4a59ecc63da96e35b38418f Mon Sep 17 00:00:00 2001 From: tzlil Date: Sun, 14 May 2023 00:25:03 +0300 Subject: persist schildi on laptop, recommit i3status config --- mixins/sway.nix | 34 ++++++++++++++++++++++++++++------ 1 file changed, 28 insertions(+), 6 deletions(-) (limited to 'mixins') 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; [ -- cgit 1.4.1