vscode and title limit

This commit is contained in:
Daniel Lovbrotte Olsen 2022-10-04 01:57:51 +02:00
parent 9639108c53
commit 80fae0b504
3 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,5 @@
let
unstable = import <unstable> { };
unstable = import <nixos-unstable> { };
stable = import <nixpkgs> {};
nur = import <nur> { pkgs = unstable; };
in

View File

@ -194,6 +194,10 @@ in
package = pkgs.vscodium;
extensions = with pkgs.vscode-extensions; [
bbenoist.nix
matklad.rust-analyzer
vadimcn.vscode-lldb
] ++ lib.optionals config.nixpkgs.config.allowUnfree [
ms-vsliveshare.vsliveshare
];
userSettings = {

View File

@ -78,6 +78,7 @@ in
};
"module/title" = {
type = "internal/xwindow";
label-maxlen = 40;
};
"module/wlan" = lib.mkIf (config.machine.wlan != null) {
type = "internal/network";