-
Notifications
You must be signed in to change notification settings - Fork 2
/
custom_i3_config
108 lines (88 loc) · 4.42 KB
/
custom_i3_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
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
#! /bin/bash
#----------------------------------------------------------------This config is only made for i3wm users----------------------------------------------
sudo apt install vlc -y
sudo apt install libinput -y
sudo apt install libinput-bin -y
sudo apt install libinput-dev -y
sudo apt install neofetch -y
sudo apt install feh -y
sudo apt install brightnessctl -y
sudo apt install acpi -y
sudo apt install htop -y
sudo apt install vim -y
sudo apt install figlet -y
sudo apt install toilet -y
sudo apt install build-essential -y
sudo apt install net-tools -y
sudo apt install openvpn -y
sudo apt install evince
#-----------------------------------------------------------Optional tools-----------------------------------------------------------------------------
sudo apt install curl -y
sudo apt install wget -y
sudo apt install guake -y
sudo apt install goldendict -y
sudo apt install youtubedl-gui -y
sudo apt install git -y
sudo apt install tor -y
sudo apt install transmission -y
sudo apt install samba -y
sudo apt install onionshare -y
sudo apt install proxychains -y
sudo apt install cheese -y
sudo apt install vsftpd -y
sudo apt install ufw -y
#-------------------------------------------------------Tor Browser installation-----------------------------------------------------------------------
sudo apt install torbrowser-launcher -y
#------------------------------------------------------------------------------------------------------------------------------------------------------
#-------------------------------------------------------Brave Browser installation---------------------------------------------------------------------
sudo curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main" | sudo tee /etc/apt/sources.list.d/brave-browser-release.list
sudo apt update
sudo apt install brave-browser -y
#------------------------------------------------------------------------------------------------------------------------------------------------------
#-------------------------------------------------------------Touchpad Config--------------------------------------------------------------------------
#create a config file for touchpad configurations
sudo touch /etc/X11/xorg.conf.d/90-touchpad.conf
#append all the config codes to 90-touchpad config file
#-------------------------------------------------------Don't alter these set of codes-----------------------------------------------------------------
tee -a /etc/X11/xorg.conf.d/90-touchpad.conf <<EOF
Section "InputClass"
Identifier "touchpad"
MatchIsTouchpad "on"
Driver "libinput"
Option "Tapping" "on"
Option "NaturalScrolling" "on"
Option "ScrollMethod" "twofinger"
Option "TappingButtonMap" "lrm"
EndSection
EOF
#-----------------------------------------------------------------------------------------------------------------------------------------------------
#update i3wm config file
tee -a ~/.config/i3/config <<EOF
#=============================================================================================
#--------------------------------------CUSTOMISATIONS-----------------------------------------
#=============================================================================================
### Desktop Background image(uncomment the below line and replace <path to image file> with the actual path.)
#exec_always feh --bg-scale <path to image file>
#------------------------------------------------------Don't alter these set of codes-----------------------------------------------------------------
###Shutdown options
#bindsym \$mod+x mode "exit: [l]ogout, [r]eboot, [s]hutdown"
mode "exit: [l]ogout, [r]eboot, [s]hutdown" {
bindsym l exec i3-msg exit
bindsym r exec systemctl reboot
bindsym s exec systemctl poweroff
bindsym Escape mode "default"
bindsym Return mode "default"
}
bindsym \$mod+x mode "exit: [l]ogout, [r]eboot, [s]hutdown"
EOF
#-----------------------------------------------------------------------------------------------------------------------------------------------------
#----------------------------------------Update bashrc and zshrc to automatically run neofetch while startup------------------------------------------
tee -a .bashrc <<EOF
neofetch
EOF
tee -a .zshrc <<EOF
neofetch
EOF
#update the system
sudo apt update