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:
parent
dab6bd6dad
commit
1849b12393
|
@ -19,6 +19,7 @@ with lib;
|
|||
laurenttreguier.vscode-simple-icons
|
||||
rust-lang.rust
|
||||
sirtori.indenticator
|
||||
# twxs.cmake
|
||||
]);
|
||||
userSettings = {
|
||||
"files.autoSave" = "onFocusChange";
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
|
||||
|
@ -429,6 +429,16 @@ with lib;
|
|||
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;
|
||||
# compositing-background = "xor";
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
{
|
||||
packages = with pkgs; [
|
||||
binutils
|
||||
cmake
|
||||
gdb
|
||||
gcc-arm-embedded
|
||||
gnumake
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
*/
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue