diff options
author | Alex Auvolat <alex@adnab.me> | 2023-12-26 19:37:19 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-12-26 19:37:19 +0100 |
commit | ce7d4b8cc69ebbbb72dcbe60283e512915408ff9 (patch) | |
tree | 030007287e2ac21149442dbf6bbda94df078d790 /wayfire | |
parent | 408772a39eed161750084e4ca59c8c7ec72a0cc7 (diff) | |
download | user-config-ce7d4b8cc69ebbbb72dcbe60283e512915408ff9.tar.gz user-config-ce7d4b8cc69ebbbb72dcbe60283e512915408ff9.zip |
wayfire: add bindings for volume and brightness
Diffstat (limited to 'wayfire')
-rw-r--r-- | wayfire/wayfire.ini | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/wayfire/wayfire.ini b/wayfire/wayfire.ini index add5b78..d37d810 100644 --- a/wayfire/wayfire.ini +++ b/wayfire/wayfire.ini @@ -53,10 +53,20 @@ binding_0 = <super> KEY_ENTER binding_1 = <super> KEY_P binding_2 = <alt> KEY_F2 binding_3 = <shift> <super> KEY_X +binding_4 = KEY_BRIGHTNESSUP +binding_5 = KEY_BRIGHTNESSDOWN +binding_6 = KEY_MUTE +binding_7 = KEY_VOLUMEDOWN +binding_8 = KEY_VOLUMEUP command_0 = alacritty command_1 = xfce4-appfinder command_2 = xfrun4 command_3 = swaylock -c 000000 +command_4 = brightnessctl set +10% +command_5 = brightnessctl set 10%- +command_6 = pactl set-sink-mute @DEFAULT_SINK@ toggle +command_7 = sh -c "pactl set-sink-mute @DEFAULT_SINK@ false && pactl set-sink-volume @DEFAULT_SINK@ -5%" +command_8 = sh -c "pactl set-sink-mute @DEFAULT_SINK@ false && pactl set-sink-volume @DEFAULT_SINK@ +5%" [core] background_color = \#1A1A1AFF @@ -65,7 +75,7 @@ focus_button_with_modifiers = false focus_buttons = BTN_LEFT | BTN_MIDDLE | BTN_RIGHT focus_buttons_passthrough = true max_render_time = -1 -plugins = alpha animate autostart command decoration expo fast-switcher fisheye grid move oswitch place resize vswitch window-rules wrot wayfire-shell ipc gtk-shell foreign-toplevel xdg-activation +plugins = alpha animate autostart command expo fast-switcher fisheye grid move oswitch place resize vswitch window-rules wrot wayfire-shell ipc gtk-shell foreign-toplevel xdg-activation decoration preferred_decoration_mode = client transaction_timeout = 100 vheight = 3 @@ -90,12 +100,12 @@ speed_zoom = 0.070000 zoom = 0.100000 [decoration] -active_color = \#222222FF +active_color = \#555555FF border_size = 4 button_order = minimize maximize close font = sans-serif ignore_views = none -inactive_color = \#555555FF +inactive_color = \#222222FF title_height = 30 [dock] @@ -330,10 +340,6 @@ binding_last = binding_left = <alt> <ctrl> KEY_LEFT binding_right = <alt> <ctrl> KEY_RIGHT binding_up = <alt> <ctrl> KEY_UP -with_win_down = <alt> <ctrl> <shift> KEY_DOWN -with_win_left = <alt> <ctrl> <shift> KEY_LEFT -with_win_right = <alt> <ctrl> <shift> KEY_RIGHT -with_win_up = <alt> <ctrl> <shift> KEY_UP duration = 300 gap = 20 send_win_down = @@ -341,6 +347,11 @@ send_win_last = send_win_left = send_win_right = send_win_up = +with_win_down = <alt> <ctrl> <shift> KEY_DOWN +with_win_last = +with_win_left = <alt> <ctrl> <shift> KEY_LEFT +with_win_right = <alt> <ctrl> <shift> KEY_RIGHT +with_win_up = <alt> <ctrl> <shift> KEY_UP wraparound = false [wayfire-shell] |