aboutsummaryrefslogtreecommitdiff
path: root/laptop/.config/hypr/hyprland.conf
diff options
context:
space:
mode:
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 ###