Skip to content

ComradeWave/.dotfiles

Repository files navigation

My configs for swayfx (sway fork)

❤️ This dotfiles fully compatible with vanilla sway, just remove ./config/sway/config.d/swayfx config file

Also check their 'sway keybindings helper' project

  • i'll fork and recompile sway-keyhints for legacy devices

using DotBot

  • press Win + p to show keybindigs help (the config was broken lol)

🗿 Info

🚀 Install for arch based distros (copy and paste to terminal)

  1. install all needed apps
sudo pacman -S --needed swaybg jq cmake cmocka ranger wofi waybar mtools vim neovim zsh \
papirus-icon-theme noto-fonts-emoji wl-clipboard translate-shell slurp \
grim light pamixer wmname xdg-desktop-portal-wlr xdg-desktop-portal-gtk kanshi alacritty \
kitty pavucontrol playerctl imv mpv wayvnc swayidle mako imagemagic gnome-themes-extra \
gtk-engine-murrine ttf-jetbrains-mono ttf-nerd-fonts-symbols

sudo usermod -a -G video $USER
  1. clone dotfiles and change current directory to project directory (do any steps below from it)
git clone https://github.com/ComradeWave/.dotfiles
cd .dotfiles
  1. change shell to zsh
chsh -s /bin/zsh $USER
  1. create your config backups if needed (hide errors)
mkdir ~/sway_backups.old

mv ~/.zshenv ~/sway_backups.old/.zshenv.bak 2> /dev/null
mv ~/.zshrc ~/sway_backups.old/.zshrc.bak 2> /dev/null
mv ~/.p10k.zsh ~/sway_backups.old/.p10k.zsh.bak 2> /dev/null
mv ~/.config ~/sway_backups.old/.config.bak 2> /dev/null
mv ~/.vim ~/sway_backups.old/.vim.bak 2> /dev/null
mv ~/.themes/ ~/sway_backups.old/.themes.bak 2> /dev/null
mv ~/.azotebg ~/sway_backups.old/.azote.bak 2> /dev/null

sudo pacman -R --no-confirm xterm

4.1 create all needed links and copy fonts

chmod +x ./install
./install 
  1. install 'yay'
git clone https://aur.archlinux.org/yay-bin.git
cd yay-bin
makepkg -si
  1. install menus/toolbars/utils etc for sway
  • use gpg --receive-keys if any errors occures
sudo yay -S avizo
sudo yay -S nwg-launchers
sudo yay -S nwg-panel
sudo yay -S wlsunset
sudo yay -S sworkstyle
sudo yay -S azote
sudo yay -S audio-recorder
sudo yay -S autotiling

(Optional) install ranger devicons

git clone https://github.com/alexanderjeurissen/ranger_devicons ~/.config/ranger/plugins/ranger_devicons

Reboot your system

Configuration

  • default sway config: ~/.config/sway/config
include $HOME/.config/sway/config.d/*
include /etc/sway/outputs/*

status bar

  • edit ~/.config/sway/config.d/10-autostart-applications config file:

waybar

comment nwg-panel to enable waybar

#exec_always nwg-panel

nwg-panel

comment waybar to enable nwg-panel

bar {
   #swaybar_command waybar
}

keyboard

  • edit .config/sway/config.d/input to change keyboard layout and other kb settings
  • edit .config/sway/config.d/default to change key bindings config

change output properties (check man page for more info)

  • create config file in /etc/sway/outputs/example
    example:
# Default wallpaper
output * scale 1.3

Issues

  • vmware: black screen after sway launch
    adding WLR_NO_HARDWARE_CURSORS=1 to /etc/environment may fix the problem