45 lines
2.5 KiB
Markdown
45 lines
2.5 KiB
Markdown
# Sway-Config
|
|
My current SwayWM Setup for Arch Linux. It uses bash Skripts and systemd-utilities. If you want to use it without them, help me improve it.
|
|
|
|
![Screenshot des Desktops mit offenem Menü](https://forge.chaostreff-alzey.de/esche/Sway-config/raw/branch/main/screenshot-2023-03-23-170929.png)
|
|
|
|
### Includes:
|
|
- customizable scripts for menu, screenshots, gammastep and other functions
|
|
- many bindsyms ([neo2](https://www.neo-layout.org/) keyboard layout)
|
|
- already set up to support xwayland and wine (for wine also see [this issue](https://wiki.archlinux.org/title/Sway#Mouse_not_working_in_WINE_applications))
|
|
|
|
### Setting up
|
|
- install dependencies
|
|
- Place the files in .config in $XDG_CONFIG_HOME
|
|
- make shell-scripts executable ```chmod u+x .config/sway/*.sh```
|
|
- edit the .config/sway/gammastep.ini to your timezone
|
|
- edit the Output and Input Configuration in .config/sway/config, if neccessary
|
|
- set Environment
|
|
- start sway
|
|
- further information can be found in the [sway wiki](https://github.com/swaywm/sway/wiki/Running-programs-natively-under-wayland)
|
|
|
|
### Dependencies:
|
|
- [alacritty](https://github.com/alacritty/alacritty)
|
|
- [bemenu](https://github.com/Cloudef/bemenu)
|
|
- emoji-font (e.g. [noto-emoji](https://github.com/googlefonts/noto-emoji))
|
|
- [gammastep](https://gitlab.com/chinstrap/gammastep)
|
|
- [grim](https://sr.ht/~emersion/grim/)
|
|
- [mako](https://github.com/emersion/mako)
|
|
- [polkit-gnome](https://gitlab.gnome.org/Archive/policykit-gnome)
|
|
- [slurp](https://github.com/emersion/slurp)
|
|
- [acpiclient](https://sourceforge.net/projects/acpiclient/files/acpiclient/)
|
|
- [playerctl](https://github.com/altdesktop/playerctl)
|
|
|
|
install all with: ```sudo pacman -Syu alacritty bemenu noto-fonts-emoji gammastep grim mako polkit-gnome slurp acpi playerctl```
|
|
optional you should consider installing [xorg-xwayland](https://xorg.freedesktop.org/wiki/) for support for non-wayland applications
|
|
|
|
### Recommended Environment
|
|
These [Environment Variables](https://wiki.archlinux.org/title/Environment_Variables) are recommended for using sway:\
|
|
export XDG_CURRENT_DESKTOP=sway\
|
|
export XDG_SESSION_TYPE=wayland\
|
|
|
|
For a consistent Theme across GTK and QT applications you can also set the Adwaita theme (libadwaita) which also has a adwaita-qt version in the AUR.
|
|
|
|
### Licences
|
|
the wallpaper is "Winter Fairies" by David Revoy, licensed under Creative Commons Attribution 4.0.
|
|
You can download it [here](https://www.peppercarrot.com/en/viewer/artworks-src__2020-12-21_Winter-Fairies_by-David-Revoy.html) or find more artworks [here](https://www.peppercarrot.com/en/artworks/artworks.html)
|