Skip to content
DibashTPublic

About

Contain configuration: ghostty, nvim, rofi, sway, swaylock, tmux, waybar, wlogout, fastfetch, rmpc + mpd, running in fedora sway

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

135 Commits

Folders and files

Repository files navigation

My Fedora Sway Dotfiles

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

Structure

.
├── 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

Packages

Core (Fedora):

sudo dnf install -y sway waybar rofi ghostty wlogout swaylock swayidle swaynag wl-clipboard cliphist grimshot wlsunset dbus-x11

CLI 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 imv

Shell / 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-lspconfig

Optional 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 by ghostty/config.ghostty)

Setup

Clone the repository:

git clone https://github.com/DibashT/dotfiles.git ~/dotfiles

I 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.sh

Manual 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 ~/.zshrc

Neovim

The 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.

Reloading

# Reload Sway
swaymsg reload

# Reload Waybar
killall -SIGUSR2 waybar

# Reload tmux
tmux source-file ~/.config/tmux/tmux.conf

# Restart MPD
systemctl --user restart mpd

Notes

This 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.

About

Contain configuration: ghostty, nvim, rofi, sway, swaylock, tmux, waybar, wlogout, fastfetch, rmpc + mpd, running in fedora sway

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages