aboutsummaryrefslogtreecommitdiff
path: root/laptop/.config/hypr/hyprland.conf
diff options
context:
space:
mode:
authorMosder <xmosder12@gmail.com>2025-11-02 20:14:11 +0100
committerMosder <xmosder12@gmail.com>2025-11-02 20:14:11 +0100
commitc6ff7b4d2c91fbc086e573e01f76da3dc3ef3ed3 (patch)
tree0594eb4ed8894b9a42e559c25a7c13760ae18430 /laptop/.config/hypr/hyprland.conf
parent5ac0ba36a26abd999dd3e6ce0c0caa7e739717b2 (diff)
✨ feat(hypr): integrate swayosd, add scripts and update keybindings
Diffstat (limited to 'laptop/.config/hypr/hyprland.conf')
-rw-r--r--laptop/.config/hypr/hyprland.conf25
1 files changed, 15 insertions, 10 deletions
diff --git a/laptop/.config/hypr/hyprland.conf b/laptop/.config/hypr/hyprland.conf
index 05fea03..f530b80 100644
--- a/laptop/.config/hypr/hyprland.conf
+++ b/laptop/.config/hypr/hyprland.conf
@@ -40,6 +40,8 @@ exec-once = $scriptsDir/randomize-wallpaper.sh
exec-once = hyprpaper
exec-once = hypridle
exec-once = $scriptsDir/battery-notifier.sh
+exec-once = udiskie
+exec-once = swayosd-server
# Lock after autologin in sddm, to use lockscreen as login
exec-once = hyprlock
@@ -187,6 +189,7 @@ master {
misc {
force_default_wallpaper = 1 # Set to 0 or 1 to disable the anime mascot wallpapers
disable_hyprland_logo = true # If true disables the random hyprland logo / anime girl background. :(
+ middle_click_paste = false
}
@@ -242,6 +245,8 @@ bind = $mainMod, B, exec, $browser
bind = $mainMod, D, exec, discord
bind = $mainMod, I, exec, intellij-idea-ultimate-edition
bind = $mainMod SHIFT, S, exec, flameshot gui
+bind = , Print, exec, flameshot gui --region 1920x1080+0+0
+bind = ALT, Print, exec, $scriptsDir/capture-window.sh
bind = $mainMod SHIFT, P, exec, hyprpicker -a
bind = $mainMod, L, exec, hyprlock
bind = $mainMod, N, exec, dunstctl close-all
@@ -285,18 +290,18 @@ bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
# Laptop multimedia keys for volume and LCD brightness
-bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+
-bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
-bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
-bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
-bindel = ,XF86MonBrightnessUp, exec, brightnessctl set 5%+
-bindel = ,XF86MonBrightnessDown, exec, brightnessctl set 5%-
+bindel = ,XF86AudioRaiseVolume, exec, swayosd-client --output-volume raise
+bindel = ,XF86AudioLowerVolume, exec, swayosd-client --output-volume lower
+bindel = ,XF86AudioMute, exec, swayosd-client --output-volume mute-toggle
+bindel = ,XF86AudioMicMute, exec, swayosd-client --input-volume mute-toggle
+bindel = ,XF86MonBrightnessUp, exec, brightnessctl set 5%+; $scriptsDir/current-brightness.sh | xargs swayosd-client --brightness
+bindel = ,XF86MonBrightnessDown, exec, brightnessctl set 5%-; $scriptsDir/current-brightness.sh | xargs swayosd-client --brightness
# Requires playerctl
-bindl = , XF86AudioNext, exec, playerctl next
-bindl = , XF86AudioPause, exec, playerctl play-pause
-bindl = , XF86AudioPlay, exec, playerctl play-pause
-bindl = , XF86AudioPrev, exec, playerctl previous
+bindl = , XF86AudioNext, exec, swayosd-client --playerctl next
+bindl = , XF86AudioPause, exec, swayosd-client --playerctl play-pause
+bindl = , XF86AudioPlay, exec, swayosd-client --playerctl play-pause
+bindl = , XF86AudioPrev, exec, swayosd-client --playerctl previous
##############################
### WINDOWS AND WORKSPACES ###