-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbright_config
executable file
·41 lines (36 loc) · 1.38 KB
/
bright_config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Change to dark configuration for the following interfaces:
# * xfce4-terminal
# * tmux
# * vim
# * gtk
#
# Where the files are
DOTS=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
# Warning to other users here: This is not portable. There doesn't seem to be a nice
# way to check which desktop environment (if any) is running reliably. This works for
# my machines and I'm happy enough with it.
if [ "$DESKTOP_SESSION" == "gnome-xorg" ]; then
gsettings set org.gnome.desktop.interface gtk-theme "OSX-Arc-White"
gsettings reset org.gnome.shell.extensions.user-theme "OSX-Arc-White"
elif [ "$DESKTOP_SESSION" == "gnome" ]; then
gsettings set org.gnome.desktop.interface gtk-theme "OSX-Arc-White"
gsettings reset org.gnome.shell.extensions.user-theme "OSX-Arc-White"
elif [ "$DESKTOP_SESSION" == "xfce" ]; then
xfconf-query -c xsettings -p /Net/ThemeName -s "OSX-Arc-White"
fi
# Move all of the files into their respective places
mkdir -p ~/.config
mkdir -p ~/.vim
cp $DOTS/bashrc ~/.bashrc
cp $DOTS/vim/vimrc ~/.vimrc
cp $DOTS/tmux.conf ~/.tmux.conf
cp $DOTS/tmuxline ~/.tmuxline
cp $DOTS/spacemacs ~/.spacemacs
cp $DOTS/inputrc ~/.inputrc
cp -r $DOTS/nvim ~/.config/
cp -r $DOTS/vim/dotvim/colors/* ~/.vim/colors
cp -r $DOTS/base16-shell ~/.config/
cp -r $DOTS/i3 ~/.config
cp -r $DOTS/xfce4 ~/.config
cp -r $DOTS/autostart ~/.config
source ~/.bashrc && base16_atelier-plateau-light