M home/home-configuration.scm => home/home-configuration.scm +1 -0
@@ 298,6 298,7 @@ export PATH
(".config/waybar/config.jsonc" ,(local-file "dotfiles/waybar/config.jsonc"))
(".config/waybar/style.css" ,(local-file "dotfiles/waybar/style.css"))
(".config/mako/config" ,(local-file "dotfiles/mako"))
+ (".config/xdg-desktop-portal-wlr/config" ,xdg-desktop-portal-wlr-config)
;; TODO the services should be started by shepherd
(".start-dwl" ,(start-dwl #:dwl dwl-mine #:waybar waybar-mine))
M home/modules/ruther/home/dwl/wm.scm => home/modules/ruther/home/dwl/wm.scm +7 -0
@@ 166,6 166,13 @@
(("%brightness%") #$brightness-script)
(("%printscreen%") #$printscreen-script)))))))))))
+(define-public xdg-desktop-portal-wlr-config
+ (mixed-text-file
+ "xdg-desktop-portal-wlr-config"
+ "[screencast]\n"
+ "chooser_type=dmenu\n"
+ "chooser_cmd=" mew "/bin/mew -l 10 -p 'Select a source to share:'\n"))
+
(define xdg-data-dirs-package
(package
(name "xdg-data-dirs")