Sway-config/README.md

46 lines
2.5 KiB
Markdown
Raw Normal View History

2023-03-23 21:50:40 +01:00
# Sway-Config
2023-09-24 21:36:39 +02:00
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.
2023-03-23 21:50:06 +01:00
2023-11-19 19:43:22 +01:00
![Screenshot des Desktops mit offenem Menü (veraltet)](https://forge.chaostreff-alzey.de/esche/Sway-config/raw/branch/main/screenshot-2023-03-23-170929.png)
2023-03-23 16:18:15 +01:00
2023-03-23 16:30:07 +01:00
### Includes:
2023-03-23 21:47:07 +01:00
- 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))
2023-03-23 15:53:07 +01:00
2023-03-23 16:30:07 +01:00
### Setting up
- install dependencies
2023-09-24 21:34:15 +02:00
- Place the files in .config in $XDG_CONFIG_HOME
- make shell-scripts executable ```chmod u+x .config/sway/*.sh```
2023-03-23 16:30:07 +01:00
- edit the .config/sway/gammastep.ini to your timezone
2023-09-24 21:34:15 +02:00
- edit the Output and Input Configuration in .config/sway/config, if neccessary
- set Environment
2023-03-23 16:30:07 +01:00
- start sway
2023-03-26 10:43:10 +02:00
- further information can be found in the [sway wiki](https://github.com/swaywm/sway/wiki/Running-programs-natively-under-wayland)
2023-03-23 16:30:07 +01:00
### Dependencies:
2023-03-23 17:11:14 +01:00
- [alacritty](https://github.com/alacritty/alacritty)
2023-11-19 19:43:22 +01:00
- [wofi](https://hg.sr.ht/~scoopta/wofi)
2023-03-23 17:11:14 +01:00
- 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)
2023-09-24 21:34:15 +02:00
- [acpiclient](https://sourceforge.net/projects/acpiclient/files/acpiclient/)
- [playerctl](https://github.com/altdesktop/playerctl)
2023-03-23 16:30:07 +01:00
2023-09-24 21:38:18 +02:00
install all with: ```sudo pacman -Syu alacritty bemenu noto-fonts-emoji gammastep grim mako polkit-gnome slurp acpi playerctl```\
2023-09-24 21:38:01 +02:00
optional: [xorg-xwayland](https://xorg.freedesktop.org/wiki/)
2023-09-24 21:34:15 +02:00
### Recommended Environment
2023-09-24 21:37:15 +02:00
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\
2023-09-24 21:34:15 +02:00
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.
2023-03-23 21:39:04 +01:00
### Licences
2023-03-23 21:39:21 +01:00
the wallpaper is "Winter Fairies" by David Revoy, licensed under Creative Commons Attribution 4.0.
2023-03-23 21:39:04 +01:00
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)