Last active
July 14, 2024 05:26
-
-
Save aditya-r-m/3fdd12cdb2dd85d9b7bd984f3404720b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "set timeout=0" | sudo tee -a /etc/grub.d/40_custom | |
sudo update-grub2 | |
printf "bind -s 'set completion-ignore-case on'\n" >> ~/.bashrc | |
printf "alias sd=\"cd \\\$(find * -type d | fzf)\"\n\n" >> ~/.bashrc | |
source ~/.bashrc | |
gsettings set org.gnome.mutter center-new-windows true | |
gsettings set org.gnome.mutter dynamic-workspaces false | |
gsettings set org.gnome.desktop.wm.preferences num-workspaces 2 | |
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-left "['<Alt>bracketleft']" | |
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-right "['<Alt>bracketright']" | |
gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-left "['<Shift><Alt>bracketleft']" | |
gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-right "['<Shift><Alt>bracketright']" | |
gsettings set org.gnome.desktop.input-sources xkb-options "['caps:ctrl_modifier']" | |
gsettings set org.gnome.desktop.interface enable-animations false | |
sudo apt-get update | |
sudo apt-get install -y \ | |
software-properties-common \ | |
fonts-jetbrains-mono \ | |
build-essential \ | |
konsole \ | |
zathura \ | |
uidmap \ | |
curl \ | |
btop \ | |
git \ | |
vim \ | |
fzf | |
curl -fsSL https://raw.githubusercontent.com/dracula/konsole/master/Dracula.colorscheme -o ~/.local/share/konsole/Dracula.colorscheme | |
echo " | |
[Appearance] | |
ColorScheme=Dracula | |
Font=JetBrains Mono,14,-1,5,50,0,0,0,0,0 | |
[General] | |
Name=default | |
Parent=FALLBACK/ | |
TerminalCenter=true | |
TerminalColumns=128 | |
TerminalMargin=8 | |
TerminalRows=32 | |
[Scrolling] | |
ScrollBarPosition=2 | |
[Terminal Features] | |
BellMode=3 | |
" > ~/.local/share/konsole/default.profile | |
echo " | |
MenuBar=Disabled | |
[Desktop Entry] | |
DefaultProfile=default.profile | |
[KonsoleWindow] | |
RememberWindowSize=false | |
RemoveWindowTitleBarAndFrame=true | |
[MainWindow] | |
ToolBarsMovable=Disabled | |
[TabBar] | |
TabBarVisibility=AlwaysHideTabBar | |
" > .config/konsolerc | |
echo " | |
set recolor true | |
set recolor-lightcolor \"#3E1C43\" | |
set recolor-darkcolor \"#FBE1FF\" | |
set window-height 9000 | |
set window-width 9000 | |
" | install -D /dev/stdin ~/.config/zathura/zathurarc | |
echo " | |
theme_background = False | |
" >> ~/.config/btop/btop.conf | |
git config --global user.email "adityam.rtm@gmail.com" | |
git config --global user.name "Aditya Mishra" | |
git config --global core.editor "vim" | |
sudo snap install go --classic | |
curl -fsSL https://get.docker.com -o get-docker.sh | |
sudo sh ./get-docker.sh | |
dockerd-rootless-setuptool.sh install | |
# https://www.tensorflow.org/install/docker | |
# docker run --gpus all -p 8888:8888 -it --rm tensorflow/tensorflow:latest-gpu-jupyter | |
curl https://sh.rustup.rs -sSf | bash -s -- -y | |
rustup component add rust-analyzer | |
sudo snap install helix --classic | |
echo " | |
theme = \"custom\" | |
[keys.normal] | |
C-s = \":w\" | |
C-q = \":wq\" | |
C-r = \":reload\" | |
[keys.insert] | |
C-s = [\"normal_mode\",\":w\"] | |
C-q = \":wq\" | |
C-r = \":reload\" | |
[editor] | |
line-number = \"relative\" | |
mouse = true | |
[editor.auto-pairs] | |
'(' = ')' | |
'{' = '}' | |
'[' = ']' | |
'\"' = '\"' | |
" > ~/.config/helix/config.toml | |
echo " | |
[[language]] | |
name = \"rust\" | |
" > ~/.config/helix/languages.toml | |
echo " | |
# inherits = \"dracula\" | |
inherits = \"github_dark\" | |
\"ui.background\" = {} | |
" | install -D /dev/stdin ~/.config/helix/themes/custom.toml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment