remove custom script for volume up

This commit is contained in:
Adithya 2023-04-06 02:06:11 +05:30
parent 43e9c908bc
commit 423c5d9104
Signed by: adtya
GPG key ID: 48FC9915FFD326D0

View file

@ -28,22 +28,6 @@ in
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" =
let
kitty = "${pkgs.kitty}/bin/kitty";