-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfix_fedora.sh
34 lines (27 loc) · 1.13 KB
/
fix_fedora.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
#!/bin/sh
# RRRRRGHHHHH it's called "visudo" for a fucking reason
sudo dnf -y remove nano-default-editor
# pkgs
sudo dnf install zsh tmux mosh fzf ripgrep mutt mtr curl w3m \
rust git fd-find khal khard vdirsyncer isync notmuch \
glibc-static bat helix vis vim keyd ibm-plex-sans-fonts \
adobe-source-code-pro-fonts translate-shell
cargo install duf dust bottom pv
pip3 install --user visidata tldextract emoji urlexpander fugashi deepl geopy snownlp lingua-language-detector
mkdir ~/git
cd ~/git && git clone https://github.com/lxcode/dotfiles
cd ~/
for file in .zshrc .zshenv .zsh .zlogin .vimrc .vim .ctags .editrc .inputrc .nexrc .tmux.conf bin .mailcap
do
ln -s ~/git/dotfiles/$file ~/$file
done
mkdir ~/.w3m
ln -s ~/git/dotfiles/w3m-config ~/.w3m/config
# caps/esc
sudo mkdir /etc/keyd
sudo cp ~/git/dotfiles/keyd-default.conf /etc/keyd/default.conf
sudo systemctl enable --now keyd
# ln -s /usr/local/share/keyd/gnome-extension-45 .local/share/gnome-shell/extensions/keyd
# gnome-extensions enable keyd
# Get rid of invisible super-o shortcut
gsettings set org.gnome.settings-daemon.plugins.media-keys rotate-video-lock-static "[]"