añade sink changer a polybar. actualiza shenv C.

también añade una extensión de vscode, pero hay que terminarla de
empaquetar
This commit is contained in:
Fabián Montero 2022-08-29 16:59:15 -06:00
parent dab6bd6dad
commit 1849b12393
4 changed files with 27 additions and 3 deletions

View file

@ -19,6 +19,7 @@ with lib;
laurenttreguier.vscode-simple-icons laurenttreguier.vscode-simple-icons
rust-lang.rust rust-lang.rust
sirtori.indenticator sirtori.indenticator
# twxs.cmake
]); ]);
userSettings = { userSettings = {
"files.autoSave" = "onFocusChange"; "files.autoSave" = "onFocusChange";

View file

@ -61,7 +61,7 @@ with lib;
modules-left = "i3"; modules-left = "i3";
modules-center = "xwindow"; modules-center = "xwindow";
modules-right = "xkeyboard pulseaudio filesystem memory cpu temperature gputemperature nvmetemperature wlan eth date semanatec"; modules-right = "xkeyboard pulseaudio sink_changer filesystem memory cpu temperature gputemperature nvmetemperature wlan eth date semanatec";
separator = "|"; separator = "|";
tray-position = "right"; tray-position = "right";
@ -85,7 +85,7 @@ with lib;
modules-left = "i3"; modules-left = "i3";
modules-center = "xwindow"; modules-center = "xwindow";
modules-right = "xkeyboard pulseaudio date"; modules-right = "xkeyboard pulseaudio sink_changer date";
tray-position = "none"; tray-position = "none";
}; };
@ -429,6 +429,16 @@ with lib;
menu-2-1-exec = "menu-open-0"; menu-2-1-exec = "menu-open-0";
}; };
"module/sink_changer" = {
type = "custom/script";
exec = "/home/fabian/bin/polybar_scripts/info.sh";
label = "%output%";
click-left = "/home/fabian/bin/polybar_scripts/sink_changer.sh";
# format-prefix = " ";
interval = "0";
# format-prefix-foreground = "${colors.foreground-alt}";
};
"settings" = { "settings" = {
screenchange-reload = true; screenchange-reload = true;
# compositing-background = "xor"; # compositing-background = "xor";

View file

@ -2,6 +2,7 @@
{ {
packages = with pkgs; [ packages = with pkgs; [
binutils binutils
cmake
gdb gdb
gcc-arm-embedded gcc-arm-embedded
gnumake gnumake

View file

@ -28,4 +28,16 @@
}; };
meta.license = lib.licenses.cc0; meta.license = lib.licenses.cc0;
}; };
/*
twxs.cmake = buildVscodeMarketplaceExtension {
mktplcRef = {
publisher = "twxs";
name = "twxs.cmake";
version = "0.0.17";
sha256 = ;
};
meta.license = lib.licenses.mit;
};
*/
} }