From 7d92c4dd2c7cff70bc7bbddd193ca56d411d1942 Mon Sep 17 00:00:00 2001 From: javalsai Date: Fri, 13 Jun 2025 14:28:46 +0200 Subject: [PATCH] style(themes): renew themes to new format and fix stuff --- themes/cherry.ini | 79 +++++++++++++++++++++---------------- themes/default.ini | 79 +++++++++++++++++++++---------------- themes/kanagawa-dragon.ini | 79 +++++++++++++++++++++---------------- themes/kanagawa-wave.ini | 79 +++++++++++++++++++++---------------- themes/nature.ini | 79 +++++++++++++++++++++---------------- themes/nord.ini | 79 +++++++++++++++++++++---------------- themes/nothing.ini | 81 ++++++++++++++++++++++---------------- themes/old-blue.ini | 79 +++++++++++++++++++++---------------- themes/tasteless.ini | 80 +++++++++++++++++++++---------------- 9 files changed, 399 insertions(+), 315 deletions(-) diff --git a/themes/cherry.ini b/themes/cherry.ini index 4d014c3..9c76b25 100644 --- a/themes/cherry.ini +++ b/themes/cherry.ini @@ -1,35 +1,44 @@ -colors.bg = 48;2;77;33;55 -colors.fg = 22;3;24;38;2;245;245;245 -colors.err = 1;31 -colors.s_wayland = 38;2;255;174;66 -colors.s_xorg = 38;2;37;175;255 -colors.s_shell = 32 -colors.e_hostname = 1;23;38;5;197 -colors.e_date = 31 -colors.e_box = 31 -colors.e_header = 1;4;38;5;204 -colors.e_user = 38;5;51 -colors.e_passwd = 4;2;38;5;203 -colors.e_badpasswd = 4;31 -colors.e_key = 1;23;38;5;197 -chars.hb = ─ -chars.vb = │ -chars.ctl = ┌ -chars.ctr = ┐ -chars.cbl = └ -chars.cbr = ┘ -functions.poweroff = F1 -functions.reboot = F2 -functions.refresh = F5 -strings.f_poweroff = poweroff -strings.f_reboot = reboot -strings.f_refresh = refresh -strings.e_user = user -strings.e_passwd = password -strings.s_wayland = wayland -strings.s_xorg = xorg -strings.s_shell = shell -behavior.include_defshell = true -behavior.source = /etc/lidm.env -behavior.source = /etc/locale.conf -behavior.user_source = .lidm.env +[colors] +bg = "48;2;77;33;55" +fg = "22;3;24;38;2;245;245;245" +err = "1;31" +s_wayland = "38;2;255;174;66" +s_xorg = "38;2;37;175;255" +s_shell = "32" +e_hostname = "1;23;38;5;197" +e_date = "31" +e_box = "31" +e_header = "1;4;38;5;204" +e_user = "38;5;51" +e_passwd = "4;2;38;5;203" +e_badpasswd = "4;31" +e_key = "1;23;38;5;197" + +[chars] +hb = "─" +vb = "│" +ctl = "┌" +ctr = "┐" +cbl = "└" +cbr = "┘" + +[functions] +poweroff = F1 +reboot = F2 +refresh = F5 + +[strings] +f_poweroff = "poweroff" +f_reboot = "reboot" +f_refresh = "refresh" +e_user = "user" +e_passwd = "password" +s_wayland = "wayland" +s_xorg = "xorg" +s_shell = "shell" + +[behavior] +include_defshell = true +source = "/etc/lidm.env" +source = "/etc/locale.conf" +user_source = ".lidm.env" diff --git a/themes/default.ini b/themes/default.ini index ff4727d..432e643 100644 --- a/themes/default.ini +++ b/themes/default.ini @@ -1,35 +1,44 @@ -colors.bg = 48;2;38;28;28 -colors.fg = 22;24;38;2;245;245;245 -colors.err = 1;31 -colors.s_wayland = 38;2;255;174;66 -colors.s_xorg = 38;2;37;175;255 -colors.s_shell = 38;2;34;140;34 -colors.e_hostname = 38;2;255;64;64 -colors.e_date = 38;2;144;144;144 -colors.e_box = 38;2;122;122;122 -colors.e_header = 4;38;2;0;255;0 -colors.e_user = 36 -colors.e_passwd = 4;38;2;245;245;205 -colors.e_badpasswd = 3;4;31 -colors.e_key = 38;2;255;174;66 -chars.hb = ─ -chars.vb = │ -chars.ctl = ┌ -chars.ctr = ┐ -chars.cbl = └ -chars.cbr = ┘ -functions.poweroff = F1 -functions.reboot = F2 -functions.refresh = F5 -strings.f_poweroff = poweroff -strings.f_reboot = reboot -strings.f_refresh = refresh -strings.e_user = user -strings.e_passwd = password -strings.s_wayland = wayland -strings.s_xorg = xorg -strings.s_shell = shell -behavior.include_defshell = true -behavior.source = /etc/lidm.env -behavior.source = /etc/locale.conf -behavior.user_source = .lidm.env +[colors] +bg = "48;2;38;28;28" +fg = "22;24;38;2;245;245;245" +err = "1;31" +s_wayland = "38;2;255;174;66" +s_xorg = "38;2;37;175;255" +s_shell = "38;2;34;140;34" +e_hostname = "38;2;255;64;64" +e_date = "38;2;144;144;144" +e_box = "38;2;122;122;122" +e_header = "4;38;2;0;255;0" +e_user = "36" +e_passwd = "4;38;2;245;245;205" +e_badpasswd = "3;4;31" +e_key = "38;2;255;174;66" + +[chars] +hb = "─" +vb = "│" +ctl = "┌" +ctr = "┐" +cbl = "└" +cbr = "┘" + +[functions] +poweroff = F1 +reboot = F2 +refresh = F5 + +[strings] +f_poweroff = "poweroff" +f_reboot = "reboot" +f_refresh = "refresh" +e_user = "user" +e_passwd = "password" +s_wayland = "wayland" +s_xorg = "xorg" +s_shell = "shell" + +[behavior] +include_defshell = true +source = "/etc/lidm.env" +source = "/etc/locale.conf" +user_source = ".lidm.env" diff --git a/themes/kanagawa-dragon.ini b/themes/kanagawa-dragon.ini index 8dfb715..3d8edb6 100644 --- a/themes/kanagawa-dragon.ini +++ b/themes/kanagawa-dragon.ini @@ -1,35 +1,44 @@ -colors.bg = 48;2;24;22;22 -colors.fg = 22;24;38;2;185;185;185 -colors.err = 1;31 -colors.s_wayland = 38;2;255;174;66 -colors.s_xorg = 38;2;37;175;255 -colors.s_shell = 38;2;34;140;34 -colors.e_hostname = 38;2;208;189;156 -colors.e_date = 38;2;144;144;144 -colors.e_box = 38;2;122;122;122 -colors.e_header = 4;38;2;126;146;178 -colors.e_user = 38;2;148;89;84 -colors.e_passwd = 4;38;2;245;245;205 -colors.e_badpasswd = 3;4;31 -colors.e_key = 38;2;255;174;66 -chars.hb = ─ -chars.vb = │ -chars.ctl = ┌ -chars.ctr = ┐ -chars.cbl = └ -chars.cbr = ┘ -functions.poweroff = F1 -functions.reboot = F2 -functions.refresh = F5 -strings.f_poweroff = poweroff -strings.f_reboot = reboot -strings.f_refresh = refresh -strings.e_user = user -strings.e_passwd = password -strings.s_wayland = wayland -strings.s_xorg = xorg -strings.s_shell = shell -behavior.include_defshell = true -behavior.source = /etc/lidm.env -behavior.source = /etc/locale.conf -behavior.user_source = .lidm.env +[colors] +bg = "48;2;24;22;22" +fg = "22;24;38;2;185;185;185" +err = "1;31" +s_wayland = "38;2;255;174;66" +s_xorg = "38;2;37;175;255" +s_shell = "38;2;34;140;34" +e_hostname = "38;2;208;189;156" +e_date = "38;2;144;144;144" +e_box = "38;2;122;122;122" +e_header = "4;38;2;126;146;178" +e_user = "38;2;148;89;84" +e_passwd = "4;38;2;245;245;205" +e_badpasswd = "3;4;31" +e_key = "38;2;255;174;66" + +[chars] +hb = "─" +vb = "│" +ctl = "┌" +ctr = "┐" +cbl = "└" +cbr = "┘" + +[functions] +poweroff = F1 +reboot = F2 +refresh = F5 + +[strings] +f_poweroff = "poweroff" +f_reboot = "reboot" +f_refresh = "refresh" +e_user = "user" +e_passwd = "password" +s_wayland = "wayland" +s_xorg = "xorg" +s_shell = "shell" + +[behavior] +include_defshell = true +source = "/etc/lidm.env" +source = "/etc/locale.conf" +user_source = ".lidm.env" diff --git a/themes/kanagawa-wave.ini b/themes/kanagawa-wave.ini index 93368e1..3848803 100644 --- a/themes/kanagawa-wave.ini +++ b/themes/kanagawa-wave.ini @@ -1,35 +1,44 @@ -colors.bg = 48;2;28;28;36 -colors.fg = 22;24;38;2;168;168;168 -colors.err = 1;31 -colors.s_wayland = 38;2;255;174;66 -colors.s_xorg = 38;2;37;175;255 -colors.s_shell = 38;2;34;140;34 -colors.e_hostname = 38;2;196;165;112 -colors.e_date = 38;2;144;144;144 -colors.e_box = 38;2;122;122;122 -colors.e_header = 4;38;2;114;133;162 -colors.e_user = 38;2;211;137;88 -colors.e_passwd = 4;38;2;245;245;205 -colors.e_badpasswd = 3;4;31 -colors.e_key = 38;2;255;174;66 -chars.hb = ─ -chars.vb = │ -chars.ctl = ┌ -chars.ctr = ┐ -chars.cbl = └ -chars.cbr = ┘ -functions.poweroff = F1 -functions.reboot = F2 -functions.refresh = F5 -strings.f_poweroff = poweroff -strings.f_reboot = reboot -strings.f_refresh = refresh -strings.e_user = user -strings.e_passwd = password -strings.s_wayland = wayland -strings.s_xorg = xorg -strings.s_shell = shell -behavior.include_defshell = true -behavior.source = /etc/lidm.env -behavior.source = /etc/locale.conf -behavior.user_source = .lidm.env +[colors] +bg = "48;2;28;28;36" +fg = "22;24;38;2;168;168;168" +err = "1;31" +s_wayland = "38;2;255;174;66" +s_xorg = "38;2;37;175;255" +s_shell = "38;2;34;140;34" +e_hostname = "38;2;196;165;112" +e_date = "38;2;144;144;144" +e_box = "38;2;122;122;122" +e_header = "4;38;2;114;133;162" +e_user = "38;2;211;137;88" +e_passwd = "4;38;2;245;245;205" +e_badpasswd = "3;4;31" +e_key = "38;2;255;174;66" + +[chars] +hb = "─" +vb = "│" +ctl = "┌" +ctr = "┐" +cbl = "└" +cbr = "┘" + +[functions] +poweroff = F1 +reboot = F2 +refresh = F5 + +[strings] +f_poweroff = "poweroff" +f_reboot = "reboot" +f_refresh = "refresh" +e_user = "user" +e_passwd = "password" +s_wayland = "wayland" +s_xorg = "xorg" +s_shell = "shell" + +[behavior] +include_defshell = true +source = "/etc/lidm.env" +source = "/etc/locale.conf" +user_source = ".lidm.env" diff --git a/themes/nature.ini b/themes/nature.ini index 7e6ee04..d5001bd 100644 --- a/themes/nature.ini +++ b/themes/nature.ini @@ -1,35 +1,44 @@ -colors.bg = 48;2;15;22;15 -colors.fg = 22;23;24;38;2;245;245;245 -colors.err = 1;31 -colors.s_wayland = 38;2;255;174;66 -colors.s_xorg = 38;2;37;175;255 -colors.s_shell = 32 -colors.e_hostname = 38;5;28 -colors.e_date = 32 -colors.e_box = 32 -colors.e_header = 1;4;32 -colors.e_user = 38;5;51 -colors.e_passwd = 4;2;38;5;83 -colors.e_badpasswd = 3;4;31 -colors.e_key = 32 -chars.hb = ─ -chars.vb = │ -chars.ctl = ┌ -chars.ctr = ┐ -chars.cbl = └ -chars.cbr = ┘ -functions.poweroff = F1 -functions.reboot = F2 -functions.refresh = F5 -strings.f_poweroff = poweroff -strings.f_reboot = reboot -strings.f_refresh = refresh -strings.e_user = user -strings.e_passwd = password -strings.s_wayland = wayland -strings.s_xorg = xorg -strings.s_shell = shell -behavior.include_defshell = true -behavior.source = /etc/lidm.env -behavior.source = /etc/locale.conf -behavior.user_source = .lidm.env +[colors] +bg = "48;2;15;22;15" +fg = "22;23;24;38;2;245;245;245" +err = "1;31" +s_wayland = "38;2;255;174;66" +s_xorg = "38;2;37;175;255" +s_shell = "32" +e_hostname = "38;5;28" +e_date = "32" +e_box = "32" +e_header = "1;4;32" +e_user = "38;5;51" +e_passwd = "4;2;38;5;83" +e_badpasswd = "3;4;31" +e_key = "32" + +[chars] +hb = "─" +vb = "│" +ctl = "┌" +ctr = "┐" +cbl = "└" +cbr = "┘" + +[functions] +poweroff = F1 +reboot = F2 +refresh = F5 + +[strings] +f_poweroff = "poweroff" +f_reboot = "reboot" +f_refresh = "refresh" +e_user = "user" +e_passwd = "password" +s_wayland = "wayland" +s_xorg = "xorg" +s_shell = "shell" + +[behavior] +include_defshell = true +source = "/etc/lidm.env" +source = "/etc/locale.conf" +user_source = ".lidm.env" diff --git a/themes/nord.ini b/themes/nord.ini index 07d832e..b590583 100644 --- a/themes/nord.ini +++ b/themes/nord.ini @@ -1,35 +1,44 @@ -colors.bg = 48;2;19;19;22 -colors.fg = 22;24;38;2;245;245;245 -colors.err = 1;31 -colors.s_wayland = 38;2;255;174;66 -colors.s_xorg = 38;2;37;175;255 -colors.s_shell = 32 -colors.e_hostname = 34 -colors.e_date = 38;2;66;66;88 -colors.e_box = 38;2;122;122;122 -colors.e_header = 1;4;36 -colors.e_user = 38;5;51 -colors.e_passwd = 4;2;38;5;80 -colors.e_badpasswd = 3;4;31 -colors.e_key = 34 -chars.hb = ─ -chars.vb = │ -chars.ctl = ┌ -chars.ctr = ┐ -chars.cbl = └ -chars.cbr = ┘ -functions.poweroff = F1 -functions.reboot = F2 -functions.refresh = F5 -strings.f_poweroff = poweroff -strings.f_reboot = reboot -strings.f_refresh = refresh -strings.e_user = user -strings.e_passwd = password -strings.s_wayland = wayland -strings.s_xorg = xorg -strings.s_shell = shell -behavior.include_defshell = true -behavior.source = /etc/lidm.env -behavior.source = /etc/locale.conf -behavior.user_source = .lidm.env +[colors] +bg = "48;2;19;19;22" +fg = "22;24;38;2;245;245;245" +err = "1;31" +s_wayland = "38;2;255;174;66" +s_xorg = "38;2;37;175;255" +s_shell = "32" +e_hostname = "34" +e_date = "38;2;66;66;88" +e_box = "38;2;122;122;122" +e_header = "1;4;36" +e_user = "38;5;51" +e_passwd = "4;2;38;5;80" +e_badpasswd = "3;4;31" +e_key = "34" + +[chars] +hb = "─" +vb = "│" +ctl = "┌" +ctr = "┐" +cbl = "└" +cbr = "┘" + +[functions] +poweroff = F1 +reboot = F2 +refresh = F5 + +[strings] +f_poweroff = "poweroff" +f_reboot = "reboot" +f_refresh = "refresh" +e_user = "user" +e_passwd = "password" +s_wayland = "wayland" +s_xorg = "xorg" +s_shell = "shell" + +[behavior] +include_defshell = true +source = "/etc/lidm.env" +source = "/etc/locale.conf" +user_source = ".lidm.env" diff --git a/themes/nothing.ini b/themes/nothing.ini index ade26d6..991434e 100644 --- a/themes/nothing.ini +++ b/themes/nothing.ini @@ -1,35 +1,46 @@ -colors.bg = - -colors.fg = 24;39m[?25l[- -colors.err = - -colors.s_wayland = - -colors.s_xorg = - -colors.s_shell = - -colors.e_hostname = - -colors.e_date = 30 -colors.e_box = - -colors.e_header = 30 -colors.e_user = - -colors.e_passwd = 24;30 -colors.e_badpasswd = - -colors.e_key = - -chars.hb = - -chars.vb = - -chars.ctl = - -chars.ctr = - -chars.cbl = - -chars.cbr = - -functions.poweroff = F1 -functions.reboot = F2 -functions.refresh = F5 -strings.f_poweroff = poweroff -strings.f_reboot = reboot -strings.f_refresh = refresh -strings.e_user = user -strings.e_passwd = password -strings.s_wayland = wayland -strings.s_xorg = xorg -strings.s_shell = shell -behavior.include_defshell = true -behavior.source = /etc/lidm.env -behavior.source = /etc/locale.conf -behavior.user_source = .lidm.env +[colors] +# the '-' makes '\x1b[-m' which usually does nothing +bg = "-" +# you can even break out of the '\x1b...m' context like do, I wouldn't though +fg = "24;39m\x1b[?25l\x1b[-" +err = "-" +s_wayland = "-" +s_xorg = "-" +s_shell = "-" +e_hostname = "-" +e_date = "30" +e_box = "-" +e_header = "30" +e_user = "-" +e_passwd = "24;30" +e_badpasswd = "-" +e_key = "-" + +[chars] +hb = " " +vb = " " +ctl = " " +ctr = " " +cbl = " " +cbr = " " + +[functions] +poweroff = F1 +reboot = F2 +refresh = F5 + +[strings] +f_poweroff = "poweroff" +f_reboot = "reboot" +f_refresh = "refresh" +e_user = "" +e_passwd = "" +s_wayland = "" +s_xorg = "" +s_shell = "" + +[behavior] +include_defshell = true +source = "/etc/lidm.env" +source = "/etc/locale.conf" +user_source = ".lidm.env" diff --git a/themes/old-blue.ini b/themes/old-blue.ini index 9ac2e88..899fa29 100644 --- a/themes/old-blue.ini +++ b/themes/old-blue.ini @@ -1,35 +1,44 @@ -colors.bg = 48;2;0;0;255 -colors.fg = 22;24;39;48;2;0;0;255 -colors.err = 1;31 -colors.s_wayland = 38;2;255;174;66 -colors.s_xorg = 38;2;37;175;255 -colors.s_shell = 38;2;34;140;34 -colors.e_hostname = 38;2;255;64;64 -colors.e_date = 38;2;144;144;144 -colors.e_box = 34 -colors.e_header = 4;38;2;0;255;0 -colors.e_user = 36 -colors.e_passwd = 4;38;2;245;245;205 -colors.e_badpasswd = 3;4;31 -colors.e_key = 1;31;48;2;255;174;66 -chars.hb = █ -chars.vb = █ -chars.ctl = █ -chars.ctr = █ -chars.cbl = █ -chars.cbr = █ -functions.poweroff = F1 -functions.reboot = F2 -functions.refresh = F5 -strings.f_poweroff = powewoff -strings.f_reboot = rewoot -strings.f_refresh = rewresh -strings.e_user = wuser -strings.e_passwd = passwd -strings.s_wayland = waywand -strings.s_xorg = xworg -strings.s_shell = swell -behavior.include_defshell = true -behavior.source = /etc/lidm.env -behavior.source = /etc/locale.conf -behavior.user_source = .lidm.env +[colors] +bg = "48;2;0;0;255" +fg = "22;24;39;48;2;0;0;255" +err = "1;31" +s_wayland = "38;2;255;174;66" +s_xorg = "38;2;37;175;255" +s_shell = "38;2;34;140;34" +e_hostname = "38;2;255;64;64" +e_date = "38;2;144;144;144" +e_box = "34" +e_header = "4;38;2;0;255;0" +e_user = "36" +e_passwd = "4;38;2;245;245;205" +e_badpasswd = "3;4;31" +e_key = "1;31;48;2;255;174;66" + +[chars] +hb = "█" +vb = "█" +ctl = "█" +ctr = "█" +cbl = "█" +cbr = "█" + +[functions] +poweroff = F1 +reboot = F2 +refresh = F5 + +[strings] +f_poweroff = "powewoff" +f_reboot = "rewoot" +f_refresh = "rewresh" +e_user = "wuser" +e_passwd = "passwd" +s_wayland = "waywand" +s_xorg = "xworg" +s_shell = "swell" + +[behavior] +include_defshell = true +source = "/etc/lidm.env" +source = "/etc/locale.conf" +user_source = ".lidm.env" diff --git a/themes/tasteless.ini b/themes/tasteless.ini index f56617a..3bdcc7d 100644 --- a/themes/tasteless.ini +++ b/themes/tasteless.ini @@ -1,35 +1,45 @@ -colors.bg = - -colors.fg = 24 -colors.err = - -colors.s_wayland = - -colors.s_xorg = - -colors.s_shell = - -colors.e_hostname = - -colors.e_date = - -colors.e_box = - -colors.e_header = - -colors.e_user = - -colors.e_passwd = - -colors.e_badpasswd = - -colors.e_key = - -chars.hb = ─ -chars.vb = │ -chars.ctl = ┌ -chars.ctr = ┐ -chars.cbl = └ -chars.cbr = ┘ -functions.poweroff = F1 -functions.reboot = F2 -functions.refresh = F5 -strings.f_poweroff = poweroff -strings.f_reboot = reboot -strings.f_refresh = refresh -strings.e_user = user -strings.e_passwd = password -strings.s_wayland = wayland -strings.s_xorg = xorg -strings.s_shell = shell -behavior.include_defshell = true -behavior.source = /etc/lidm.env -behavior.source = /etc/locale.conf -behavior.user_source = .lidm.env +[colors] +# the '-' makes '\x1b[-m' which usually does nothing +bg = "-" +fg = "24" +err = "-" +s_wayland = "-" +s_xorg = "-" +s_shell = "-" +e_hostname = "-" +e_date = "-" +e_box = "-" +e_header = "-" +e_user = "-" +e_passwd = "-" +e_badpasswd = "-" +e_key = "-" + +[chars] +hb = "─" +vb = "│" +ctl = "┌" +ctr = "┐" +cbl = "└" +cbr = "┘" + +[functions] +poweroff = F1 +reboot = F2 +refresh = F5 + +[strings] +f_poweroff = "off" +f_reboot = "reb" +f_refresh = "ref" +e_user = "user" +e_passwd = "pass" +s_wayland = "wayl" +s_xorg = "xorg" +s_shell = "sh" + +[behavior] +include_defshell = true +source = "/etc/lidm.env" +source = "/etc/locale.conf" +user_source = ".lidm.env"