diff options
author | tzlil <tzlils@protonmail.com> | 2022-12-15 10:15:20 +0200 |
---|---|---|
committer | tzlil <tzlils@protonmail.com> | 2022-12-15 10:15:20 +0200 |
commit | f797764449d03d0f72ed9df9fc521edb546dafa1 (patch) | |
tree | 52e0fa696b69caf62b15857af2e0839d09081dcb /mixins | |
parent | 9808188cc868a741d9710f2b075ada46d8f8c89d (diff) |
discard deploy-rs for now, add i3status-rs config
Diffstat (limited to 'mixins')
-rw-r--r-- | mixins/sway.nix | 30 |
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"; |