1
0
mirror of https://github.com/kmein/niveum synced 2026-03-21 04:11:07 +01:00

feat: depend less on nixpkgs-unstable

This commit is contained in:
Kierán Meinhardt
2020-10-16 08:23:27 +02:00
parent d6a2e05590
commit 838efd4093
8 changed files with 11 additions and 12 deletions

View File

@@ -29,10 +29,10 @@ let
};
};
new-workspace = pkgs.unstable.writers.writeDash "new-workspace" ''
new-workspace = pkgs.writers.writeDash "new-workspace" ''
i3-msg workspace $(($(i3-msg -t get_workspaces | tr , '\n' | grep '"num":' | cut -d : -f 2 | sort -rn | head -1) + 1))
'';
move-to-new-workspace = pkgs.unstable.writers.writeDash "new-workspace" ''
move-to-new-workspace = pkgs.writers.writeDash "new-workspace" ''
i3-msg move container to workspace $(($(i3-msg -t get_workspaces | tr , '\n' | grep '"num":' | cut -d : -f 2 | sort -rn | head -1) + 1))
'';
@@ -146,7 +146,7 @@ in with config.niveum; {
text = colours.foreground;
};
};
statusCommand = "${pkgs.unstable.i3status-rust}/bin/i3status-rs ${
statusCommand = "${pkgs.i3status-rust}/bin/i3status-rs ${
pkgs.writeTOML (import <niveum/dot/i3status-rust.nix> {
wifi-interface = networkInterfaces.wireless;
batteryBlock = batteryBlocks.default;