dotfiles/tasks/arch.py

58 lines
2.2 KiB
Python
Raw Normal View History

2016-09-07 15:11:08 -06:00
import os
2016-09-03 18:38:47 -06:00
from invoke import task
from .util import RESOURCES_DIRECTORY
2016-09-08 14:11:50 -06:00
PACKAGES = [
2016-09-07 16:27:53 -06:00
"adobe-source-code-pro-fonts", "lib32-alsa-lib", "synergy", "git",
"pkg-config", "pyenv", "rbenv", "alsa-utils", "patch", "spotify",
"google-chrome", "autoconf", "automake", "cask", "emacs-git", "xmobar",
"the_silver_searcher", "jdk8-openjdk", "openjdk8-doc", "openjdk8-src",
"scala", "clojure", "go", "ruby", "node", "ghc", "rust", "nodejs", "nvm",
"nvidia-settings", "gnome-tweak-tool", "screenfetch", "htop", "tmux",
2016-09-08 14:11:50 -06:00
"texlive-most", "leiningen", "boot", "gnome-settings-daemon", "roboto",
"accountsservice", "lightdm-webkit-theme-material-git", "openssh",
2016-09-09 18:53:05 -06:00
"chrome-remote-desktop", "gtk-theme-arc", "mosh", "stalonetray",
2016-09-12 21:00:53 -06:00
"lightdm-webkit-theme-wisp", "gnome-themes-standard", "zuki-themes",
"xorg-xfontsel", "gtk2fontsel", "xscreensaver", "networkmanager",
"network-manager-applet", "feh", "copyq", "imagemagick", "rcm", "rofi",
2016-09-15 02:50:04 -06:00
"cabal-install", "pavucontrol", "lsof", "fbset", "git-subrepo", "trayer",
2016-09-19 14:09:32 -06:00
"ttf-font-awesome", "conky", "lemonbar", "razercfg", "xdotool", "xclip",
2016-10-13 01:07:54 -06:00
"udiskie", "strace", "emojione-color-font", "hub", "plantuml", "jq",
"noto-fonts-cjk", "adapta-gtk-theme", "numix-icon-theme-git", "global",
"android-sdk-platform-tools", "android-sdk", "keepassx-http", "aspell-en",
"screencloud", "mopidy-spotify", "rcm", "xsettingsd-git", "festival",
"festival-freebsoft-utils", "hsetroot", "imwheel", "remmina", "racket",
"xorg-utils", "playerctl", "pasystray", "dunst", "otf-fira-code",
2016-10-08 20:21:49 -06:00
"ttf-mac-fonts", "otf-hermit", "ttf-font-awesome", "ttf-monaco", "tcpdump",
2016-10-13 01:07:54 -06:00
"ngrep", "wireshark-gtk", "teamviewer", "mopidy-podcast",
2016-09-08 14:11:50 -06:00
]
SERVICES = [
2016-09-13 03:50:46 -06:00
"sshd.socket", "nvidia-persistenced.service", "NetworkManager.service",
2016-09-03 18:38:47 -06:00
]
@task
def install_pacaur(ctx):
ctx.run(os.path.join(RESOURCES_DIRECTORY, "install_pacaur.sh"))
2016-09-16 13:57:44 -06:00
@task
def symlink_xorg(ctx, xorg_target="/etc/X11/xorg.conf"):
ctx.run("sudo mv {} {}".format(
xorg_target, xorg_target + ".backup"
))
ctx.run("sudo ln -s {} {}".format(
os.path.join(RESOURCES_DIRECTORY, "xorg.conf"),
xorg_target,
))
2016-09-20 02:45:08 -06:00
@task
def steam(ctx):
2016-10-06 18:41:34 -06:00
ctx.run("pacaur -S lib32-nvidia steam-libs steam-native")