Awesome
<div align = "center"> <h1><a href="https://github.com/2kabhishek/sway2k">sway2k</a></h1> <a href="https://github.com/2KAbhishek/sway2k/blob/main/LICENSE"> <img alt="License" src="https://img.shields.io/github/license/2kabhishek/sway2k?style=flat&color=eee&label="> </a> <a href="https://github.com/2KAbhishek/sway2k/graphs/contributors"> <img alt="People" src="https://img.shields.io/github/contributors/2kabhishek/sway2k?style=flat&color=ffaaf2&label=People"> </a> <a href="https://github.com/2KAbhishek/sway2k/stargazers"> <img alt="Stars" src="https://img.shields.io/github/stars/2kabhishek/sway2k?style=flat&color=98c379&label=Stars"></a> <a href="https://github.com/2KAbhishek/sway2k/network/members"> <img alt="Forks" src="https://img.shields.io/github/forks/2kabhishek/sway2k?style=flat&color=66a8e0&label=Forks"> </a> <a href="https://github.com/2KAbhishek/sway2k/watchers"> <img alt="Watches" src="https://img.shields.io/github/watchers/2kabhishek/sway2k?style=flat&color=f5d08b&label=Watches"> </a> <a href="https://github.com/2KAbhishek/sway2k/pulse"> <img alt="Last Updated" src="https://img.shields.io/github/last-commit/2kabhishek/sway2k?style=flat&color=e06c75&label="> </a> <h3>Swaying Windows in Wayland 🎏🛣</h3> <figure> <img src="images/screenshot.png" alt="sway2k in action"> <br/> <figcaption>sway2k in action</figcaption> </figure> </div>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 managerfoot
: wayland terminal emulatorwaybar
: adds toolbar supportrofi
: app launcherqutebrowser
: keyboard driven browsermako
: notification daemongrimshot
: screenshot supportwf-recorder
: screen recorder supportcliphist
: for clipboard managementwluma
: adaptive brightness supportwlsunset
: sunset timing supportlight
: for display brightnesspython
: for scripts supportnmtui
: network manager clibluetuith
: bluetooth manager clipulsemixer
: audio manager clibmenu
: cli menu for utilitieskvantum
: 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:
- rofi2k as rofi config
- qute2k as quetbrowser config
- dots2k CLI Dev Environment
- nvim2k Personalized Editor
🚀 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
- Customize colors, icons, fonts, and more in theme.conf.
- Customize Default apps and other definitions in definitions.conf
Waybar Modules
Comes with a bunch of customized waybar modules:
menu
: app launcherclock
: with calendar integrationweather
: powered by wttr.inmode
: sway modeswf-recorder
: screen recorder integrationpacman
: package manager integrationgithub
: GitHub notifications with gh clizeit
: task tracker integrationclipboard
: powered by cliphisttemperature
: cpu temperatures with sensorscpu
: cpu usage in percentagememory
: shows used ramidle-inhibitor
: controls idle screen turning offbattery
: shows battery usages and warningssunset
: location based gamma correctionadaptive-light
: brightness control powered by wlumabacklight
: brightness controlplayerctl
: controls media playbackpulseaudio
: controls audio devicesnetwork
: network connections powered by nmtuibluetooth
: bluetooth adapter controlsdnd
: mako dnd integrationstray
: 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
<strong>⭐ hit the star button if you found this useful ⭐</strong><br>
<a href="https://github.com/2KAbhishek/sway2k">Source</a> | <a href="https://2kabhishek.github.io/blog" target="_blank">Blog </a> | <a href="https://twitter.com/2kabhishek" target="_blank">Twitter </a> | <a href="https://linkedin.com/in/2kabhishek" target="_blank">LinkedIn </a> | <a href="https://2kabhishek.github.io/links" target="_blank">More Links </a> | <a href="https://2kabhishek.github.io/projects" target="_blank">Other Projects </a>
</div>