sway theming

This commit is contained in:
Henrik Bakken
2026-10-07 13:28:28 +02:00
parent c481cbc15f
commit 43edbad2f6
2 changed files with 17 additions and 16 deletions
+16 -14
View File
@@ -10,29 +10,31 @@ mouse_warping none
# Set inner/outer gaps # Set inner/outer gaps
smart_gaps on smart_gaps on
gaps inner 2 gaps inner 4
gaps outer 0 gaps outer 0
# Hide titlebar on windows: # Hide titlebar on windows:
default_border pixel 1 default_border pixel 2
smart_borders on
# Default Font # Default Font
font pango:Noto Sans Regular 10 font pango:Noto Sans Regular 10
# Thin borders:
smart_borders on
# Title format for windows # Title format for windows
for_window [shell="xdg_shell"] title_format "%title (%app_id)" set $focus #00E5FF
for_window [shell="x_wayland"] title_format "%class - %title" set $unfocused #333333
set $urgent #FF0033
set $bg #0A0A0A
set $text_dark #000000
set $text_dim #888888
# class border bground text indicator child_border # class border bground text indicator child_border
client.focused #556064 #F9CE5C #000000 #CB4B16 #FDF6E3 client.focused $focus $focus $text_dark $focus $focus
client.focused_inactive #CB4B16 #2F3D44 #1ABC9C #454948 #454948 client.focused_inactive $unfocused $unfocused $text_dim $unfocused $unfocused
client.unfocused #556064 #2F3D44 #1ABC9C #454948 #454948 client.unfocused $unfocused $unfocused $text_dim $unfocused $unfocused
client.urgent #CB4B16 #FDF6E3 #1ABC9C #268BD2 #268BD2 client.urgent $urgent $urgent #FFFFFF $urgent $urgent
client.placeholder #000000 #0C0C0C #ffffff #000000 #000000 client.placeholder #000000 #000000 #FFFFFF #000000 #000000
client.background #2B2C2B client.background $bg
# Status Bar: # Status Bar:
bar { bar {
+1 -2
View File
@@ -1,6 +1,4 @@
#!/bin/sh #!/bin/sh
# usage: import-gsettings
config="${XDG_CONFIG_HOME:-$HOME/.config}/gtk-3.0/settings.ini" config="${XDG_CONFIG_HOME:-$HOME/.config}/gtk-3.0/settings.ini"
if [ ! -f "$config" ]; then exit 1; fi if [ ! -f "$config" ]; then exit 1; fi
@@ -13,3 +11,4 @@ gsettings set "$gnome_schema" gtk-theme "$gtk_theme"
gsettings set "$gnome_schema" icon-theme "$icon_theme" gsettings set "$gnome_schema" icon-theme "$icon_theme"
gsettings set "$gnome_schema" cursor-theme "$cursor_theme" gsettings set "$gnome_schema" cursor-theme "$cursor_theme"
gsettings set "$gnome_schema" font-name "$font_name" gsettings set "$gnome_schema" font-name "$font_name"
gsettings set "$gnome_schema" color-scheme 'prefer-dark'