Skip to content

Commit

Permalink
chore(audio,hyprland): set max volume to 200% for bangers
Browse files Browse the repository at this point in the history
  • Loading branch information
coopbri committed May 6, 2024
1 parent 5bb4fb4 commit dcbbf8e
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .config/hypr/bind.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
# see https://wiki.hyprland.org/Configuring/Keywords/ for more

# keys
$mainMod = SUPER
Expand All @@ -10,7 +10,7 @@ $fileManager = dolphin
$browser = firefox
$codeEditor = code

# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
# example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
# bind = $mainMod, Q, exec, $terminal
bind = $mainMod, Q, killactive,
bind = $mainMod, F, fullscreen
Expand All @@ -29,13 +29,13 @@ bind = $mainMod, E, exec, $fileManager
bind = $mainMod, B, exec, $browser
bind = $mainMod, C, exec, $codeEditor

# Move focus with mainMod + arrow keys
# move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d

# Switch workspaces with mainMod + [0-9]
# switch workspaces with mainMod + [0-9]
bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3
Expand All @@ -47,7 +47,7 @@ bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10

# Move active window to a workspace with mainMod + SHIFT + [0-9]
# move active window to a workspace with mainMod + SHIFT + [0-9]
bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3
Expand All @@ -59,39 +59,39 @@ bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10

# Example special workspace (scratchpad)
# example special workspace (scratchpad)
bind = $mainMod, S, togglespecialworkspace, magic
bind = $mainMod SHIFT, S, movetoworkspace, special:magic

# Scroll through existing workspaces with mainMod + scroll
# scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1

# Move/resize windows with mainMod + LMB/RMB and dragging
# move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow

# Audio
# audio
# l -> do stuff even when locked
# e -> repeats when key is held
#bindle=, XF86AudioRaiseVolume, exec, vol --up
#bindle=, XF86AudioLowerVolume, exec, vol --down
#bindle=, XF86Search, exec, launchpad
# bindl=, XF86AudioMute, exec, amixer set Master toggle
# TODO wrap vol in variables
bindle=, XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 1%+
bindle=, XF86AudioRaiseVolume, exec, wpctl set-volume -l 2 @DEFAULT_AUDIO_SINK@ 1%+
bindle=, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%-
bindl=, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bindl=, XF86AudioPlay, exec, playerctl play-pause
bindl=, XF86AudioNext, exec, playerctl next
bindl=, XF86AudioPrev, exec, playerctl previous

# Brightness
# Uncomment these if you can't get AGS to work
# brightness
# uncomment these if you can't get AGS to work
#bindle=, XF86MonBrightnessUp, exec, brightnessctl set '12.75+'
#bindle=, XF86MonBrightnessDown, exec, brightnessctl set '12.75-'

# Screenshot
# screenshot
bind = $mainMod, Print, exec, grim -g "$(slurp)"
bind = $mainMod ALT, Print, exec, grimblast --freeze copysave area ~/Pictures/$(date +%Y-%m-%d_%H-%m-%s).png

Expand Down

0 comments on commit dcbbf8e

Please sign in to comment.