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
smart_gaps on
gaps inner 2
gaps inner 4
gaps outer 0
# Hide titlebar on windows:
default_border pixel 1
default_border pixel 2
smart_borders on
# Default Font
font pango:Noto Sans Regular 10
# Thin borders:
smart_borders on
# Title format for windows
for_window [shell="xdg_shell"] title_format "%title (%app_id)"
for_window [shell="x_wayland"] title_format "%class - %title"
set $focus #00E5FF
set $unfocused #333333
set $urgent #FF0033
set $bg #0A0A0A
set $text_dark #000000
set $text_dim #888888
# class border bground text indicator child_border
client.focused #556064 #F9CE5C #000000 #CB4B16 #FDF6E3
client.focused_inactive #CB4B16 #2F3D44 #1ABC9C #454948 #454948
client.unfocused #556064 #2F3D44 #1ABC9C #454948 #454948
client.urgent #CB4B16 #FDF6E3 #1ABC9C #268BD2 #268BD2
client.placeholder #000000 #0C0C0C #ffffff #000000 #000000
client.background #2B2C2B
# class border bground text indicator child_border
client.focused $focus $focus $text_dark $focus $focus
client.focused_inactive $unfocused $unfocused $text_dim $unfocused $unfocused
client.unfocused $unfocused $unfocused $text_dim $unfocused $unfocused
client.urgent $urgent $urgent #FFFFFF $urgent $urgent
client.placeholder #000000 #000000 #FFFFFF #000000 #000000
client.background $bg
# Status Bar:
bar {
+1 -2
View File
@@ -1,6 +1,4 @@
#!/bin/sh
# usage: import-gsettings
config="${XDG_CONFIG_HOME:-$HOME/.config}/gtk-3.0/settings.ini"
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" cursor-theme "$cursor_theme"
gsettings set "$gnome_schema" font-name "$font_name"
gsettings set "$gnome_schema" color-scheme 'prefer-dark'