Skip to content

uintmax/sway-display-switch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sway Display Switch

A GUI for toggling Sway outputs.

Controls

Left: Left arrow, A or H
Right: Right arrow, D orL
Toggle: Enter or Space
Exit: Escape or Q

Build

cmake --preset release

cmake --build build-release

Best used when bound to a key in your Sway config:

bindsym exec $mod+<key> sway_display_switch

Dependencies

All dependencies will be automatically installed via vcpkg.

  • SDL3
  • nlohmann_json
  • Fontconfig

Two SVG icons from Google Fonts are already embedded in src/ui/Icons.h as strings.

References

About

GUI for toggling Sway outputs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors