From be81c204a7c35ab44b946f4f531e5dba74e8e45b Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Fri, 13 Jan 2023 22:02:18 +0100 Subject: [i3] implement XF86Audio keys --- i3/.config/i3/config | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'i3') diff --git a/i3/.config/i3/config b/i3/.config/i3/config index 7359574..e5a24fb 100644 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config @@ -130,6 +130,14 @@ bindsym $mod+Shift+r restart # exit i3 (logs you out of your X session) bindsym $mod+Shift+q exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'" +# Audio volumne +bindsym XF86AudioLowerVolume exec --no-startup-id "pactl set-sink-volume @DEFAULT_SINK@ -2%" +bindsym XF86AudioRaiseVolume exec --no-startup-id "pactl set-sink-volume @DEFAULT_SINK@ +2%" +bindsym XF86AudioMute exec --no-startup-id "pactl set-sink-mute @DEFAULT_SINK@ toggle" + +# Calculator +bindsym XF86Calculator exec --no-startup-id "qalculate-gtk" + # Window switcher (requires rofi) bindsym $mod+Tab exec --no-startup-id "rofi -show window" bindsym $mod+Shift+d exec --no-startup-id "rofi -show drun" @@ -171,9 +179,9 @@ bindsym $mod+r mode "resize" exec --no-startup-id ~/.fehbg exec --no-startup-id xset -b -exec --no-startup-id setxkbmap -option grp:alt_space_toggle "de(nodeadkeys),ru" exec --no-startup-id dunst exec --no-startup-id alttab -fg "#d58681" -bg "#4a4a4a" -frame "#eb564d" -t 128x150 -i 127x64 -d 1 +exec --no-startup-id setxkbmap de nodeadkeys new_window pixel 4 gaps inner 10 -- cgit v1.2.3