citadel

My dotfiles, scripts and nix configs
git clone git://jb55.com/citadel
Log | Files | Refs | README | LICENSE

my-suspend (155B)


      1 #!/usr/bin/env bash
      2 
      3 set -m
      4 
      5 slock &
      6 
      7 # pause vms
      8 if type VBoxManage > /dev/null; then
      9     VBoxManage controlvm razoredge pause || :
     10 fi
     11 
     12 systemctl suspend