~ruther/guix-config

1fc2e5c4f54e2b860c94fae505238cb47fa52c81 — Rutherther 8 days ago b0149e7 main
feat(dwl): use mew as xdg-desktop-portal-wlr source chooser
2 files changed, 8 insertions(+), 0 deletions(-)

M home/home-configuration.scm
M home/modules/ruther/home/dwl/wm.scm
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")