forked from logan/dotfiles
Updated sway and Hyprland config to use brightnessctl
This commit is contained in:
parent
a563d3cc4f
commit
fa0908b89a
2 changed files with 4 additions and 4 deletions
|
@ -117,8 +117,8 @@ bindle=,XF86AudioLowerVolume, exec, wpctl set-volume -l 2.0 @DEFAULT_AUDIO_SINK@
|
|||
bindle=,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||
|
||||
# Brightness
|
||||
bind=,XF86MonBrightnessUp,exec,light -A 10
|
||||
bind=,XF86MonBrightnessDown,exec,light -U 10
|
||||
bind=,XF86MonBrightnessUp,exec,brightnessctl s +5%
|
||||
bind=,XF86MonBrightnessDown,exec,brightnessctl s 5%-
|
||||
|
||||
# Media controls
|
||||
bindle=,XF86AudioPlay, exec, ~/.config/i3/toggleplay.sh
|
||||
|
|
|
@ -206,8 +206,8 @@ bindsym $mod+Ctrl+Right move workspace to output right
|
|||
bindsym $mod+Ctrl+q exec swaymsg -t get_tree | jq '.. | select(.type?) | select(.focused==true) | .pid' | kill -9 $(cat /dev/stdin)
|
||||
|
||||
# Screen brightness controls
|
||||
bindsym XF86MonBrightnessUp exec light -A 10 # increase screen brightness
|
||||
bindsym XF86MonBrightnessDown exec light -U 10 # decrease screen brightness
|
||||
bindsym XF86MonBrightnessUp exec brightnessctl s +5% # increase screen brightness
|
||||
bindsym XF86MonBrightnessDown exec brightnessctl s 5%- # decrease screen brightness
|
||||
|
||||
# Touchpad controls
|
||||
#bindsym XF86TouchpadToggle exec /some/path/toggletouchpad.sh # toggle touchpad
|
||||
|
|
Loading…
Reference in a new issue