From 761b164285bcbbe60d2f5990a7e968964abcf75e Mon Sep 17 00:00:00 2001 From: javalsai Date: Sat, 7 Feb 2026 23:21:10 +0100 Subject: [PATCH] chore(move): `themes/` into a separate repo basically this makes adding themes much more flexible and easier to package themes separately from lidm --- .gitmodules | 3 + themes | 1 + themes/README.md | 61 --------------- themes/catppuccin-frappe.ini | 24 ------ themes/catppuccin-latte.ini | 24 ------ themes/catppuccin-macchiato.ini | 24 ------ themes/catppuccin-mocha.ini | 24 ------ themes/catppuccin.tera | 35 --------- themes/cherry.ini | 49 ------------ themes/default.ini | 51 ------------- themes/kanagawa-dragon.ini | 49 ------------ themes/kanagawa-wave.ini | 49 ------------ themes/minimal.ini | 50 ------------ themes/nature.ini | 49 ------------ themes/nord.ini | 49 ------------ themes/nothing.ini | 51 ------------- themes/old-blue.ini | 49 ------------ themes/screenshots/catppuccin-frappe.png | 3 - themes/screenshots/catppuccin-latte.png | 3 - themes/screenshots/catppuccin-macchiato.png | 3 - themes/screenshots/catppuccin-mocha.png | 3 - themes/screenshots/cherry.png | 3 - themes/screenshots/default.png | 3 - themes/screenshots/kanagawa-dragon.png | 3 - themes/screenshots/kanagawa-wave.png | 3 - themes/screenshots/minimal.png | 3 - themes/screenshots/nature.png | 3 - themes/screenshots/nord.png | 3 - themes/screenshots/nothing.png | 3 - themes/screenshots/old-blue.png | 3 - themes/screenshots/tasteless.png | 3 - themes/take-screenshots.sh | 85 --------------------- themes/tasteless.ini | 50 ------------ themes/view.sh | 18 ----- 34 files changed, 4 insertions(+), 833 deletions(-) create mode 100644 .gitmodules create mode 160000 themes delete mode 100644 themes/README.md delete mode 100644 themes/catppuccin-frappe.ini delete mode 100644 themes/catppuccin-latte.ini delete mode 100644 themes/catppuccin-macchiato.ini delete mode 100644 themes/catppuccin-mocha.ini delete mode 100644 themes/catppuccin.tera delete mode 100644 themes/cherry.ini delete mode 100644 themes/default.ini delete mode 100644 themes/kanagawa-dragon.ini delete mode 100644 themes/kanagawa-wave.ini delete mode 100644 themes/minimal.ini delete mode 100644 themes/nature.ini delete mode 100644 themes/nord.ini delete mode 100644 themes/nothing.ini delete mode 100644 themes/old-blue.ini delete mode 100644 themes/screenshots/catppuccin-frappe.png delete mode 100644 themes/screenshots/catppuccin-latte.png delete mode 100644 themes/screenshots/catppuccin-macchiato.png delete mode 100644 themes/screenshots/catppuccin-mocha.png delete mode 100644 themes/screenshots/cherry.png delete mode 100644 themes/screenshots/default.png delete mode 100644 themes/screenshots/kanagawa-dragon.png delete mode 100644 themes/screenshots/kanagawa-wave.png delete mode 100644 themes/screenshots/minimal.png delete mode 100644 themes/screenshots/nature.png delete mode 100644 themes/screenshots/nord.png delete mode 100644 themes/screenshots/nothing.png delete mode 100644 themes/screenshots/old-blue.png delete mode 100644 themes/screenshots/tasteless.png delete mode 100755 themes/take-screenshots.sh delete mode 100644 themes/tasteless.ini delete mode 100755 themes/view.sh diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..af43d08 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes"] + path = themes + url = https://github.com/javalsai/lidm-themes diff --git a/themes b/themes new file mode 160000 index 0000000..4468131 --- /dev/null +++ b/themes @@ -0,0 +1 @@ +Subproject commit 44681317efb615995edcb52b9dd674a47f9072b8 diff --git a/themes/README.md b/themes/README.md deleted file mode 100644 index 578b33e..0000000 --- a/themes/README.md +++ /dev/null @@ -1,61 +0,0 @@ -# Themes - -## catppuccin-frappe.ini - -![catppuccin-frappe.ini theme](./screenshots/catppuccin-frappe.png) - -## catppuccin-latte.ini - -![catppuccin-latte.ini theme](./screenshots/catppuccin-latte.png) - -## catppuccin-macchiato.ini - -![catppuccin-macchiato.ini theme](./screenshots/catppuccin-macchiato.png) - -## catppuccin-mocha.ini - -![catppuccin-mocha.ini theme](./screenshots/catppuccin-mocha.png) - -## cherry.ini - -![cherry.ini theme](./screenshots/cherry.png) - -## default.ini - -![default.ini theme](./screenshots/default.png) - -## kanagawa-dragon.ini - -![kanagawa-dragon.ini theme](./screenshots/kanagawa-dragon.png) - -## kanagawa-wave.ini - -![kanagawa-wave.ini theme](./screenshots/kanagawa-wave.png) - -## minimal.ini - -![minimal.ini theme](./screenshots/minimal.png) - -> [!WARNING] -> This theme **heavily** relies on terminal rendering. It's just to show -> customizability, a TTY won't render this properly - -## nature.ini - -![nature.ini theme](./screenshots/nature.png) - -## nord.ini - -![nord.ini theme](./screenshots/nord.png) - -## old-blue.ini - -![old-blue.ini theme](./screenshots/old-blue.png) - -## nothing.ini - -![nothing.ini theme](./screenshots/nothing.png) - -## tasteless.ini - -![tasteless.ini theme](./screenshots/tasteless.png) diff --git a/themes/catppuccin-frappe.ini b/themes/catppuccin-frappe.ini deleted file mode 100644 index 36cacf1..0000000 --- a/themes/catppuccin-frappe.ini +++ /dev/null @@ -1,24 +0,0 @@ -############################################## -# # -# Catppuccin Theme # -# # -############################################## - -# Catppuccin Frappé -# This theme was created by: Catppuccin Org! <3 - -[colors] -bg = "23;24;25;48;2;48;52;70" -fg = "22;23;24;25;29;38;2;198;208;245" -err = "1;4;23;24;25;38;2;231;130;132" -s_wayland = "3;22;24;25;38;2;202;158;230" -s_xorg = "3;22;24;25;38;2;202;158;230" -s_shell = "3;22;24;25;38;2;244;184;228" -e_hostname = "1;3;24;25;29;38;2;242;213;207" -e_date = "3;22;24;25;29;38;2;165;173;206" -e_box = "1;23;24;25;29;38;2;115;121;148" -e_header = "1;3;24;25;29;38;2;239;159;118" -e_user = "3;22;24;25;29;38;2;140;170;238" -e_passwd = "1;23;24;25;29;38;2;166;209;137" -e_badpasswd = "1;9;23;24;25;38;2;231;130;132" -e_key = "22;23;24;25;38;2;129;200;190" diff --git a/themes/catppuccin-latte.ini b/themes/catppuccin-latte.ini deleted file mode 100644 index 79a1faf..0000000 --- a/themes/catppuccin-latte.ini +++ /dev/null @@ -1,24 +0,0 @@ -############################################## -# # -# Catppuccin Theme # -# # -############################################## - -# Catppuccin Latte -# This theme was created by: Catppuccin Org! <3 - -[colors] -bg = "23;24;25;48;2;239;241;245" -fg = "22;23;24;25;29;38;2;76;79;105" -err = "1;4;23;24;25;38;2;210;15;57" -s_wayland = "3;22;24;25;38;2;136;57;239" -s_xorg = "3;22;24;25;38;2;136;57;239" -s_shell = "3;22;24;25;38;2;234;118;203" -e_hostname = "1;3;24;25;29;38;2;220;138;120" -e_date = "3;22;24;25;29;38;2;108;111;133" -e_box = "1;23;24;25;29;38;2;156;160;176" -e_header = "1;3;24;25;29;38;2;254;100;11" -e_user = "3;22;24;25;29;38;2;30;102;245" -e_passwd = "1;23;24;25;29;38;2;64;160;43" -e_badpasswd = "1;9;23;24;25;38;2;210;15;57" -e_key = "22;23;24;25;38;2;23;146;153" diff --git a/themes/catppuccin-macchiato.ini b/themes/catppuccin-macchiato.ini deleted file mode 100644 index 6e3b210..0000000 --- a/themes/catppuccin-macchiato.ini +++ /dev/null @@ -1,24 +0,0 @@ -############################################## -# # -# Catppuccin Theme # -# # -############################################## - -# Catppuccin Macchiato -# This theme was created by: Catppuccin Org! <3 - -[colors] -bg = "23;24;25;48;2;36;39;58" -fg = "22;23;24;25;29;38;2;202;211;245" -err = "1;4;23;24;25;38;2;237;135;150" -s_wayland = "3;22;24;25;38;2;198;160;246" -s_xorg = "3;22;24;25;38;2;198;160;246" -s_shell = "3;22;24;25;38;2;245;189;230" -e_hostname = "1;3;24;25;29;38;2;244;219;214" -e_date = "3;22;24;25;29;38;2;165;173;203" -e_box = "1;23;24;25;29;38;2;110;115;141" -e_header = "1;3;24;25;29;38;2;245;169;127" -e_user = "3;22;24;25;29;38;2;138;173;244" -e_passwd = "1;23;24;25;29;38;2;166;218;149" -e_badpasswd = "1;9;23;24;25;38;2;237;135;150" -e_key = "22;23;24;25;38;2;139;213;202" diff --git a/themes/catppuccin-mocha.ini b/themes/catppuccin-mocha.ini deleted file mode 100644 index 2805a6c..0000000 --- a/themes/catppuccin-mocha.ini +++ /dev/null @@ -1,24 +0,0 @@ -############################################## -# # -# Catppuccin Theme # -# # -############################################## - -# Catppuccin Mocha -# This theme was created by: Catppuccin Org! <3 - -[colors] -bg = "23;24;25;48;2;30;30;46" -fg = "22;23;24;25;29;38;2;205;214;244" -err = "1;4;23;24;25;38;2;243;139;168" -s_wayland = "3;22;24;25;38;2;203;166;247" -s_xorg = "3;22;24;25;38;2;203;166;247" -s_shell = "3;22;24;25;38;2;245;194;231" -e_hostname = "1;3;24;25;29;38;2;245;224;220" -e_date = "3;22;24;25;29;38;2;166;173;200" -e_box = "1;23;24;25;29;38;2;108;112;134" -e_header = "1;3;24;25;29;38;2;250;179;135" -e_user = "3;22;24;25;29;38;2;137;180;250" -e_passwd = "1;23;24;25;29;38;2;166;227;161" -e_badpasswd = "1;9;23;24;25;38;2;243;139;168" -e_key = "22;23;24;25;38;2;148;226;213" diff --git a/themes/catppuccin.tera b/themes/catppuccin.tera deleted file mode 100644 index c277d73..0000000 --- a/themes/catppuccin.tera +++ /dev/null @@ -1,35 +0,0 @@ ---- -whiskers: - version: ^2.5.1 - matrix: - - flavor - filename: catppuccin-{{ flavor.identifier }}.ini ---- -{%- macro rgb(col) -%} -2;{{ col.rgb.r }};{{ col.rgb.g }};{{ col.rgb.b }} -{%- endmacro rgb -%} - -############################################## -# # -# Catppuccin Theme # -# # -############################################## - -# Catppuccin {{flavor.name}} -# This theme was created by: Catppuccin Org! <3 - -[colors] -bg = "23;24;25;48;{{ self::rgb(col=base) }}" -fg = "22;23;24;25;29;38;{{ self::rgb(col=text) }}" -err = "1;4;23;24;25;38;{{ self::rgb(col=red) }}" -s_wayland = "3;22;24;25;38;{{ self::rgb(col=mauve) }}" -s_xorg = "3;22;24;25;38;{{ self::rgb(col=mauve) }}" -s_shell = "3;22;24;25;38;{{ self::rgb(col=pink) }}" -e_hostname = "1;3;24;25;29;38;{{ self::rgb(col=rosewater) }}" -e_date = "3;22;24;25;29;38;{{ self::rgb(col=subtext0) }}" -e_box = "1;23;24;25;29;38;{{ self::rgb(col=overlay0) }}" -e_header = "1;3;24;25;29;38;{{ self::rgb(col=peach) }}" -e_user = "3;22;24;25;29;38;{{ self::rgb(col=blue) }}" -e_passwd = "1;23;24;25;29;38;{{ self::rgb(col=green) }}" -e_badpasswd = "1;9;23;24;25;38;{{ self::rgb(col=red) }}" -e_key = "22;23;24;25;38;{{ self::rgb(col=teal) }}" diff --git a/themes/cherry.ini b/themes/cherry.ini deleted file mode 100644 index 4fce938..0000000 --- a/themes/cherry.ini +++ /dev/null @@ -1,49 +0,0 @@ -[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" -# opts_pre = "< " -# opts_post = " >" -# ellipsis = "…" - -[behavior] -# include_defshell = true -# timefmt = "%X %x" -# refresh_rate = 100 -source = "/etc/lidm.env" -source = "/etc/locale.conf" -user_source = ".lidm.env" diff --git a/themes/default.ini b/themes/default.ini deleted file mode 100644 index 081c989..0000000 --- a/themes/default.ini +++ /dev/null @@ -1,51 +0,0 @@ -[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 -# fido = NONE -# refresh = F5 - -[strings] -# f_poweroff = "poweroff" -# f_reboot = "reboot" -# f_fido = "fido" -# f_refresh = "refresh" -# e_user = "user" -# e_passwd = "password" -# s_wayland = "wayland" -# s_xorg = "xorg" -# s_shell = "shell" -# opts_pre = "< " -# opts_post = " >" -# ellipsis = "…" - -[behavior] -# include_defshell = true -# timefmt = "%X %x" -# refresh_rate = 100 -source = "/etc/lidm.env" -source = "/etc/locale.conf" -user_source = ".lidm.env" diff --git a/themes/kanagawa-dragon.ini b/themes/kanagawa-dragon.ini deleted file mode 100644 index 3690f34..0000000 --- a/themes/kanagawa-dragon.ini +++ /dev/null @@ -1,49 +0,0 @@ -[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" -# opts_pre = "< " -# opts_post = " >" -# ellipsis = "…" - -[behavior] -# include_defshell = true -timefmt = "%Y-%m-%d %H:%M:%S" -# refresh_rate = 100 -source = "/etc/lidm.env" -source = "/etc/locale.conf" -user_source = ".lidm.env" diff --git a/themes/kanagawa-wave.ini b/themes/kanagawa-wave.ini deleted file mode 100644 index f69636f..0000000 --- a/themes/kanagawa-wave.ini +++ /dev/null @@ -1,49 +0,0 @@ -[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" -# opts_pre = "< " -# opts_post = " >" -# ellipsis = "…" - -[behavior] -# include_defshell = true -timefmt = "%Y-%m-%d %H:%M:%S" -# refresh_rate = 100 -source = "/etc/lidm.env" -source = "/etc/locale.conf" -user_source = ".lidm.env" diff --git a/themes/minimal.ini b/themes/minimal.ini deleted file mode 100644 index 4665c84..0000000 --- a/themes/minimal.ini +++ /dev/null @@ -1,50 +0,0 @@ -[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 = "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 - -# EXCLUSIVE TO NERD FONTS -[strings] -f_poweroff = "\xef\x80\x91 " -f_reboot = "\xee\xab\x92 " -f_refresh = "\xf3\xb0\x91\x93 " -e_user = "\xee\xb4\xb5" -e_passwd = "\xef\x80\xa3" -s_wayland = "W" -s_xorg = "X" -s_shell = "$" -# opts_pre = "< " -# opts_post = " >" -# ellipsis = "…" - -[behavior] -# include_defshell = true -timefmt = "\xef\x80\x97 %X \xef\x84\xb3 %x" -# refresh_rate = 100 -source = "/etc/lidm.env" -source = "/etc/locale.conf" -user_source = ".lidm.env" diff --git a/themes/nature.ini b/themes/nature.ini deleted file mode 100644 index b44c7b3..0000000 --- a/themes/nature.ini +++ /dev/null @@ -1,49 +0,0 @@ -[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" -# opts_pre = "< " -# opts_post = " >" -# ellipsis = "…" - -[behavior] -# include_defshell = true -timefmt = "%Y-%m-%d %H:%M:%S" -# refresh_rate = 100 -source = "/etc/lidm.env" -source = "/etc/locale.conf" -user_source = ".lidm.env" diff --git a/themes/nord.ini b/themes/nord.ini deleted file mode 100644 index 56916cd..0000000 --- a/themes/nord.ini +++ /dev/null @@ -1,49 +0,0 @@ -[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" -# opts_pre = "< " -# opts_post = " >" -# ellipsis = "…" - -[behavior] -# include_defshell = true -timefmt = "%Y-%m-%d %H:%M:%S" -# refresh_rate = 100 -source = "/etc/lidm.env" -source = "/etc/locale.conf" -user_source = ".lidm.env" diff --git a/themes/nothing.ini b/themes/nothing.ini deleted file mode 100644 index 5c43574..0000000 --- a/themes/nothing.ini +++ /dev/null @@ -1,51 +0,0 @@ -[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 = "" -# opts_pre = "< " -# opts_post = " >" -# ellipsis = "…" - -[behavior] -# include_defshell = true -timefmt = " " -# refresh_rate = 100 -source = "/etc/lidm.env" -source = "/etc/locale.conf" -user_source = ".lidm.env" diff --git a/themes/old-blue.ini b/themes/old-blue.ini deleted file mode 100644 index 847029a..0000000 --- a/themes/old-blue.ini +++ /dev/null @@ -1,49 +0,0 @@ -[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" -# opts_pre = "< " -# opts_post = " >" -# ellipsis = "…" - -[behavior] -# include_defshell = true -timefmt = "%Y-%m-%d %H:%M:%S" -# refresh_rate = 100 -source = "/etc/lidm.env" -source = "/etc/locale.conf" -user_source = ".lidm.env" diff --git a/themes/screenshots/catppuccin-frappe.png b/themes/screenshots/catppuccin-frappe.png deleted file mode 100644 index 11cb2b5..0000000 --- a/themes/screenshots/catppuccin-frappe.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0704a1aadffee71bc0753c861d8ac8b8588aae76ad8cdcb4f2c2700b98ec095c -size 23814 diff --git a/themes/screenshots/catppuccin-latte.png b/themes/screenshots/catppuccin-latte.png deleted file mode 100644 index 8f621f4..0000000 --- a/themes/screenshots/catppuccin-latte.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:58d56d6e16e14f0eddaa8a11e8bf238f2056e784b9c7c46d88aa8ff2d948355e -size 23110 diff --git a/themes/screenshots/catppuccin-macchiato.png b/themes/screenshots/catppuccin-macchiato.png deleted file mode 100644 index cd0d25b..0000000 --- a/themes/screenshots/catppuccin-macchiato.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:225dba8cf87de1ae7118bfd98a1966fdb92cc826418dd9ef7dda5ee77ae8d0f3 -size 23886 diff --git a/themes/screenshots/catppuccin-mocha.png b/themes/screenshots/catppuccin-mocha.png deleted file mode 100644 index 77d3a7d..0000000 --- a/themes/screenshots/catppuccin-mocha.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0c8269cc55fdc26bfff240b3dccd94ffab6400b33c049af23912b74a62247943 -size 23826 diff --git a/themes/screenshots/cherry.png b/themes/screenshots/cherry.png deleted file mode 100644 index 345cd85..0000000 --- a/themes/screenshots/cherry.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:01f578e0727dcc8f9d2534e1a54ce493d0c4c446d8b7e2bff5116aecca1086f1 -size 23782 diff --git a/themes/screenshots/default.png b/themes/screenshots/default.png deleted file mode 100644 index a8f6eab..0000000 --- a/themes/screenshots/default.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d67863994561214e611e4c284b74b64e41adf9350b21a595825d7abe229a998c -size 21052 diff --git a/themes/screenshots/kanagawa-dragon.png b/themes/screenshots/kanagawa-dragon.png deleted file mode 100644 index 26de3d0..0000000 --- a/themes/screenshots/kanagawa-dragon.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cac302d7469081f6e3eb411b82b059fdf3b820d83967754f079a6432ca578f54 -size 20943 diff --git a/themes/screenshots/kanagawa-wave.png b/themes/screenshots/kanagawa-wave.png deleted file mode 100644 index 796e6ac..0000000 --- a/themes/screenshots/kanagawa-wave.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3aa3756e8cb9a62d72930af1da781cb4272bcda046e159c9b240b34748fbe7fc -size 20496 diff --git a/themes/screenshots/minimal.png b/themes/screenshots/minimal.png deleted file mode 100644 index 09fbd6d..0000000 --- a/themes/screenshots/minimal.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5d63f9b3f6bf514c7cd64d5c94dfff1f130e0eaca56e12db8c77b5e36aa519f3 -size 18124 diff --git a/themes/screenshots/nature.png b/themes/screenshots/nature.png deleted file mode 100644 index 9d08863..0000000 --- a/themes/screenshots/nature.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fcae6be654c7e77415911797771842ebef130b210e8ea8e3c78c99e80488c0a0 -size 21227 diff --git a/themes/screenshots/nord.png b/themes/screenshots/nord.png deleted file mode 100644 index 6f3f9a8..0000000 --- a/themes/screenshots/nord.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:072bf1faf34c51ec153aae4aafdebf5fbafa3037d754f5a0d2fe0c0b95eedb08 -size 21249 diff --git a/themes/screenshots/nothing.png b/themes/screenshots/nothing.png deleted file mode 100644 index a2c4968..0000000 --- a/themes/screenshots/nothing.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:16059ea228e5ac63b1896a7142c07330fae11535af2e3dce8f7bf0c89e2a19f3 -size 13876 diff --git a/themes/screenshots/old-blue.png b/themes/screenshots/old-blue.png deleted file mode 100644 index 305d449..0000000 --- a/themes/screenshots/old-blue.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9d838314de5c2888ef971fecef91412915aacf6cf0b5cb6df82ef74f37980621 -size 20133 diff --git a/themes/screenshots/tasteless.png b/themes/screenshots/tasteless.png deleted file mode 100644 index 00dc64f..0000000 --- a/themes/screenshots/tasteless.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a45af03b3737539e8dcb397f495bcfe033c57e92afb2d41780011a70c7fc599e -size 16514 diff --git a/themes/take-screenshots.sh b/themes/take-screenshots.sh deleted file mode 100755 index 46a51c1..0000000 --- a/themes/take-screenshots.sh +++ /dev/null @@ -1,85 +0,0 @@ -#!/usr/bin/env bash - -set -e - -MYSELF=$(realpath "$0") -MYDIR=$(dirname "$MYSELF") - -COLS=60 -ROWS=35 - -if [[ -z "$IM_FLOATING" ]]; then - if [[ -z "$LIDM_SESSIONS_N" ]]; then - echo "Please set LIDM_SESSIONS_N" >&2; - exit 1; - fi - - # 12 pts ≈ 16 px - exec hyprctl dispatch exec \ - "[float; size $((COLS*16)) $((ROWS*16))]" \ - "kitty --override font_size=12.0 --override background_opacity=1 --override cursor_trail=0 --override cursor_shape=beam --override cursor_blink_interval=0 bash -c 'cd \"$PWD\" && IM_FLOATING=1 LIDM_PATH=\"$LIDM_PATH\" LIDM_SCR_TTY=\"$(tty)\" LIDM_SESSIONS_N=\"$LIDM_SESSIONS_N\" bash -i \"$MYSELF\"'" -fi - -LIDM_PATH=${LIDM_PATH:-$(command which lidm)} -echo "Using '$LIDM_PATH'" -[[ -e "$LIDM_PATH" ]] || { - echo "'$LIDM_PATH' is not executable" >&2; - sleep 2; - exit 1; -} - -notify-send "also make sure this is not in the way either" -echo "Press enter when the window is clearly visible and nothing in the way" -echo "ONLY use this script if you are on hyprland and a \"normal\" kitty config" -echo "AND make sure you have rg, jq, grim, gifski and maybe a few more" - -exec 2>"$LIDM_SCR_TTY" -echo "This should show on the original terminal" > "$LIDM_SCR_TTY" -echo "And this too" >&2 - -read -r - -BG=$(rg '^background ' ~/.config/kitty/kitty.conf | cut -d'#' -f2) -printf '\033]4;0;rgb:%s\007' "${BG:0:2}/${BG:2:2}/${BG:4:2}" - -PRAD=$(hyprctl getoption decoration:rounding | rg int | cut -d' ' -f2) -hyprctl keyword decoration:rounding 0 - -for theme in "$MYDIR"/*.ini; do - LIDM_CONF="$theme" "$LIDM_PATH" & - LIDM_PID=$! - - ( - sleep .2 - for n in $(seq "$LIDM_SESSIONS_N"); do - GEOMETRY=$( - hyprctl -j activewindow | \ - jq -r '(.at[0]|tostring) + "," + (.at[1]|tostring) + " " + (.size[0]|tostring) + "x" + (.size[1]|tostring)' - ) - grim -g "$GEOMETRY" - > "$MYDIR/screenshots/$(basename "$theme" | cut -d. -f1)-$n.png" - notify-send "$n taken" - wtype -k right - sleep .5 - done - kill -15 $LIDM_PID - ) & - - fg %- - sleep .5 -done - -gifski \ - -Q 95 --fps 4 \ - -W $((COLS*32)) \ - -o "$MYDIR/../assets/media/lidm.gif" \ - "$MYDIR"/screenshots/*-?.png &> "$LIDM_SCR_TTY" - -for screenshot in "$MYDIR"/screenshots/*"-2.png"; do - # shellcheck disable=SC2001 - mv "$screenshot" "$(sed 's/-[0-9]\.png/.png/' <<<"$screenshot")" - -done -rm "$MYDIR"/screenshots/*"-"[0-9].png - -printf '\033]104\007' -hyprctl keyword decoration:rounding "$PRAD" diff --git a/themes/tasteless.ini b/themes/tasteless.ini deleted file mode 100644 index e0e0b2c..0000000 --- a/themes/tasteless.ini +++ /dev/null @@ -1,50 +0,0 @@ -[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" -opts_pre = "· " -opts_post = " " -ellipsis = "…" - -[behavior] -# include_defshell = true -timefmt = "%Y-%m-%d %H:%M:%S" -# refresh_rate = 100 -source = "/etc/lidm.env" -source = "/etc/locale.conf" -user_source = ".lidm.env" diff --git a/themes/view.sh b/themes/view.sh deleted file mode 100755 index 5e91d01..0000000 --- a/themes/view.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/env bash -set -e - -MYSELF=$(realpath "$0") -MYDIR=$(dirname "$MYSELF") - -LIDM_PATH=${LIDM_PATH:-$(command which lidm)} -echo "Using '$LIDM_PATH'" -[[ -e "$LIDM_PATH" ]] || { echo "'$LIDM_PATH' is not executable" >&2; exit 1; } - -echo "Press \`Ctrl + C\` once you are done viewing the theme" -sleep 3 - -for theme in "$MYDIR/"*.ini; do - LIDM_CONF="$theme" "$LIDM_PATH" || : - echo "That was '$(basename "$theme")'" - sleep 2 || : -done