commit 7b75420ac33a694a7dd8cbda0ff9b871b3f4fa4f parent bd80744dc70a96c7e96de6fe5a6e5d64581ff93d Author: Luke Willis <lukejw@loquat.dev> Date: Wed, 20 Aug 2025 23:03:06 -0400 Use flexoki theme for sway Diffstat:
M | orchard/home/lukejw/sway.scm | | | 61 | +++++++++++++++++++++++++++++++++++++++++-------------------- |
1 file changed, 41 insertions(+), 20 deletions(-)
diff --git a/orchard/home/lukejw/sway.scm b/orchard/home/lukejw/sway.scm @@ -68,17 +68,30 @@ (pactl . "pactl") (bctl . "brightnessctl -q") ;; Color palette - (acc . "#d79921") - (dbg . "#1d2021") - (bg . "#282828") - (bbg . "#928374") - (fg . "#ebdbb2"))) + (bg . "#100F0F") + (bg-2 . "#1C1B1A") + (ui . "#282726") + (ui-2 . "#343331") + (ui-3 . "#403E3C") + (tx . "#CECDC3") + (tx-2 . "#878580") + (tx-3 . "#575653") + (re . "#D14D41") + (re-2 . "#AF3029") + (or . "#DA702C") + (or-2 . "#BC5215") + (ye . "#D0A215") + (ye-2 . "#AD8301") + (bl . "#4385BE") + (bl-2 . "#205EA6"))) (define %sway-theme (list "font monospace 14" - "client.focused $acc $acc $bg $fg" - "client.focused_inactive $bbg $bbg $bg $fg" - "client.unfocused $bg $bg $fg $bbg")) + "client.focused $ye-2 $ye-2 $tx $tx" + "client.focused_inactive $ui-3 $ui-3 $tx $tx" + "client.unfocused $ui $ui $tx-2 $tx-2" + "client.urgent $re-2 $re-2 $tx $tx" + "titlebar_border_thickness 2")) (define %sway-modes (list (sway-mode @@ -96,23 +109,28 @@ (position 'top) (colors (sway-color - (background "$bg") - (statusline "$fg\n separator $bbg") + (background "$bg-2") + (statusline "$tx-2\n separator $tx-2") (focused-workspace (sway-border-color - (border "$acc") - (background "$acc") - (text "$bg"))) + (border "$ye-2") + (background "$ye-2") + (text "$tx"))) (active-workspace (sway-border-color - (border "$bbg") - (background "$bbg") - (text "$bg"))) + (border "$ui-3") + (background "$ui-3") + (text "$tx"))) (inactive-workspace (sway-border-color - (border "$bg") - (background "$bg") - (text "$fg"))))) + (border "$ui") + (background "$ui") + (text "$tx-2"))) + (urgent-workspace + (sway-border-color + (border "$re-2") + (background "$re-2") + (text "$tx"))))) (status-command "i3blocks\n separator_symbol \" | \""))) (define %sway-keybindings @@ -192,5 +210,8 @@ (bar %sway-bar) (modes %sway-modes) (startup-programs %sway-startup-programs) - (extra-content %sway-theme))) + (extra-content (append + (list + "for_window [title=\"Authentication Required\"] floating enable") + %sway-theme))))