xorg, kde, some apps

This commit is contained in:
Bachir Soussi Chiadmi
2015-12-28 00:30:52 +01:00
parent 918ae298a7
commit e6e293ce3d
3 changed files with 125 additions and 8 deletions
+80
View File
@@ -0,0 +1,80 @@
[global_config]
always_split_with_profile = True
borderless = True
enabled_plugins = InactivityWatch, LaunchpadCodeURLHandler, APTURLHandler, LaunchpadBugURLHandler
geometry_hinting = False
handle_size = 1
inactive_color_offset = 0.69
suppress_multiple_term_dialog = True
title_hide_sizetext = True
title_inactive_bg_color = "#2d2d2d"
title_inactive_fg_color = "#ffffff"
title_transmit_bg_color = "#616161"
[keybindings]
[layouts]
[[default]]
[[[child1]]]
parent = window0
type = Terminal
[[[window0]]]
parent = ""
type = Window
[[materio]]
[[[child0]]]
order = 0
parent = ""
position = 0:29
size = 1920, 1171
type = Window
[[[child1]]]
order = 0
parent = child0
position = 375
type = HPaned
[[[child2]]]
order = 0
parent = child1
position = 585
type = VPaned
[[[child5]]]
order = 1
parent = child1
position = 770
type = HPaned
[[[terminal3]]]
command = cd /home/bach/Sites/materio/base_d7_super/sites/all/themes/gui/materiobasetheme/ && bash || bash
order = 0
parent = child2
profile = default
type = Terminal
[[[terminal4]]]
command = ""
order = 1
parent = child2
profile = default
type = Terminal
[[[terminal6]]]
command = cd /home/bach/Sites/materio/base_d7_super/ && bash || bash
order = 0
parent = child5
profile = default
type = Terminal
[[[terminal7]]]
command = ""
order = 1
parent = child5
profile = default
type = Terminal
[plugins]
[profiles]
[[default]]
background_darkness = 0.92
background_image = None
background_type = transparent
font = Monospace 11
foreground_color = "#ffffff"
palette = "#000000:#aa0000:#00aa00:#aa5500:#0000aa:#aa00aa:#00aaaa:#aaaaaa:#555555:#ff5555:#55ff55:#ffff55:#5555ff:#ff55ff:#55ffff:#ffffff"
scrollback_infinite = True
scrollbar_position = hidden
show_titlebar = False
use_system_font = False
+45 -8
View File
@@ -39,14 +39,9 @@ sudo sh -c "echo 'kernel.dmesg_restrict = 1' >> /etc/sysctl.d/50-dmesg-restrict.
sudo touch /etc/sysctl.d/50-kptr-restrict.con
sudo sh -c "echo 'kernel.kptr_restrict = 1' >> /etc/sysctl.d/50-kptr-restrict.conf"
# Yaourt
echo 'ask for editing config file before build'
echo "EDITFILES=1" >> ~/.yaourtrc
echo 'ILoveCandy'
sudo sed -i.back 's/.*\[options\].*/&\nILoveCandy/' /etc/pacman.conf
# bash & prompt
echo 'Bash and Prompt'
git clone https://github.com/hojhan/liquidprompt.git -o github /home/$USER/.liquidprompt
@@ -81,9 +76,28 @@ echo 'increase inotify watch limit'
sleep 3
sudo cp $_cwd/assets/90-inotify.conf /etc/sysctl.d/
# X server
echo 'Installing Xorg server'
echo -n "install Graphical Display ? [Y|n] "
# Yaourt
echo -n "install Yaourt [Y|n] "
read yaourt
yaourt=${yaourt:-y}
if [ "$yaourt" == "y" ]; then
sudo pacman -S --needed base-devel
mkdir -p /home/$USER/Developer/Linux/build-repos
wget -O /home/$USER/Developer/Linux/build-repos/package-query.tar.gz https://aur.archlinux.org/cgit/aur.git/snapshot/package-query.tar.gz
wget -O /home/$USER/Developer/Linux/build-repos/yaourt.tar.gz https://aur.archlinux.org/cgit/aur.git/snapshot/yaourt.tar.gz
cd /home/$USER/Developer/Linux/build-repos
tar -xvf package-query.tar.gz
tar -xvf yaourt.tar.gz
cd package-query
makepkg -sri
cd ../yaourt
makepkg -sri
echo 'ask for editing config file before build'
echo "EDITFILES=1" >> ~/.yaourtrc
fi
# Display Manager
echo -n "install Graphical Display Part 1 : Xorg server? [Y|n] "
read yn
yn=${yn:-y}
if [ "$yn" == "y" ]; then
@@ -91,11 +105,34 @@ if [ "$yn" == "y" ]; then
sudo pacman -S --needed --noconfirm mesa
sudo pacman -S --needed --noconfirm xf86-video-intel
sudo pacman -S --needed --noconfirm nvidia
sudo pacman -S --needed --noconfirm xorg-xinit
sudo gpasswd -a $USER bumblebee
sudo systemctl enable bumblebeed
sudo reboot
fi
echo -n "install Graphical Display Part 2 : Kde Plasma 5? [Y|n] "
read yn
yn=${yn:-y}
if [ "$yn" == "y" ]; then
sudo pacman -S --needed --noconfirm --force plasma-meta
sudo pacman -S --needed --noconfirm ttf-dejavu ttf-liberationi
sudo systemctl enable NetworkManager
sudo systemctl start NetworkManager
fi
echo "install basic packages? [Y|n]"
read yn
yn=${yn:-y}
if [ "$yn" == "y" ]; then
sudo pacman -S --needed --noconfirm systemd-kcm bluedevil rfkill
sudo pacman -S --needed --noconfirm dolphin dolphin-plugins
sudo pacman -S --needed --noconfirm kmail korganizer kdeconnect
sudo pacman -S --needed --noconfirm chromium terminator
if [ "$yaourt" == "y" ]; then
yaourt -S atom-editor
fi
fi
echo 'Setup a gpg encripting'
echo 'see https://wiki.archlinux.org/index.php/GnuPG'