From c266a9449d665cbf6e01ed1debea3157231f6c5f Mon Sep 17 00:00:00 2001 From: sils Date: Sun, 28 May 2023 10:13:43 +0200 Subject: Feat(u/sils/river): Add keymappings for audiocontrol --- users/sils/river/res/keys.ron | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'users') 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 -- cgit 1.4.1