Skip to content

2KAbhishek/sway2k

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

License People Stars Forks Watches Last Updated

Swaying Windows in Wayland πŸŽπŸ›£

sway2k in action
sway2k in action

My personalized configs for sway window manager, minimalistic in design and optimized for developer productivity.

✨ Features

  • Optimized for the CLI
  • Comes with integrations for foot, mako, waybar and more
  • Minimalistic UI
  • Optimized for AMOLED displays

Setup

⚑ Requirements

Packages

All the mentioned packages may not be available in your package manager, you might have to install them manually.

  • sway: the window manager
  • foot: wayland terminal emulator
  • waybar: adds toolbar support
  • rofi: app launcher
  • qutebrowser: keyboard driven browser
  • mako: notification daemon
  • grimshot: screenshot support
  • wf-recorder: screen recorder support
  • cliphist: for clipboard management
  • wluma: adaptive brightness support
  • wlsunset: sunset timing support
  • light: for display brightness
  • python: for scripts support
  • nmtui: network manager cli
  • bluetuith: bluetooth manager cli
  • pulsemixer: audio manager cli
  • bmenu: cli menu for utilities
  • kvantum: theme manager
    • BWnb as the Kvantum theme
    • Note: You have to manually install BWnB using Kvantum Manager, or it will always open the manager after restart
  • FiraCode Nerd Font
# Arch
sudo pacman -S sway foot rofi waybar mako grimshot wf-recorder cliphist wluma wlsunset light python

# Debian
sudo apt install sway foot rofi waybar mako grimshot wf-recorder cliphist wluma wlsunset light python

# Fedora
sudo dnf install kvantum lxappearance kanshi calcurse

Recommended Configurations

Highly recommended to use this alongside the following configurations:

πŸš€ Installation

git clone https://github.com/2kabhishek/sway2k
ln -sfnv "$PWD/sway2k" ~/.config/sway

πŸ’» Usage

Keybindings

All the configured keybindings can be found in the keybinding manual here.

Customization

Waybar Modules

Comes with a bunch of customized waybar modules:

  • menu: app launcher
  • clock: with calendar integration
  • weather: powered by wttr.in
  • mode: sway modes
  • wf-recorder: screen recorder integration
  • pacman: package manager integration
  • github: GitHub notifications with gh cli
  • zeit: task tracker integration
  • clipboard: powered by cliphist
  • temperature: cpu temperatures with sensors
  • cpu: cpu usage in percentage
  • memory: shows used ram
  • idle-inhibitor: controls idle screen turning off
  • battery: shows battery usages and warnings
  • sunset: location based gamma correction
  • adaptive-light: brightness control powered by wluma
  • backlight: brightness control
  • playerctl: controls media playback
  • pulseaudio: controls audio devices
  • network: network connections powered by nmtui
  • bluetooth: bluetooth adapter controls
  • dnd: mako dnd integrations
  • tray: system tray integration

If you want to use the waybar theme by itself, you can do so by running:

# To setup waybar separately
ln -sfnv "$PWD/sway2k/waybar" ~/.config/waybar

Behind The Code

🌈 Inspiration

A spiritual successor to awesome2k.

I have been using awesome wm for a while and wanted to try out wayland, so I jumped in to sway!

πŸ’‘ Challenges/Learnings

  • Learned about wayland and sway APIs

πŸ” More Info

  • awesome2k β€” Xorg based tiling wm configs

⭐ hit the star button if you found this useful ⭐

Source | Blog | Twitter | LinkedIn | More Links | Other Projects

Releases

No releases published

Sponsor this project

 

Packages

No packages published