My current Sway Config with some custom bash scripts
Find a file
2023-12-10 20:57:23 +01:00
.config/sway Notifications for audio and brightness 2023-12-10 20:46:48 +01:00
README.md Added new programs 2023-12-10 20:57:23 +01: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 want just 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 alacritty
App Launcher wofi
Icons Flatery
Symbols/Emojis emoji-font (e.g. noto-emoji)
polkit polkit-gnome
Screen Selector slurp
Media Controls playerctl
X-Compatibility xorg-xwayland

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

For Flatery an AUR-Helper is needed.

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

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