<commit_before>#!/bin/bash

nc='--noconfirm'

disable_mdm()
{
	# Disable MDM cause it sucks
	sudo systemctl disable mdm.service
	sudo systemctl stop mdm.service
	sudo rm -v /etc/systemd/system/display-manager.service
}

remove_default_packages()
{
	# Remove crappy apps I never use and their dependencies
	yaourt -R libreoffice-still nano hexchat thunderbird vi qpdfview catfish \
		xfce4-notes-plugin
	yaourt -Qdt
}

update_system()
{
	# Update the system twice to handle manjaro system upgrades
	yaourt -Syy
	yaourt -Syua
	yaourt -Syua
}

install_binary_packages()
{
	yaourt -S gvim-python3 tmux zsh terminator synapse clementine transmission-gtk \
		gnome-disk-utility pianobar git subversion openssh mosh numix-manjaro-themes \
		python-virtualenv python-pip python-pygments vagrant evince archey3 whois \
		slim virtualbox xfce4-dockbarx-plugin ruby nodejs go php weechat redshift \
		ttf-symbola multitail googlecl seahorse mercurial the_silver_searcher p7zip \
		handbrake php-composer ctags mono sqliteman qtscrobbler xclip memcached \
		python2-pygmentize unetbootin
}

install_aur_no_confirm()
{
	yaourt -Sa $nc google-chrome dropbox spotify ttf-ms-fonts rarcrack eclim \
		otf-powerline-symbols-git popcorntime-bin htop-solarized-vi unnethack slurm \
		xfce-slimlock gotags-git todotxt 2048.c skype4pidgin-svn eclipse-android
}

install_aur_confirm()
{
	yaourt -Sa ttf-google-fonts-git zeal-git
}

tweak_manjaro()
{
	# Update icon cache
	sudo gtk-update-icon-cache /usr/share/icons/Menda-Circle

	# Setup Slim
	sudo systemctl enable slim.service -f

	# Setup directories
	rm -rfv $HOME/Manjaro
	mkdir -v $HOME/Code $HOME/.golang

	# Clone and install dots
	cd ~
	git clone https://github.com/eligundry/dots
	cd dots
	./dots.sh -i

	# Setup redshift with systemd
	rm -rfv $HOME/.config/systemd
	systemctl --user enable redshift.service
	systemctl --user start redshift.service

	# Setup Xfce as I like it
	xfconf-query -c xfce4-desktop -p /desktop-icons/file-icons/show-filesystem -s "false"
	xfconf-query -c xfce4-desktop -p /desktop-icons/file-icons/show-home -s "false"
	xfconf-query -c xfce4-desktop -p /desktop-icons/file-icons/show-removable -s "false"
	xfconf-query -c xfce4-desktop -p /desktop-icons/file-icons/show-trash -s "false"
	xfconf-query -c xfce4-keyboard-shortcuts -p -n "/xfwm4/custom/<Control><Shift><Alt>Left" -s "move_window_left_key"
	xfconf-query -c xfce4-keyboard-shortcuts -p -n "/xfwm4/custom/<Control><Shift><Alt>Right" -s "move_window_right_key"
	xfconf-query -c xfce4-notifyd -p /theme "Numix-Manjaro"
	xfconf-query -c xfwm4 -p /general/cycle_draw_frame -s "false"
	xfconf-query -c xfwm4 -p /general/cycle_hidden -s "true"
	xfconf-query -c xfwm4 -p /general/cycle_workspaces -s "true"
	xfconf-query -c xfwm4 -p /general/scroll_workspaces -s "false"
	xfconf-query -c xfwm4 -p /general/show_dock_shadow -s "true"<commit_msg>Makes sure package names are right for install<commit_after>#!/bin/bash

nc='--noconfirm'

disable_mdm()
{
	# Disable MDM cause it sucks
	sudo systemctl disable mdm.service
	sudo systemctl stop mdm.service
	sudo rm -v /etc/systemd/system/display-manager.service
}

remove_default_packages()
{
	# Remove crappy apps I never use and their dependencies
	yaourt -R libreoffice-still nano hexchat thunderbird vi qpdfview catfish \
		xfce4-notes-plugin
	yaourt -Qdt
}

update_system()
{
	# Update the system twice to handle manjaro system upgrades
	yaourt -Syy
	yaourt -Syua
	yaourt -Syua
}

install_binary_packages()
{
	yaourt -S gvim-python3 tmux zsh terminator synapse clementine transmission-gtk \
		gnome-disk-utility pianobar git subversion openssh mosh numix-manjaro-themes \
		python-virtualenv python-pip python-pygments vagrant evince archey3 whois \
		slim virtualbox xfce4-dockbarx-plugin ruby nodejs go php weechat redshift \
		ttf-symbola multitail googlecl seahorse mercurial the_silver_searcher p7zip \
		handbrake php-composer ctags mono sqliteman qtscrobbler xclip memcached \
		python2-pygments unetbootin geoclue2 dropbox2
}

install_aur_no_confirm()
{
	yaourt -Sa $nc google-chrome spotify ttf-ms-fonts rarcrack eclim eclipse-android \
		otf-powerline-symbols-git popcorntime-bin htop-solarized-vi unnethack slurm \
		xfce-slimlock gotags-git todotxt 2048.c skype4pidgin-svn zeal-git
}

install_aur_confirm()
{
	yaourt -Sa ttf-google-fonts-git
}

tweak_manjaro()
{
	# Update icon cache
	sudo gtk-update-icon-cache /usr/share/icons/Menda-Circle

	# Setup Slim
	sudo systemctl enable slim.service -f

	# Setup directories
	rm -rfv $HOME/Manjaro
	mkdir -v $HOME/Code $HOME/.golang

	# Clone and install dots
	cd ~
	git clone https://github.com/eligundry/dots
	cd dots
	./dots.sh -i

	# Enable geoclue for redshift
	sudo systemctl enable geoclue.service
	sudo systemctl start geoclue.service

	# Setup redshift with systemd
	rm -rfv $HOME/.config/systemd
	systemctl --user enable redshift.service
	systemctl --user start redshift.service

	# Setup Xfce as I like it
	xfconf-query -c xfce4-desktop -p /desktop-icons/file-icons/show-filesystem -s "false"
	xfconf-query -c xfce4-desktop -p /desktop-icons/file-icons/show-home -s "false"
	xfconf-query -c xfce4-desktop -p /desktop-icons/file-icons/show-removable -s "false"
	xfconf-query -c xfce4-desktop -p /desktop-icons/file-icons/show-trash -s "false"
	xfconf-query -c xfce4-keyboard-shortcuts -p -n "/xfwm4/custom/<Control><Shift><Alt>Left" -s "move_window_left_key"
	xfconf-query -c xfce4-keyboard-shortcuts -p -n "/xfwm4/custom/<Control><Shift><Alt>Right" -s "move_window_right_key"
	xfconf-query -c xfce4-notifyd -p /theme "Numix-Manjaro"
	xfconf-query -c xfwm4 -p /general/cycle_draw_frame -s "false"
	xfconf-query -c xfwm4 -p /general/cycle_hidden -s "true"
	xfconf-query -c xfwm4 -p /general/cycle_workspaces -s "true"
	xfconf-query -c xfwm4 -p /general/scroll_workspaces -s "false"
	xfconf-query -c xfwm4 -p /general/show_dock_shadow -s "true"
{'fraction_non_alphanumeric': 0.09959141981613892, 'fraction_numerical': 0.008852570650323459, 'mean_word_length': 3.9452861952861955, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '726799', 'n_tokens_mistral': 2342, 'n_tokens_neox': 2188, 'n_words': 569}