From 423c5d91041864c24fd1a016924910a3e82823c5 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Thu, 6 Apr 2023 02:06:11 +0530 Subject: [PATCH] remove custom script for volume up --- home/scripts.nix | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/home/scripts.nix b/home/scripts.nix index 366c1a9..54a2546 100644 --- a/home/scripts.nix +++ b/home/scripts.nix @@ -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";