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
- press
Win + p
to show keybindigs help (the config was broken lol)
- sway fx (windows manager)
- waybar (status bar)
- nwg-panel (status bar) Optional
- nwg-launchers (menus/launchers)
- wofi (menus/launchers)
- mako (wayland notification daemon)
- avizo (wayland overlay bar)
- yay (AUR helper)
- alacritty (shell)
- wf-recorder (screen recording)
- wl-clipboard (clipboard)
- ranger (file manager)
- 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
- clone dotfiles and change current directory to project directory (do any steps below from it)
git clone https://github.com/ComradeWave/.dotfiles
cd .dotfiles
- change shell to zsh
chsh -s /bin/zsh $USER
- 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
- install 'yay'
git clone https://aur.archlinux.org/yay-bin.git
cd yay-bin
makepkg -si
- 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
- default sway config:
~/.config/sway/config
include $HOME/.config/sway/config.d/*
include /etc/sway/outputs/*
- edit
~/.config/sway/config.d/10-autostart-applications
config file:
waybar
comment
nwg-panel
to enablewaybar
#exec_always nwg-panel
nwg-panel
comment
waybar
to enablenwg-panel
bar {
#swaybar_command waybar
}
- 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
- vmware: black screen after sway launch
adding WLR_NO_HARDWARE_CURSORS=1 to /etc/environment may fix the problem