remove custom script for volume up
This commit is contained in:
parent
43e9c908bc
commit
423c5d9104
1 changed files with 0 additions and 16 deletions
|
@ -28,22 +28,6 @@ in
|
||||||
executable = true;
|
executable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
"scripts/volume_up.sh" =
|
|
||||||
let
|
|
||||||
wpctl = "${pkgs.wireplumber}/bin/wpctl";
|
|
||||||
in
|
|
||||||
{
|
|
||||||
executable = true;
|
|
||||||
text = ''
|
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
set -eu
|
|
||||||
|
|
||||||
${wpctl} set-mute @DEFAULT_AUDIO_SINK@ 0
|
|
||||||
[ $(${wpctl} get-volume @DEFAULT_AUDIO_SINK@ | awk -F': ' '{print $2}' | sed 's/\.//') -lt 100 ] && ${wpctl} set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
"scripts/tmux_sessions.sh" =
|
"scripts/tmux_sessions.sh" =
|
||||||
let
|
let
|
||||||
kitty = "${pkgs.kitty}/bin/kitty";
|
kitty = "${pkgs.kitty}/bin/kitty";
|
||||||
|
|
Loading…
Reference in a new issue