From 05318b3362044930e01c62c7ec695fa4823f1bac Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 14 Sep 2017 20:59:02 -0700 Subject: [PATCH] [Linux] Add shell task to setup android devlopment on arch --- dotfiles/xmonad/xmonad.hs | 4 ---- tasks/shell/arch_android_development.sh | 12 ++++++++++++ 2 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 tasks/shell/arch_android_development.sh diff --git a/dotfiles/xmonad/xmonad.hs b/dotfiles/xmonad/xmonad.hs index 83f25df4..e955cb4a 100644 --- a/dotfiles/xmonad/xmonad.hs +++ b/dotfiles/xmonad/xmonad.hs @@ -233,10 +233,6 @@ hostNameToAction = myStartup = do spawn "systemctl --user start wm.target" - setWorkspaceName "1" "code" - setWorkspaceName "2" "doc" - setWorkspaceName "3" "browse" - setWorkspaceName "4" "watch" hostName <- io getHostName M.findWithDefault (return ()) hostName hostNameToAction diff --git a/tasks/shell/arch_android_development.sh b/tasks/shell/arch_android_development.sh new file mode 100644 index 00000000..3f43b3c6 --- /dev/null +++ b/tasks/shell/arch_android_development.sh @@ -0,0 +1,12 @@ +pacaur -S android-platform android-sdk android-sdk-platform-tools android-sdk-build-tools --noconfirm --noedit --needed + +groupadd sdkusers +gpasswd -a $(whoami) asdkusers + +sudo -v + +sudo chown -R :asdkusers /opt/android-sdk/ +sudo chmod -R g+w /opt/android-sdk/ +sudo newgrp sdkusers + +pacaur -S android-platform-25