/.dotfiles

dots

Primary LanguageShell

marcelo's dotfiles

Sway + GNOME shill

Setup

🚧⚠️ Warning ⚠️🚧

Use at your own risk! This is tailored to my setup and uses on Fedora.


First, clone this repo into its permanent directory (otherwise stuff will break) and cd into it; then you can install the packages needed (at least, those available in the Fedora repos):

sudo dnf install $(cat packages.txt)

You should now be able to switch to zsh:

chsh -s $(which zsh)

Firefox is used throughout this repo. You can just install it regularly but for the sandboxing and quicker updates I prefer the official Flatpak; then creating a firefox script in e.g. .local/bin/ containing:

#!/bin/sh
flatpak run org.mozilla.firefox -- "$@"

Then, dim, NerdFont (symbols only), and hyprpicker must be installed manually.

Run ./init.sh. Assuming a clean install this should place config files and scripts where they go. You should log out and log back in to be in zsh.

You may now run sway or setup a login screen like greetd with tuigreet.

Tips

  • You can install xdg-user-dirs and run xdg-user-dirs-update, creating the Downloads, Pictures, etc. folders for you.

  • I noticed missing font problems in Firefox after a Fedora Minimal install, installing these additonal packages helped: adobe-source-sans-pro-fonts gnu-free-sans-fonts google-noto-sans* unifont-fonts

  • To make printing life easier, you may install cups and system-config-printer to graphically manage them. Additional drivers are available such as gutenprint-cups for e.g. Canon printers, see Printer drivers

  • For cursor theme to apply to all apps even in Flatpak, copy it from /usr/share to ~/.icons/default and allow all flatpaks to see that as :ro e.g.:

    cp -r /usr/share/icons/breeze_cursors ~/.icons/default
  • You can symlink foot as xdg-terminal-exec so that glib apps (e.g. Thunar) open it when needing a terminal:

    sudo ln -s /bin/foot /bin/xdg-terminal-exec
  • Wallpapers are put in ~/Wallpapers/<light|dark>/name.png. See the script.

Credits

Usage Project name
Window manager sway
Status bar waybar
Terminal foot
Screenshot Markup swappy
Auto dark mode (optional) darkman
Night light gammastep
Auto-suspending swayidle
Lockscreen swaylock
Screen dimmer dim
Notifications dunst
App menu fuzzel
Emoji wofi-emoji (use fuzzel -d in script)
Text editing/coding neovim
Screen/Keyboard backlight brightnessctl
File manager nautilus