summary refs log tree commit diff
path: root/mixins
diff options
context:
space:
mode:
Diffstat (limited to 'mixins')
-rw-r--r--mixins/sway.nix30
1 files changed, 28 insertions, 2 deletions
diff --git a/mixins/sway.nix b/mixins/sway.nix
index f1cf98d..db78c5c 100644
--- a/mixins/sway.nix
+++ b/mixins/sway.nix
@@ -30,7 +30,31 @@
       ${pkgs.slurp}/bin/slurp
     '';
 in {
-  # config.home-manager.users.tzlil.xdg.configFile."i3status-rust/config.toml".source = ./i3status-rs.toml;
+  config.home-manager.users.tzlil.xdg.configFile."i3status-rust/config.toml".text = ''
+  icons = "awesome6"
+
+  [theme]
+  name = "native"
+
+  [[block]]
+  block = "music"
+  hide_when_empty = true
+  marquee = false
+  on_click = "playerctl play-pause"
+  dynamic_width = true
+
+  [[block]]
+  block = "networkmanager"
+
+  [[block]]
+  block = "sound"
+  on_click = "pavucontrol"
+
+  [[block]]
+  block = "time"
+  interval = 60
+  format = "%a %Y-%m-%d %H:%M"
+  '';
   config.security.pam.services.swaylock = {};
   config.home-manager.users.tzlil.programs.mako.enable = true;
   config.home-manager.users.tzlil.home.packages = with pkgs; [
@@ -38,6 +62,8 @@ in {
     slurp
     wf-recorder
     font-awesome_6
+    waypipe
+    foot
   ];
   config.home-manager.users.tzlil.services.swayidle = let
     pgrep = "${pkgs.procps}/bin/pgrep";
@@ -110,7 +136,7 @@ in {
         }
       ];
 
-      modifier = "Mod4";
+      modifier = "Mod5";
       left = "h";
       down = "n";
       up = "e";