Skip to content

Nachtalb/sway

 
 

Repository files navigation

Sway Configuration

Welcome to my tailored Sway setup, which I use daily for an efficient and seamless workflow. This configuration has been adapted and refined from Difrex's original setup.

screenshot

Core Components

  • Waybar: A versatile panel that integrates seamlessly with Sway.
  • mako: A lightweight notification daemon for Wayland.
  • swayidle: Manages automatic screen locking to maintain security.
  • rofi: A powerful application launcher and an apt replacement for dmenu.
  • swaylock: Ensures your workspace is secure with its lock screen utility.
  • ranger: A visual file manager to swiftly navigate your files.

Recommended Installation

For an enhanced and holistic experience with this Sway configuration, and to ensure all related tools operate as intended, it's highly recommended to use the OS Setup script:

Disclaimer: The OS Setup tool provides a comprehensive setup, configuring various dependencies and components. It might overwrite or conflict with your existing settings. If you prefer a manual approach, please refer to the install.d folder instructions detailed below.

bash <(curl https://raw.githubusercontent.com/Nachtalb/os-setup/master/web-install.sh) --noconfirm

This command will swiftly fetch and execute the installation script without any prompts.

However, if you're returning or prefer a hands-on approach, you can delve into the install.d directory of the OS Setup repository. Here, you'll find granular instructions and configurations tailored for each segment of the setup.

Keybindings

The primary modifier, $mod, refers to the Super key (often symbolised with the Windows logo).

  • Window Management

    • Close focused window: $mod+q
    • Open a terminal: $mod+Return
    • Resize mode: $mod+r
    • Reload config: $mod+Shift+c
    • End session: $mod+Shift+e
  • Launchers & Utilities

    • Use Rofi to launch apps: $mod+d
    • Use Rofi to run commands: $mod+Shift+d
    • Lock your screen with swaylock: $mod+comma
    • Capture a screenshot (utilising grim and slurp): $mod+Shift+c
  • Theme Management (requires wal)

    • Activate light theme: $mod+Ctrl+Shift+l
    • Activate dark theme: $mod+Ctrl+Shift+d

This integrates the recommended installation into the Sway README.

About

My Sway configuration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 30.0%
  • Shell 27.0%
  • CSS 21.9%
  • Go 21.1%