Skip to content

Instantly share code, notes, and snippets.

@Surendrajat
Created October 11, 2021 09:25
Show Gist options
  • Star 15 You must be signed in to star a gist
  • Fork 6 You must be signed in to fork a gist
  • Save Surendrajat/ad607b13ece2a302d30fb5746f0e1ffe to your computer and use it in GitHub Desktop.
Save Surendrajat/ad607b13ece2a302d30fb5746f0e1ffe to your computer and use it in GitHub Desktop.

remove gnome apps

sudo dnf remove gnome-tour gnome-abrt gnome-calculator gnome-calendar gnome-maps gnome-weather \
    rhythmbox gnome-contacts totem gnome-logs gnome-photos gnome-clocks gedit gnome-system-moniter \
    gnome-user-docs gnome-screenshot gnome-remote-desktop

remove fedora chromium policies

sudo dnf remove fedora-chromium-config

add rpm fusion repo and update

sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
sudo dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
sudo dnf install dnf-plugins-core
sudo dnf check-update
sudo dnf upgrade

sway related stuff

sudo dnf install sway waybar swayidle swaybg bemenu wob
# clipboard
sudo dnf install clipman wl-clipboard
# display stuff
sudo dnf install wdisplays wlsunset light #kanshi
# screenshot
sudo dnf install grim slurp swappy
# screen sharing
sudo dnf install xdg-desktop-portal-wlr xdg-desktop-portal
# screen recording
sudo dnf install wf-recorder
# notifications
sudo dnf install dunst dmenu
# shell & terminal
sudo dnf install fish alacritty
# launcher & power menu
sudo dnf install wofi nwg-launchers
# swaylock-effects
sudo dnf copr enable eddsalkield/swaylock-effects
sudo dnf install swaylock-effects

dotfiles

git clone git@github.com:Surendrajat/dotfiles.git $HOME/.cfg
alias config='/usr/bin/git --git-dir=$HOME/.cfg/.git --work-tree=$HOME'
config config --local status.showUntrackedFiles no
config checkout && config reset --hard

modern Unix tools

sudo dnf install bat htop exa git-delta neovim jq procs skim fd-find ripgrep dua-cli aria2

fonts, themes, icons

# fonts (font-awesoeme4, JetBrains Mono NF)
sudo dnf install fontawesome-fonts
wget https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/JetBrainsMono.zip
unzip JetBrainsMono.zip -d ~/.local/share/fonts/
fc-cache -f
# icon theme (tela-circle-dark)
git clone https://github.com/vinceliuice/Tela-circle-icon-theme /tmp/tela --depth 1 \
    cd /tmp/tela && ./install.sh && cd -
# gnome theme (Nordic)
git clone https://github.com/EliverLara/Nordic ~/.local/share/themes/Nordic-darker --depth 1

everything else

polkit agent

sudo dnf install gnome-polkit

pulseaudio related stuff

sudo dnf install pulseaudio-utils pavucontrol
# pamixer
git clone https://github.com/cdemoulins/pamixer.git --depth 1 && cd pamixer
sudo dnf install g++ pulseaudio-libs-devel boost-devel
make
sudo make install

TouchPad Gestures

# keyboard automation tools
sudo dnf install wtype xdotool
# libinput-gestures
git clone https://github.com/bulletmark/libinput-gestures.git --depth 1
cd libinput-gestures
sudo make install
sudo gpasswd -a $USER input
reboot

greetd & tuigreet

sudo dnf copr enable alebastr/sway-extras
sudo dnf install greetd-tuigreet

# update /etc/greetd/config.toml like this:

# [terminal]
# vt = 1
# [default_session]
# command = "tuigreet --cmd sway -w 40 -g 'Log in' -r -t --asterisks"
# user = "greetd"

# disable gdm.service and enble greetd.service
sudo systemctl disable gdm.service
sudo systemctl enable --now greetd

# reboot

Autotiling

sudo pip install autotiling

Ulauncher

sudo dnf install ulauncher
git clone https://github.com/KiranWells/ulauncher-nord/ \
    ~/.config/ulauncher/user-themes/nord --depth 1

Brave browser

sudo dnf config-manager --add-repo https://brave-browser-rpm-release.s3.brave.com/x86_64/
sudo rpm --import https://brave-browser-rpm-release.s3.brave.com/brave-core.asc
sudo dnf install brave-browser

fisher & fish plugins (tide, done, autopair)

curl -sL https://git.io/fisher | source && fisher install jorgebucaran/fisher
config reset --hard
fisher update

Sublime Text

sudo rpm -v --import https://download.sublimetext.com/sublimehq-rpm-pub.gpg
sudo dnf config-manager --add-repo https://download.sublimetext.com/rpm/stable/x86_64/sublime-text.repo
sudo dnf install sublime-text

Sublime Merge

wget https://download.sublimetext.com/sublime_merge_build_2059_x64.tar.xz
tar xvf sublime_merge*.tar.xz -C ~/apps/
git clone https://github.com/Resike/Merge-Monokai-Theme ~/.config/sublime-merge//Packages/monokai --depth 1

GUI app alternatives

# image viewer
sudo dnf install imv
# file manager
sudo dnf install ranger
git clone https://github.com/alexanderjeurissen/ranger_devicons \
    ~/.config/ranger/plugins/ranger_devicons --depth 1
mkdir ~/.local/bin && ln -s /usr/bin/ranger ~/.local/bin/f
# docs viewer
sudo dnf install zathura zathura-fish-completion zathura-djvu zathura-pdf-mupdf
# lazygit
sudo dnf copr enable atim/lazygit -y
sudo dnf install lazygit

NextDNS

bash
sh -c "$(curl -sL https://nextdns.io/install)"

more GUI apps

sudo dnf install megasync nautilus-megasync telegram-desktop

nodejs & yarn

sudo dnf install nodejs
sudo npm i -g yarn

Anydesk

sudo dnf install redhat-lsb-core

# create /etc/yum.repos.d/anydesk.repo with following content
# [anydesk]
# name=AnyDesk Fedora - stable
# baseurl=http://rpm.anydesk.com/fedora/$basearch/
# gpgcheck=1
# repo_gpgcheck=1
# gpgkey=https://keys.anydesk.com/repos/RPM-GPG-KEY

sudo dnf --releasever=32  install pangox-compat.x86_64
sudo dnf install anydesk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment