chore(sway): add cursor theme 110d32ed
Steve · 2026-10-15 18:03 2 file(s) · +15 −1
home.scm +14 −1
31 31
  (specifications->packages
32 32
   (list "python")))
33 33
34 +
(define %theme-packages
35 +
  (specifications->packages (list "adwaita-icon-theme")))
36 +
34 37
(home-environment
35 -
 (packages (append %zsh-packages %lsp-packages %lang-packages))
38 +
 (packages (append %zsh-packages %lsp-packages %lang-packages %theme-packages))
36 39
37 40
 (services
38 41
  (append
66 69
               ("tmux/tmux.conf" ,(local-file "tmux/tmux.conf"))
67 70
               ("gdb/gdbinit" ,%default-gdbinit)
68 71
               ("nano/nanorc" ,%default-nanorc)))
72 +
73 +
    (simple-service 'cursor-theme home-environment-variables-service-type
74 +
                    '(("XCURSOR_THEME" . "Adwaita")
75 +
                      ("XCURSOR_SIZE" . "24")
76 +
                      ("XCURSOR_PATH" . "$HOME/.guix-home/profile/share/icons")))
77 +
78 +
    (simple-service 'cursor-default home-files-service-type
79 +
                    `((".icons/default"
80 +
                       ,(file-append (specification->package "adwaita-icon-theme")
81 +
                                     "/share/icons/Adwaita"))))
69 82
70 83
    (service home-xdg-data-files-service-type
71 84
             `(("fonts/BerkeleyMonoNerdFontMono-Regular.ttf"
sway/config +1 −0
9 9
set $right l
10 10
set $term kitty
11 11
set $menu rofi -show drun
12 +
seat * xcursor_theme Adwaita 24
12 13
13 14
font pango:BerkeleyMono Nerd Font Mono 13
14 15