From 5c48d11da28dbedcb0c72f44cb284037f24dcd4f Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Thu, 29 May 2025 23:38:34 +0200 Subject: Hyprland: Add configuration for Qalculate --- .config/hypr/hyprland.conf.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to '.config') diff --git a/.config/hypr/hyprland.conf.in b/.config/hypr/hyprland.conf.in index 6d49e45..7c7ee7f 100644 --- a/.config/hypr/hyprland.conf.in +++ b/.config/hypr/hyprland.conf.in @@ -92,7 +92,7 @@ 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) @@ -191,3 +191,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)$ -- cgit v1.2.3