home:natto:xmonad: fix fullscreen

This commit is contained in:
2021-06-16 09:29:52 +05:30
parent ba8dbff511
commit d32d386248
13 changed files with 214 additions and 37 deletions

View File

@@ -2,16 +2,18 @@
echo "You're about to switch your home-manager configuration as '$USER'"
read -p "Continue (y/n)?" conf
read -p "Do you want to use doas instead of sudo? (y/n)" conf2
elev="sudo"
if [ ${conf2,,} == "y" ]; then
elev="doas"
fi
if [ ${conf,,} == "n" ]; then
echo "If this is not you, then log into your profile first!"
exit 1
else
read -p "Do you want to use sudo instead of doas? (y/n)" conf2
elev="doas"
if [ ${conf2,,} == "y" ]; then
elev="sudo"
fi
$elev nix build .\#hm-configs.$USER.activationPackage -o hm-result
./hm-result/activate
$elev unlink hm-result