Unverified Commit cad0b88e authored by Amaan Qureshi's avatar Amaan Qureshi
Browse files

vanilla-dmz: add missing cursor symlinks

This commit adds symlinks for resize cursors and the default pointer,
which improves compatibility with GTK applications like Firefox and
Thunderbird.

Fixes #452489
parent ff5bcd5d
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -43,6 +43,19 @@ stdenvNoCC.mkDerivation rec {
    for theme in DMZ-{White,Black}; do
      mkdir -p $out/share/icons/$theme/cursors
      cp -a $theme/xcursors/* $out/share/icons/$theme/cursors/

      pushd $out/share/icons/$theme/cursors
      ln -s bottom_left_corner sw-resize
      ln -s bottom_right_corner se-resize
      ln -s bottom_side s-resize
      ln -s left_ptr default
      ln -s left_side w-resize
      ln -s right_side e-resize
      ln -s top_left_corner nw-resize
      ln -s top_right_corner ne-resize
      ln -s top_side n-resize
      popd

      install -m644 $theme/index.theme $out/share/icons/$theme/index.theme
    done