My personal configuration for Fedora running Sway on Wayland.
This repo contains the configs I use for my daily desktop setup:
- Sway
- Waybar
- Ghostty
- Neovim
- Tmux
- Rofi
- Swaylock
- Wlogout
- MPD and rmpc
- Fastfetch
- Lazygit
- Zsh
.
├── fastfetch/ # System information
├── ghostty/ # Terminal configuration and shaders
├── lazygit/ # Lazygit configuration
├── mpd/ # MPD configuration
├── nvim/ # Neovim configuration
├── rmpc/ # MPD client configuration
├── rofi/ # Application launcher
├── sway/ # Sway configuration and scripts
├── swaylock/ # Screen locker
├── tmux/ # Tmux configuration
├── waybar/ # Status bar
├── wlogout/ # Logout menu
└── .zshrc # Zsh configuration
Core (Fedora):
sudo dnf install -y sway waybar rofi ghostty wlogout swaylock swayidle swaynag wl-clipboard cliphist grimshot wlsunset dbus-x11CLI tools (~/.zshrc + Neovim depend on these):
sudo dnf install -y zsh tmux nvim git curl jq ripgrep fzf fd-find bat yt-dlp lazygit fastfetch mpd rmpc mpv cava imvShell / Python / LSP extras:
# oh-my-zsh
git clone https://github.com/ohmyzsh/ohmyzsh ~/.oh-my-zsh
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
# pyenv (or your preferred version manager)
curl https://pyenv.run | bash
# LSP servers (dep-free, via uv — install uv first: curl -LsSf https://astral.sh/uv/install.sh | sh)
uv tool install ty@latest
uv tool install ruff@latest
# lua-language-server: dnf or brew; ts_ls is bundled with nvim-lspconfigOptional but referenced by your configs:
- Wallpaper:
~/.config/backgrounds/wallhaven-5gwvz5.jpg(not in repo) - bat theme:
~/.config/bat/themes/KanagawaMocha.tmTheme+bat cache --build - Wiki notes:
~/git/wiki/*.md+index.md - Fonts:
JetBrainsMono Nerd Font Mono(required byghostty/config.ghostty)
Clone the repository:
git clone https://github.com/DibashT/dotfiles.git ~/dotfilesI use symlinks so changes made in the repository are immediately used by the applications.
Run the installer (backs up existing configs, prints a warning if required binaries are missing):
cd ~/dotfiles && ./install.shManual alternative (back up any existing configuration first):
ln -s ~/dotfiles/nvim ~/.config/nvim
ln -s ~/dotfiles/sway ~/.config/sway
ln -s ~/dotfiles/ghostty ~/.config/ghostty
ln -s ~/dotfiles/tmux ~/.config/tmux
ln -s ~/dotfiles/waybar ~/.config/waybar
ln -s ~/dotfiles/rofi ~/.config/rofi
ln -s ~/dotfiles/.zshrc ~/.zshrcThe Neovim configuration is written in Lua.
It does not use LazyVim or lazy.nvim. Plugins are installed with Neovim's native package manager using vim.pack.add().
The main configuration is in:
nvim/init.lua
It currently includes:
- LSP
- Treesitter
- FZF-Lua
- Blink completion
- Mason
- DAP
- Oil
- Lazygit
- CodeDiff
- Lualine
- Mini.nvim
- Alpha
- Markdown rendering
Neovim 0.12 or newer is required.
# Reload Sway
swaymsg reload
# Reload Waybar
killall -SIGUSR2 waybar
# Reload tmux
tmux source-file ~/.config/tmux/tmux.conf
# Restart MPD
systemctl --user restart mpdThis is a personal configuration, so some paths and commands may need to be changed before using it on another machine.
I mainly use this setup with Fedora, Sway, Wayland, Ghostty, and Neovim.