summary refs log tree commit diff stats
path: root/users
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-05-28 10:13:43 +0200
committersils <sils@sils.li>2023-05-28 10:13:43 +0200
commitc266a9449d665cbf6e01ed1debea3157231f6c5f (patch)
tree214e6881af728ffa88cdcab85a00cb1597111692 /users
parentFeat(u/sils/packages): Add pulseaudio for audiocontrol (diff)
downloadnix-config-c266a9449d665cbf6e01ed1debea3157231f6c5f.tar.gz
nix-config-c266a9449d665cbf6e01ed1debea3157231f6c5f.zip
Feat(u/sils/river): Add keymappings for audiocontrol
Diffstat (limited to 'users')
-rw-r--r--users/sils/river/res/keys.ron9
1 files changed, 6 insertions, 3 deletions
diff --git a/users/sils/river/res/keys.ron b/users/sils/river/res/keys.ron
index 5653133..17ff54e 100644
--- a/users/sils/river/res/keys.ron
+++ b/users/sils/river/res/keys.ron
@@ -15,13 +15,16 @@ RiverctlCommandArray(
     RiverctlCommand( map_mode: Map,         mode: ["normal"],           key: "Print",                   mods: "None",           command: "spawn",               command_args: "~/repos/shell/scripts/screen_shot",),
 
     // Audio
-    RiverctlCommand( map_mode: Map,         mode: ["normal"],           key: "XF86AudioRaiseVolume",    mods: "None",           command: "spawn",               command_args: "pactl set-sink-volume 1 +5%",),
-    RiverctlCommand( map_mode: Map,         mode: ["normal", "locked"], key: "XF86AudioLowerVolume",    mods: "None",           command: "spawn",               command_args: "~/.local/bin/ytcs",),
-    RiverctlCommand( map_mode: Map,         mode: ["normal", "locked"], key: "XF86AudioMute",           mods: "None",           command: "spawn",               command_args: "~/repos/shell/scripts/mocs",),
+    RiverctlCommand( map_mode: Map,         mode: ["normal"],           key: "XF86AudioRaiseVolume",    mods: "None",           command: "spawn",               command_args: "pactl set-sink-volume @DEFAULT_SINK@ +1000",),
+    RiverctlCommand( map_mode: Map,         mode: ["normal", "locked"], key: "XF86AudioLowerVolume",    mods: "None",           command: "spawn",               command_args: "pactl set-sink-volume @DEFAULT_SINK@ -1000",),
+    RiverctlCommand( map_mode: Map,         mode: ["normal", "locked"], key: "XF86AudioMute",           mods: "None",           command: "spawn",               command_args: "pactl set-sink-mute @DEFAULT_SINK@ toggle",),
+    RiverctlCommand( map_mode: Map,         mode: ["normal", "locked"], key: "XF86AudioMicMute",           mods: "None",           command: "spawn",               command_args: "pactl set-source-mute @DEFAULT_SINK@ toggle",),
 
     // Launcher
     RiverctlCommand( map_mode: Map,         mode: ["normal"],           key: "R",                       mods: "Super",          command: "spawn",               command_args: "rofi -show drun",),
     RiverctlCommand( map_mode: Map,         mode: ["normal"],           key: "S",                       mods: "Super",          command: "spawn",               command_args: "rofi -show run",),
+
+    //Lockscreen
     RiverctlCommand( map_mode: Map,         mode: ["normal"],           key: "Q",                       mods: "Super",          command: "spawn",               command_args: "swaylock -f",),
 
     // Client