diff options
author | Daniel Schadt <kingdread@gmx.de> | 2023-01-13 22:02:18 +0100 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2023-01-13 22:02:18 +0100 |
commit | be81c204a7c35ab44b946f4f531e5dba74e8e45b (patch) | |
tree | e80c7e657531742f1d09cd3db832ccfc073727fd | |
parent | 55a4937d3012163a12d5565de5a1c3566dd1fb59 (diff) | |
download | dotfiles-be81c204a7c35ab44b946f4f531e5dba74e8e45b.tar.gz dotfiles-be81c204a7c35ab44b946f4f531e5dba74e8e45b.tar.bz2 dotfiles-be81c204a7c35ab44b946f4f531e5dba74e8e45b.zip |
[i3] implement XF86Audio keys
-rw-r--r-- | i3/.config/i3/config | 10 |
1 files changed, 9 insertions, 1 deletions
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 |