mirror of
https://github.com/nmasur/dotfiles
synced 2026-10-29 15:25:02 +00:00
remove extraLib, replace mkScript with writeShellApplication
This commit is contained in:
1 parent
1cf5f46adf
commit
53a8cc83ea
4 files changed
+6
-23
No files matched your search
@@ -167,10 +167,10 @@ in {
|
||||
altTabCommand = "${rofi}/bin/rofi -show window -modi window";
|
||||
calculatorCommand = "${rofi}/bin/rofi -modes calc -show calc";
|
||||
audioSwitchCommand = "${
|
||||
(pkgs.extraLib.mkScript {
|
||||
(pkgs.writeShellApplication {
|
||||
name = "switch-audio";
|
||||
file = ./rofi/pulse-sink.sh;
|
||||
env = [ pkgs.ponymix rofi ];
|
||||
runtimeInputs = [ pkgs.ponymix rofi ];
|
||||
text = builtins.readFile ./rofi/pulse-sink.sh;
|
||||
})
|
||||
}/bin/switch-audio";
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user