{"id":13635628,"url":"https://github.com/2kabhishek/sway2k","last_synced_at":"2025-05-03T14:32:01.232Z","repository":{"id":192553543,"uuid":"685326885","full_name":"2KAbhishek/sway2k","owner":"2KAbhishek","description":"Swaying Windows in Wayland 🎏🛣 ","archived":false,"fork":false,"pushed_at":"2025-03-21T22:49:53.000Z","size":3195,"stargazers_count":13,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-07T16:41:01.430Z","etag":null,"topics":["config","dotfiles","foot","linux","mako","sway","tiling","waybar","wayland","window-manager"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/2KAbhishek.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"2kabhishek","buy_me_a_coffee":"2kabhishek"}},"created_at":"2023-08-31T01:47:15.000Z","updated_at":"2025-03-31T20:34:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"b3ce71a5-8807-4947-8515-72326467a41b","html_url":"https://github.com/2KAbhishek/sway2k","commit_stats":null,"previous_names":["2kabhishek/sway2k"],"tags_count":0,"template":false,"template_full_name":"2KAbhishek/bare-minimum","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2KAbhishek%2Fsway2k","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2KAbhishek%2Fsway2k/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2KAbhishek%2Fsway2k/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2KAbhishek%2Fsway2k/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/2KAbhishek","download_url":"https://codeload.github.com/2KAbhishek/sway2k/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252203265,"owners_count":21710925,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["config","dotfiles","foot","linux","mako","sway","tiling","waybar","wayland","window-manager"],"created_at":"2024-08-02T00:00:48.430Z","updated_at":"2025-05-03T14:31:56.224Z","avatar_url":"https://github.com/2KAbhishek.png","language":"Python","funding_links":["https://github.com/sponsors/2kabhishek","https://buymeacoffee.com/2kabhishek"],"categories":["More Info"],"sub_categories":["Theming"],"readme":"\u003cdiv align = \"center\"\u003e\n\n\u003ch1\u003e\u003ca href=\"https://github.com/2kabhishek/sway2k\"\u003esway2k\u003c/a\u003e\u003c/h1\u003e\n\n\u003ca href=\"https://github.com/2KAbhishek/sway2k/blob/main/LICENSE\"\u003e\n\u003cimg alt=\"License\" src=\"https://img.shields.io/github/license/2kabhishek/sway2k?style=flat\u0026color=eee\u0026label=\"\u003e \u003c/a\u003e\n\n\u003ca href=\"https://github.com/2KAbhishek/sway2k/graphs/contributors\"\u003e\n\u003cimg alt=\"People\" src=\"https://img.shields.io/github/contributors/2kabhishek/sway2k?style=flat\u0026color=ffaaf2\u0026label=People\"\u003e \u003c/a\u003e\n\n\u003ca href=\"https://github.com/2KAbhishek/sway2k/stargazers\"\u003e\n\u003cimg alt=\"Stars\" src=\"https://img.shields.io/github/stars/2kabhishek/sway2k?style=flat\u0026color=98c379\u0026label=Stars\"\u003e\u003c/a\u003e\n\n\u003ca href=\"https://github.com/2KAbhishek/sway2k/network/members\"\u003e\n\u003cimg alt=\"Forks\" src=\"https://img.shields.io/github/forks/2kabhishek/sway2k?style=flat\u0026color=66a8e0\u0026label=Forks\"\u003e \u003c/a\u003e\n\n\u003ca href=\"https://github.com/2KAbhishek/sway2k/watchers\"\u003e\n\u003cimg alt=\"Watches\" src=\"https://img.shields.io/github/watchers/2kabhishek/sway2k?style=flat\u0026color=f5d08b\u0026label=Watches\"\u003e \u003c/a\u003e\n\n\u003ca href=\"https://github.com/2KAbhishek/sway2k/pulse\"\u003e\n\u003cimg alt=\"Last Updated\" src=\"https://img.shields.io/github/last-commit/2kabhishek/sway2k?style=flat\u0026color=e06c75\u0026label=\"\u003e \u003c/a\u003e\n\n\u003ch3\u003eSwaying Windows in Wayland 🎏🛣\u003c/h3\u003e\n\n\u003cfigure\u003e\n  \u003cimg src=\"images/screenshot.png\" alt=\"sway2k in action\"\u003e\n  \u003cbr/\u003e\n  \u003cfigcaption\u003esway2k in action\u003c/figcaption\u003e\n\u003c/figure\u003e\n\n\u003c/div\u003e\n\nMy personalized configs for [sway window manager](https://swaywm.org/), minimalistic in design and optimized for developer productivity.\n\n## ✨ Features\n\n- Optimized for the CLI\n- Comes with integrations for `foot`, `mako`, `waybar` and more\n- Minimalistic UI\n- Optimized for AMOLED displays\n\n## Setup\n\n### ⚡ Requirements\n\n#### Packages\n\nAll the mentioned packages may not be available in your package manager, you might have to install them manually.\n\n- `sway`: the window manager\n- `foot`: wayland terminal emulator\n- `waybar`: adds toolbar support\n- `rofi`: app launcher\n- `qutebrowser`: keyboard driven browser\n- `mako`: notification daemon\n- `grimshot`: screenshot support\n- `wf-recorder`: screen recorder support\n- `cliphist`: for clipboard management\n- `wluma`: adaptive brightness support\n- `wlsunset`: sunset timing support\n- `light`: for display brightness\n- `python`: for scripts support\n- `nmtui`: network manager cli\n- `bluetuith`: bluetooth manager cli\n- `pulsemixer`: audio manager cli\n- `bmenu`: cli menu for utilities\n- `kvantum`: theme manager\n  - [BWnb](https://github.com/2kabhishek/BWnb) as the Kvantum theme\n  - Note: You have to manually install `BWnB` using Kvantum Manager, or it will always open the manager after restart\n- FiraCode Nerd Font\n\n```bash\n# Arch\nsudo pacman -S sway foot rofi waybar mako grimshot wf-recorder cliphist wluma wlsunset light python\n\n# Debian\nsudo apt install sway foot rofi waybar mako grimshot wf-recorder cliphist wluma wlsunset light python\n\n# Fedora\nsudo dnf install kvantum lxappearance kanshi calcurse\n```\n\n#### Recommended Configurations\n\nHighly recommended to use this alongside the following configurations:\n\n- [rofi2k](https://github.com/2kabhishek/rofi2k) as rofi config\n- [qute2k](https://github.com/2kabhishek/qute2k) as quetbrowser config\n- [dots2k](https://github.com/2kabhishek/dots2k) CLI Dev Environment\n- [nvim2k](https://github.com/2kabhishek/nvim2k) Personalized Editor\n\n### 🚀 Installation\n\n```bash\ngit clone https://github.com/2kabhishek/sway2k\nln -sfnv \"$PWD/sway2k\" ~/.config/sway\n```\n\n## 💻 Usage\n\n### Keybindings\n\nAll the configured keybindings can be found in the [keybinding manual here](./docs/keybindings.md).\n\n### Customization\n\n- Customize colors, icons, fonts, and more in [theme.conf](./config.d/theme.conf).\n- Customize Default apps and other definitions in [definitions.conf](config.d/definitions.conf)\n\n### Waybar Modules\n\nComes with a bunch of customized waybar modules:\n\n- `menu`: app launcher\n- `clock`: with calendar integration\n- `weather`: powered by wttr.in\n- `mode`: sway modes\n- `wf-recorder`: screen recorder integration\n- `pacman`: package manager integration\n- `github`: GitHub notifications with gh cli\n- `zeit`: task tracker integration\n- `clipboard`: powered by cliphist\n- `temperature`: cpu temperatures with sensors\n- `cpu`: cpu usage in percentage\n- `memory`: shows used ram\n- `idle-inhibitor`: controls idle screen turning off\n- `battery`: shows battery usages and warnings\n- `sunset`: location based gamma correction\n- `adaptive-light`: brightness control powered by wluma\n- `backlight`: brightness control\n- `playerctl`: controls media playback\n- `pulseaudio`: controls audio devices\n- `network`: network connections powered by nmtui\n- `bluetooth`: bluetooth adapter controls\n- `dnd`: mako dnd integrations\n- `tray`: system tray integration\n\nIf you want to use the waybar theme by itself, you can do so by running:\n\n```bash\n# To setup waybar separately\nln -sfnv \"$PWD/sway2k/waybar\" ~/.config/waybar\n```\n\n## Behind The Code\n\n### 🌈 Inspiration\n\nA spiritual successor to [awesome2k](https://github.com/2KAbhishek/awesome2k).\n\nI have been using awesome wm for a while and wanted to try out wayland, so I jumped in to sway!\n\n### 💡 Challenges/Learnings\n\n- Learned about wayland and sway APIs\n\n### 🔍 More Info\n\n- [awesome2k](https://github.com/2kabhishek/awesome2k) — Xorg based tiling wm configs\n\n\u003chr\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n\u003cstrong\u003e⭐ hit the star button if you found this useful ⭐\u003c/strong\u003e\u003cbr\u003e\n\n\u003ca href=\"https://github.com/2KAbhishek/sway2k\"\u003eSource\u003c/a\u003e\n| \u003ca href=\"https://2kabhishek.github.io/blog\" target=\"_blank\"\u003eBlog \u003c/a\u003e\n| \u003ca href=\"https://twitter.com/2kabhishek\" target=\"_blank\"\u003eTwitter \u003c/a\u003e\n| \u003ca href=\"https://linkedin.com/in/2kabhishek\" target=\"_blank\"\u003eLinkedIn \u003c/a\u003e\n| \u003ca href=\"https://2kabhishek.github.io/links\" target=\"_blank\"\u003eMore Links \u003c/a\u003e\n| \u003ca href=\"https://2kabhishek.github.io/projects\" target=\"_blank\"\u003eOther Projects \u003c/a\u003e\n\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2kabhishek%2Fsway2k","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F2kabhishek%2Fsway2k","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F2kabhishek%2Fsway2k/lists"}