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
rust-lang.rust
sirtori.indenticator
# twxs.cmake
]);
userSettings = {
"files.autoSave" = "onFocusChange";
@ -40,4 +41,4 @@ with lib;
"editor.autoClosingQuotes" = "never";
};
};
}
}

View file

@ -61,7 +61,7 @@ with lib;
modules-left = "i3";
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 = "|";
tray-position = "right";
@ -85,7 +85,7 @@ with lib;
modules-left = "i3";
modules-center = "xwindow";
modules-right = "xkeyboard pulseaudio date";
modules-right = "xkeyboard pulseaudio sink_changer date";
tray-position = "none";
};
@ -428,6 +428,16 @@ with lib;
menu-2-1 = "cancel";
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" = {
screenchange-reload = true;

View file

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

View file

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