From ae1c8a567efc640c13ae7a9ba8cec1511f8ad48e Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Mon, 3 Apr 2017 14:38:53 -0500 Subject: [PATCH] Adding DE functionality --- de/xprofile | 4 ++ .../arch-linux/provisioning/3-extras.bash | 6 ++- setup | 46 ++++++++++--------- 3 files changed, 33 insertions(+), 23 deletions(-) diff --git a/de/xprofile b/de/xprofile index a534dac..106680b 100644 --- a/de/xprofile +++ b/de/xprofile @@ -21,6 +21,10 @@ xset r rate 250 80 & # xset s noblank & # xset s off & +# if command -v xss-lock >/dev/null 2>&1; then +# xss-lock -- dm-tool switch-to-greeter & +# fi + if [ -d "/usr/lib/nvidia" ]; then export LD_LIBRARY_PATH=/usr/lib/nvidia fi diff --git a/os-specific/arch-linux/provisioning/3-extras.bash b/os-specific/arch-linux/provisioning/3-extras.bash index 05ee5b3..e5883e3 100755 --- a/os-specific/arch-linux/provisioning/3-extras.bash +++ b/os-specific/arch-linux/provisioning/3-extras.bash @@ -13,7 +13,9 @@ pacaur -S \ gimp \ audacity \ reptyr \ - cmake python2 python2-pip \ - lightdm \ + cmake python python2-pip \ + accountsservice \ + xss-lock \ + lightdm lightdm-gtk-greeter \ polybar-git \ --noconfirm --noedit diff --git a/setup b/setup index db527cd..84c463c 100755 --- a/setup +++ b/setup @@ -31,37 +31,41 @@ fi # TODO: make sure we have an even number, here links=( # desktop environment files - "$dfp/de/bspwmrc" "$XDG_CONFIG_HOME/bspwm/bspwmrc" - "$dfp/de/sxhkdrc" "$XDG_CONFIG_HOME/sxhkd/sxhkdrc" - "$dfp/de/xresources" "$HOME/.Xresources" - "$dfp/de/xinitrc" "$HOME/.xinitrc" - "$dfp/de/xprofile" "$HOME/.xprofile" - "$dfp/common/colors/xresources" "$HOME/.Xresources.colors" - - # bar files - "$dfp/de/bar/polybar-config" "$XDG_CONFIG_HOME/polybar/config" + "$dfp/de/bspwmrc" "$XDG_CONFIG_HOME/bspwm/bspwmrc" + "$dfp/de/sxhkdrc" "$XDG_CONFIG_HOME/sxhkd/sxhkdrc" + "$dfp/de/xresources" "$HOME/.Xresources" + "$dfp/de/xinitrc" "$HOME/.xinitrc" + "$dfp/de/xprofile" "$HOME/.xprofile" + "$dfp/common/colors/xresources" "$HOME/.Xresources.colors" # shell files - "$dfp/shell/bashrc" "$HOME/.bashrc" - "$dfp/shell/bash_profile" "$HOME/.bash_profile" - "$dfp/shell/tmux.conf" "$HOME/.tmux.conf" - "$dfp/shell/tmux-layouts" "$HOME/.tmux/layouts" + "$dfp/shell/bashrc" "$HOME/.bashrc" + "$dfp/shell/bash_profile" "$HOME/.bash_profile" + "$dfp/shell/tmux.conf" "$HOME/.tmux.conf" + "$dfp/shell/tmux-layouts" "$HOME/.tmux/layouts" # text editor files - "$dfp/text-editor/neovim/" "$XDG_CONFIG_HOME/nvim" - "$dfp/text-editor/neovim/" "$HOME/.vim" - "$dfp/text-editor/neovim/init.vim" "$HOME/.vimrc" - "$dfp/common/colors/vim" "$XDG_CONFIG_HOME/nvim/colors/base16-donokai.vim" + "$dfp/text-editor/neovim/" "$XDG_CONFIG_HOME/nvim" + "$dfp/text-editor/neovim/" "$HOME/.vim" + "$dfp/text-editor/neovim/init.vim" "$HOME/.vimrc" + "$dfp/common/colors/vim" "$XDG_CONFIG_HOME/nvim/colors/base16-donokai.vim" # irc files - "$dfp/misc/irssi/" "$HOME/.irssi" - "$dfp/misc/weechat/" "$HOME/.weechat" + "$dfp/misc/irssi/" "$HOME/.irssi" + "$dfp/misc/weechat/" "$HOME/.weechat" + + # gtk configuration files + "$dfp/de/gtk2rs" "$HOME/.gtkrc-2.0" + "$dfp/de/gtk3settings.ini" "$HOME/.config/gtk-3.0/settings.ini" + + # bar files + "$dfp/de/bar/polybar-config" "$XDG_CONFIG_HOME/polybar/config" # neofetch config - "$dfp/misc/neofetch/config" "$HOME/.config/neofetch/config" + "$dfp/misc/neofetch/config" "$HOME/.config/neofetch/config" # git config - "$dfp/misc/git/config" "$HOME/.gitconfig" + "$dfp/misc/git/config" "$HOME/.gitconfig" ) source=""