Skip to content

oxydit/sway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sway Configuration

Tokyo Night themed Wayland compositor setup.

Structure

~/.config/sway/
├── config              # Main sway config
├── service             # (unused)
├── style/
│   └── power.css       # Wofi style for power menu
└── scripts/
    └── power-menu.sh   # Shutdown/reboot/suspend dialog

Keybindings

Binding Action
Super+Return Open terminal (Ghostty)
Super+d Application launcher (Wofi)
Super+Shift+d Power menu
Super+q Kill focused window
Super+Shift+c Reload config
Super+Shift+e Exit sway
Super+h/j/k/l Focus left/down/up/right
Super+Shift+h/j/k/l Move window left/down/up/right
Super+f Toggle fullscreen
Super+v/b Split vertical/horizontal
Super+e Toggle layout
Super+Space Focus mode toggle
Super+Shift+Space Toggle floating
Super+r Resize mode (h/j/k/l)
Super+Tab Switch to previous workspace
Super+1-9 Switch to workspace
Super+Shift+1-9 Move window to workspace
Super+Shift+p Screenshot region (swappy)
Super+p Screenshot full (clipboard)

Workspaces

# Name App
1 󰋜 Games (Ankama Launcher)
2 Ghostty
3 Firefox
4 󰒱 Slack / Vesktop
5 󰕧 OBS Studio

Appearance

  • Font: Iosevka Nerd Font 14px
  • Border: 1px pixel, smart borders/gaps enabled
  • Focus: does not follow mouse; warps cursor to container center
  • Cursor: hides after 2s idle

Window colours

State Border BG Text
Focused #7aa2f7 #7aa2f7 #1a1b26
Focused inactive #565f89 #565f89 #a9b1d6
Unfocused #24283b #24283b #565f89
Urgent #f7768e #f7768e #1a1b26

Hardware

  • Output: DP-1, 1920×1080 @ 165 Hz
  • Wallpaper: ~/.config/Wallpaper.png
  • Keyboard: US layout, 200 ms delay, 50 cps repeat
  • Mouse (2.4G): flat acceleration profile, 0.1 pointer speed

Services

  • Bar: Waybar (replaces swaybar)
  • USB: udiskie tray
  • GTK: Tokyonight-Dark theme, Tokyonight-Moon icons, Iosevka Nerd Font
  • Screenshots: grim + slurp + swappy

Power Menu

A Wofi-based dialog (Super+Shift+d) with three options — Power Off, Reboot, Suspend — styled with a distinct Tokyo Night CSS (style/power.css).

About

Une configuration Sway minimaliste, fluide et optimisée pour l'environnement Wayland.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors