summaryrefslogtreecommitdiff
path: root/.config/hypr/hyprland.conf.in
diff options
context:
space:
mode:
Diffstat (limited to '.config/hypr/hyprland.conf.in')
-rw-r--r--.config/hypr/hyprland.conf.in19
1 files changed, 14 insertions, 5 deletions
diff --git a/.config/hypr/hyprland.conf.in b/.config/hypr/hyprland.conf.in
index 6d49e45..17631ff 100644
--- a/.config/hypr/hyprland.conf.in
+++ b/.config/hypr/hyprland.conf.in
@@ -14,12 +14,12 @@ ecosystem {
no_update_news = yes
}
-# Remember to coppy settings to sddm.hyprland.conf
+# Remember to copy settings to sddm.hyprland.conf
input {
accel_profile = "adaptive"
follow_mouse = 1
kb_layout = mango, mango, mango, us
- kb_variant = basic, swedish, german, basic
+ kb_variant = swedish, basic, german, basic
kb_options = lv3:switch,compose:ralt
repeat_delay = 360 # 180
repeat_rate = 35
@@ -70,8 +70,7 @@ animations {
}
gestures {
- workspace_swipe = yes
- workspace_swipe_fingers = 4
+ gesture = 4, horizontal, workspace
workspace_swipe_distance = 400
workspace_swipe_min_speed_to_force = 10
}
@@ -92,10 +91,11 @@ bind = $modkey, Q, killactive
bind = $modkey SHIFT, F, togglefloating
# Global programs
-__bind(C, emacsclient -que '(popup-command-full-calc)')
+__bind(C, qalculate-gtk)
__bind(E, emacsclient -ca emacs)
__bind(M, foot aerc)
__bind(W, firefox)
+__bind(Z, woomer)
__bind(return, foot)
__bind(space, fuzzel -I --log-level=warning --show-actions)
__bind( , print, scst)
@@ -175,6 +175,10 @@ __bind(SHIFT, xf86monbrightnessup, lux -S 50)
__binde(, xf86monbrightnessdown, lux -D 5)
__bind(SHIFT, xf86monbrightnessdown, lux -s 0)
+__binde(, xf86audioplay, playerctl play-pause)
+__binde(, xf86audionext, playerctl next)
+__binde(, xf86audioprev, playerctl previous)
+
# Settings key on Framework laptop
__binde(, xf86audiomedia,
foot sh -c 'cd ~/.config/hypr && nvim hyprland.conf.in')
@@ -191,3 +195,8 @@ bindm = $modkey, mouse:273, resizewindow
windowrulev2 = float, class:^(org\.pwmt\.zathura)$
windowrulev2 = size 50% 90%, class:^(org\.pwmt\.zathura)$
windowrulev2 = center, class:^(org\.pwmt\.zathura)$
+
+# Open calculator in a floating window
+windowrulev2 = float, class:^(qalculate-gtk)$
+windowrulev2 = size 50% 50%, class:^(qalculate-gtk)$
+windowrulev2 = center, class:^(qalculate-gtk)$