From 3915c93b9a38ab77c02261595128b41307f348a9 Mon Sep 17 00:00:00 2001 From: Timo Wilken Date: Wed, 14 Aug 2024 09:13:05 +0200 Subject: Run calculator under Wayland --- tw/services/desktop.scm | 3 ++- tw/services/files/sway.conf | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/tw/services/desktop.scm b/tw/services/desktop.scm index 4f2e3aff..71b18539 100644 --- a/tw/services/desktop.scm +++ b/tw/services/desktop.scm @@ -28,6 +28,7 @@ #:use-module ((gnu packages libreoffice) #:select (libreoffice)) #:use-module ((gnu packages linux) #:select (acpilight procps powertop radeontop)) #:use-module ((gnu packages mail) #:select (aerc khard)) + #:use-module ((gnu packages maths) #:select (qalculate-gtk)) #:use-module ((gnu packages messaging) #:select (nheko)) #:use-module ((gnu packages networking) #:select (blueman)) #:use-module ((gnu packages package-management) #:select (modules)) @@ -416,7 +417,7 @@ display.")) (define (home-wayland-packages config) "Install packages I use frequently." ;; Wayland-specific desktop tools - (cons* swayfx dunst foot grim rofi-wayland slurp swaybg wev wob wtype wl-clipboard + (cons* swayfx dunst foot grim rofi-wayland slurp swaybg wev wob wtype wl-clipboard qalculate-gtk obs obs-pipewire-audio-capture ; to hack screen sharing xdg-desktop-portal xdg-desktop-portal-wlr ; to set XDG_DESKTOP_PORTAL_DIR search path common-desktop-packages)) diff --git a/tw/services/files/sway.conf b/tw/services/files/sway.conf index 493fe670..96327aa5 100644 --- a/tw/services/files/sway.conf +++ b/tw/services/files/sway.conf @@ -91,6 +91,7 @@ bindsym $mod+shift+q kill # rofi menus bindsym $mod+d exec rofi -show combi bindsym $mod+shift+e exec rofi -show session:sessionmenu +bindsym $mod+q exec qalculate-gtk bindsym $mod+p exec passmenu --type-all bindsym $mod+shift+p exec passmenu --type-pass bindsym $mod+o exec passmenu --type-otp @@ -226,6 +227,7 @@ assign [class="^kontact$"] "$ws_messaging" #no_focus [class="^evolution-initial$"] for_window [title="PlayOnLinux"] floating enable +for_window [app_id="^qalculate-gtk$"] floating enable for_window [title="^aerc$"] move container to workspace "$ws_messaging" # annoying pop-up from Bluetooth network manager for_window [app_id="^.blueman-applet-real$"] kill -- cgit v1.2.3