Remove window decorations

This commit is contained in:
Albert Armea 2025-12-27 12:14:19 -05:00
parent 3b28bd7129
commit 6ad5a760b8

View file

@ -9,6 +9,18 @@ set $hud ./target/debug/shepherd-hud
# Set up displays (adjust as needed for your hardware) # Set up displays (adjust as needed for your hardware)
output * bg #000000 solid_color output * bg #000000 solid_color
# Hide ALL window borders and focus indicators by making them transparent/black
# Note: The 5th value is the "child_border" which is the actual visible border
client.focused #000000 #000000 #ffffff #000000 #000000
client.focused_inactive #000000 #000000 #888888 #000000 #000000
client.unfocused #000000 #000000 #888888 #000000 #000000
client.urgent #000000 #000000 #ffffff #000000 #000000
client.placeholder #000000 #000000 #888888 #000000 #000000
client.background #000000
# Completely hide focus indicator by hiding the mark
hide_edge_borders --i3 both
### Idle configuration ### Idle configuration
# Prevent screen from turning off (adjust timeout as needed) # Prevent screen from turning off (adjust timeout as needed)
exec swayidle -w \ exec swayidle -w \
@ -42,14 +54,31 @@ bindsym Mod4+Shift+Escape exit
# Make launcher windows fullscreen # Make launcher windows fullscreen
for_window [app_id="shepherd-launcher"] fullscreen enable for_window [app_id="shepherd-launcher"] fullscreen enable
# Make other windows fullscreen by default # Make other windows fullscreen by default and remove decorations
for_window [class=".*"] fullscreen enable for_window [class=".*"] fullscreen enable, border none, title_format ""
for_window [app_id=".*"] fullscreen enable for_window [app_id=".*"] fullscreen enable, border none, title_format ""
# Disable window decorations (no title bars) # Minecraft-specific rules (XWayland Electron app)
for_window [class="Minecraft.*"] fullscreen enable, border none
for_window [class="minecraft-launcher"] fullscreen enable, border none
for_window [title="Minecraft.*"] fullscreen enable, border none
# Disable window decorations (no title bars) - for all windows
default_border none default_border none
default_floating_border none default_floating_border none
# Force pixel border of 0 explicitly
default_border pixel 0
default_floating_border pixel 0
# Force no border on XWayland windows
for_window [shell="xwayland"] border none, border pixel 0
# Tell clients not to draw their own decorations (for apps that respect this)
# Note: Many Electron apps ignore this
titlebar_border_thickness 0
titlebar_padding 0 0
# Disable gaps # Disable gaps
gaps inner 0 gaps inner 0
gaps outer 0 gaps outer 0