Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Commit

Permalink
add volume, multimedia and brightness controls
Browse files Browse the repository at this point in the history
  • Loading branch information
vfosnar authored Oct 22, 2023
1 parent a3e96de commit cd3e09c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
17 changes: 16 additions & 1 deletion config/files/usr/share/ublue-os/hypr/hyprland.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,19 @@ exec-once=waybar
exec-once=hyprpaper

# windowing
windowrulev2=float,class:(lxqt-policykit-agent)
windowrulev2=float, class:(lxqt-policykit-agent)

# volume
binde=, XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
binde=, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
binde=, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle

# multimedia
bind=, XF86AudioPlay, exec, playerctl play-pause
bind=, XF86AudioPause, exec, playerctl play-pause
bind=, XF86AudioNext, exec, playerctl next
bind=, XF86AudioPrev, exec, playerctl previous

# backlight brightness
bind=, XF86MonBrightnessDown, exec, brightnessctl set 5%-
bind=, XF86MonBrightnessUp, exec, brightnessctl set +5%
1 change: 1 addition & 0 deletions config/recipe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ modules:

# other
- bolt
- brightnessctl
- dunst # notification daemon
- fprintd-pam
- gnome-keyring-pam
Expand Down

0 comments on commit cd3e09c

Please sign in to comment.