forked from brownjohnf/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
linux-desktop.sh
executable file
·71 lines (54 loc) · 1.46 KB
/
linux-desktop.sh
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#!/usr/bin/env sh
set -ex
source ./config.sh
function clone_or_update() {
repo=$1
dest=$2
if [ -d $dest ]; then
(cd $dest && git pull)
else
git clone $repo $dest
fi
}
# i3
mkdir -p $HOME/.config/i3
ln -fs $HERE/i3/config $HOME/.config/i3/config
# i3status-rs
mkdir -p $HOME/.config/i3status-rs
ln -fs $HERE/i3status-rs/config.toml $HOME/.config/i3status-rs/config.toml
# LeftWM
mkdir -p $HOME/.config/leftwm/themes
ln -fs $HERE/leftwm/config.toml $HOME/.config/leftwm/config.toml
# alacritty
mkdir -p $HOME/.config/alacritty
ln -fs $HERE/alacritty/alacritty.yml $HOME/.config/alacritty/alacritty.yml
# YouCompleteMe
# Source the zshrc so we pick up any env settings
#source $HOME/.zshrc
(cd $HOME/.vim/plugged/YouCompleteMe && python3 install.py)
echo "SUCCESS"
# YouCompleteMe
# Source the zshrc so we pick up any env settings
#source $HOME/.zshrc
(cd $HOME/.vim/plugged/YouCompleteMe && python3 install.py)
cat <<EOF
Linux desktop setup complete.
To fix the horizontal tabs in FF, add the following to the userChrome.css file
(you may need to create the file and the chrome directory; your profile probably
ends in '.default-release'):
~/.mozilla/firefox/<your profile>/chrome/userChrome.css
#TabsToolbar {
visibility: collapse;
}
#titlebar {
display: none;
}
You should also add the following to the Tab Center Redux in FF to fix useless
features:
#topmenu {
display: none;
}
#tablist-wrapper.shrinked .tab:not(.pinned) {
height: 29px !important;
}
EOF