Skip to content

Instantly share code, notes, and snippets.

@mcwitt
Created May 1, 2020 17:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mcwitt/cc06527b0708948e669c37d285f27dcf to your computer and use it in GitHub Desktop.
Save mcwitt/cc06527b0708948e669c37d285f27dcf to your computer and use it in GitHub Desktop.
if [ -z "$HM_XPROFILE_SOURCED" ]; then
. ~/.xprofile
fi
unset HM_XPROFILE_SOURCED
systemctl --user start hm-graphical-session.target
/nix/store/bcvl84gww9kz98clg9rs25y0xx64klsn-xsetroot-1.1.2/bin/xsetroot -xcf /nix/store/672s20vpzqddhdh42frvzf326qak1rlq-vanilla-dmz-0.4.4/share/icons/Vanilla-DMZ/cursors/left_ptr 48
/nix/store/bbpbkc8f4wgyjcxsly8s8i9g4r0q3811-xmonad-with-packages-8.8.3/bin/xmonad
systemctl --user stop graphical-session.target
systemctl --user stop graphical-session-pre.target
# Wait until the units actually stop.
while [ -n "$(systemctl --user --no-legend --state=deactivating list-units)" ]; do
sleep 0.5
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment