My current Sway Config with some custom bash scripts
Find a file
2024-09-30 20:29:30 +02:00
.config/sway .config/sway/config aktualisiert 2024-09-30 20:29:30 +02:00
README.md README.md aktualisiert 2024-09-30 20:28:57 +02:00
screenshot-2023-03-23-170929.png Add files via upload 2023-03-23 21:33:13 +01:00

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. If you just want a full setup for sway-desktop, have a look at nwg-shell at first.

Screenshot des Desktops mit offenem Menü (veraltet)

Includes:

  • customizable scripts for menu, screenshots, gammastep and other functions
  • many bindsyms (neo2 keyboard layout)
  • already set up to support xwayland and wine (for wine also see this issue)

Installation

  • install modules
  • 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

Modules and Dependencies

Module Type Module Name
Shell GNU-bash, Bash-Completion
Window Manager sway
Notification Deamon mako
Screen Locker swaylock
Idle Manager swayidle
Gamma gammastep
Screenshot grim
System Info Tool acpiclient, neofetch
Terminal Emulator kitty
App Launcher wofi
polkit polkit-gnome
Screen Selector slurp
Media Controls playerctl
X-Compatibility xorg-xwayland

on Arch install all with: sudo pacman -Syu acpi kitty bash bash-completion gammastep grim mako neofetch playerctl polkit-gnome slurp sway swayidle swaylock wofi xorg-xwayland

These are Environment Variables I recommend for using sway:
export XDG_SESSION_TYPE="wayland"
export XDG_CURRENT_DESKTOP=sway
export QT_QPA_PLATFORM="wayland;xcb"
export SDL_VIDEODRIVER="wayland,x11"
export _JAVA_AWT_WM_NONREPARENTING=1
export MOZ_ENABLE_WAYLAND=1

Theming

Module Type Module Name
GTK Theme libadwaita
QT Theme adwaita-qt
Font Settings fontconfig
Icons Flatery
Symbols/Emojis emoji-font (e.g. noto-emoji)

A graphical Interface for Theming is nwg-look.

Licences

the wallpaper is "Winter Fairies" by David Revoy, licensed under Creative Commons Attribution 4.0. You can download it here or find more artworks here