chore: update themes
Before Width: | Height: | Size: 71 KiB After Width: | Height: | Size: 205 KiB |
@ -16,6 +16,14 @@
|
||||
|
||||

|
||||
|
||||
## minimal.ini
|
||||
|
||||

|
||||
|
||||
> [!WARNING]
|
||||
> This theme **heavily** relies on terminal rendering. It's just to show
|
||||
> customizability, a TTY won't render this properly
|
||||
|
||||
## nature.ini
|
||||
|
||||

|
||||
|
@ -1,9 +1,9 @@
|
||||
[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"
|
||||
# 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"
|
||||
@ -15,30 +15,33 @@ e_badpasswd = "4;31"
|
||||
e_key = "1;23;38;5;197"
|
||||
|
||||
[chars]
|
||||
hb = "─"
|
||||
vb = "│"
|
||||
ctl = "┌"
|
||||
ctr = "┐"
|
||||
cbl = "└"
|
||||
cbr = "┘"
|
||||
# hb = "─"
|
||||
# vb = "│"
|
||||
# ctl = "┌"
|
||||
# ctr = "┐"
|
||||
# cbl = "└"
|
||||
# cbr = "┘"
|
||||
|
||||
[functions]
|
||||
poweroff = F1
|
||||
reboot = F2
|
||||
refresh = F5
|
||||
# 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"
|
||||
# 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 = " >"
|
||||
|
||||
[behavior]
|
||||
include_defshell = true
|
||||
# include_defshell = true
|
||||
# timefmt = "%X %x"
|
||||
source = "/etc/lidm.env"
|
||||
source = "/etc/locale.conf"
|
||||
user_source = ".lidm.env"
|
||||
|
@ -1,47 +1,47 @@
|
||||
[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"
|
||||
# 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 = "┘"
|
||||
# hb = "─"
|
||||
# vb = "│"
|
||||
# ctl = "┌"
|
||||
# ctr = "┐"
|
||||
# cbl = "└"
|
||||
# cbr = "┘"
|
||||
|
||||
[functions]
|
||||
poweroff = F1
|
||||
reboot = F2
|
||||
refresh = F5
|
||||
# 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 = " >"
|
||||
# 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 = " >"
|
||||
|
||||
[behavior]
|
||||
include_defshell = true
|
||||
timefmt = "%Y-%m-%d %H:%M:%S"
|
||||
# include_defshell = true
|
||||
# timefmt = "%X %x"
|
||||
source = "/etc/lidm.env"
|
||||
source = "/etc/locale.conf"
|
||||
user_source = ".lidm.env"
|
||||
|
@ -1,44 +1,47 @@
|
||||
[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"
|
||||
# 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_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"
|
||||
# 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 = "┘"
|
||||
# hb = "─"
|
||||
# vb = "│"
|
||||
# ctl = "┌"
|
||||
# ctr = "┐"
|
||||
# cbl = "└"
|
||||
# cbr = "┘"
|
||||
|
||||
[functions]
|
||||
poweroff = F1
|
||||
reboot = F2
|
||||
refresh = F5
|
||||
# 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"
|
||||
# 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 = " >"
|
||||
|
||||
[behavior]
|
||||
include_defshell = true
|
||||
# include_defshell = true
|
||||
timefmt = "%Y-%m-%d %H:%M:%S"
|
||||
source = "/etc/lidm.env"
|
||||
source = "/etc/locale.conf"
|
||||
user_source = ".lidm.env"
|
||||
|
@ -1,44 +1,47 @@
|
||||
[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"
|
||||
# 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_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"
|
||||
# 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 = "┘"
|
||||
# hb = "─"
|
||||
# vb = "│"
|
||||
# ctl = "┌"
|
||||
# ctr = "┐"
|
||||
# cbl = "└"
|
||||
# cbr = "┘"
|
||||
|
||||
[functions]
|
||||
poweroff = F1
|
||||
reboot = F2
|
||||
refresh = F5
|
||||
# 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"
|
||||
# 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 = " >"
|
||||
|
||||
[behavior]
|
||||
include_defshell = true
|
||||
# include_defshell = true
|
||||
timefmt = "%Y-%m-%d %H:%M:%S"
|
||||
source = "/etc/lidm.env"
|
||||
source = "/etc/locale.conf"
|
||||
user_source = ".lidm.env"
|
||||
|
48
themes/minimal.ini
Normal file
@ -0,0 +1,48 @@
|
||||
[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 = " >"
|
||||
|
||||
[behavior]
|
||||
# include_defshell = true
|
||||
timefmt = "\xef\x80\x97 %X \xef\x84\xb3 %x"
|
||||
source = "/etc/lidm.env"
|
||||
source = "/etc/locale.conf"
|
||||
user_source = ".lidm.env"
|
@ -1,9 +1,9 @@
|
||||
[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"
|
||||
# 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"
|
||||
@ -15,30 +15,33 @@ e_badpasswd = "3;4;31"
|
||||
e_key = "32"
|
||||
|
||||
[chars]
|
||||
hb = "─"
|
||||
vb = "│"
|
||||
ctl = "┌"
|
||||
ctr = "┐"
|
||||
cbl = "└"
|
||||
cbr = "┘"
|
||||
# hb = "─"
|
||||
# vb = "│"
|
||||
# ctl = "┌"
|
||||
# ctr = "┐"
|
||||
# cbl = "└"
|
||||
# cbr = "┘"
|
||||
|
||||
[functions]
|
||||
poweroff = F1
|
||||
reboot = F2
|
||||
refresh = F5
|
||||
# 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"
|
||||
# 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 = " >"
|
||||
|
||||
[behavior]
|
||||
include_defshell = true
|
||||
# include_defshell = true
|
||||
timefmt = "%Y-%m-%d %H:%M:%S"
|
||||
source = "/etc/lidm.env"
|
||||
source = "/etc/locale.conf"
|
||||
user_source = ".lidm.env"
|
||||
|
@ -1,44 +1,47 @@
|
||||
[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"
|
||||
# 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_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_badpasswd = "3;4;31"
|
||||
e_key = "34"
|
||||
|
||||
[chars]
|
||||
hb = "─"
|
||||
vb = "│"
|
||||
ctl = "┌"
|
||||
ctr = "┐"
|
||||
cbl = "└"
|
||||
cbr = "┘"
|
||||
# hb = "─"
|
||||
# vb = "│"
|
||||
# ctl = "┌"
|
||||
# ctr = "┐"
|
||||
# cbl = "└"
|
||||
# cbr = "┘"
|
||||
|
||||
[functions]
|
||||
poweroff = F1
|
||||
reboot = F2
|
||||
refresh = F5
|
||||
# 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"
|
||||
# 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 = " >"
|
||||
|
||||
[behavior]
|
||||
include_defshell = true
|
||||
# include_defshell = true
|
||||
timefmt = "%Y-%m-%d %H:%M:%S"
|
||||
source = "/etc/lidm.env"
|
||||
source = "/etc/locale.conf"
|
||||
user_source = ".lidm.env"
|
||||
|
@ -25,22 +25,25 @@ cbl = " "
|
||||
cbr = " "
|
||||
|
||||
[functions]
|
||||
poweroff = F1
|
||||
reboot = F2
|
||||
refresh = F5
|
||||
# poweroff = F1
|
||||
# reboot = F2
|
||||
# refresh = F5
|
||||
|
||||
[strings]
|
||||
f_poweroff = "poweroff"
|
||||
f_reboot = "reboot"
|
||||
f_refresh = "refresh"
|
||||
# f_poweroff = "poweroff"
|
||||
# f_reboot = "reboot"
|
||||
# f_refresh = "refresh"
|
||||
e_user = ""
|
||||
e_passwd = ""
|
||||
s_wayland = ""
|
||||
s_xorg = ""
|
||||
s_shell = ""
|
||||
# opts_pre = "< "
|
||||
# opts_post = " >"
|
||||
|
||||
[behavior]
|
||||
include_defshell = true
|
||||
# include_defshell = true
|
||||
timefmt = " "
|
||||
source = "/etc/lidm.env"
|
||||
source = "/etc/locale.conf"
|
||||
user_source = ".lidm.env"
|
||||
|
@ -1,17 +1,17 @@
|
||||
[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"
|
||||
# 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_badpasswd = "3;4;31"
|
||||
e_key = "1;31;48;2;255;174;66"
|
||||
|
||||
[chars]
|
||||
@ -23,9 +23,9 @@ cbl = "█"
|
||||
cbr = "█"
|
||||
|
||||
[functions]
|
||||
poweroff = F1
|
||||
reboot = F2
|
||||
refresh = F5
|
||||
# poweroff = F1
|
||||
# reboot = F2
|
||||
# refresh = F5
|
||||
|
||||
[strings]
|
||||
f_poweroff = "powewoff"
|
||||
@ -36,9 +36,12 @@ e_passwd = "passwd"
|
||||
s_wayland = "waywand"
|
||||
s_xorg = "xworg"
|
||||
s_shell = "swell"
|
||||
# opts_pre = "< "
|
||||
# opts_post = " >"
|
||||
|
||||
[behavior]
|
||||
include_defshell = true
|
||||
# include_defshell = true
|
||||
timefmt = "%Y-%m-%d %H:%M:%S"
|
||||
source = "/etc/lidm.env"
|
||||
source = "/etc/locale.conf"
|
||||
user_source = ".lidm.env"
|
||||
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
BIN
themes/screenshots/minimal.png
Normal file
After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 9.9 KiB After Width: | Height: | Size: 9.9 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
@ -8,10 +8,15 @@ 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\" \"$MYSELF\"'"
|
||||
"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\" \"$MYSELF\"'"
|
||||
fi
|
||||
|
||||
LIDM_PATH=${LIDM_PATH:-$(command which lidm)}
|
||||
@ -21,9 +26,16 @@ echo "Using '$LIDM_PATH'"
|
||||
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)
|
||||
@ -32,26 +44,38 @@ 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
|
||||
|
||||
tty=$(tty)
|
||||
for theme in "$MYDIR"/*.ini; do
|
||||
tty=$(tty)
|
||||
(LIDM_CONF="$theme" "$LIDM_PATH" <"$tty" || :)&
|
||||
LIDM_CONF="$theme" "$LIDM_PATH" <"$tty" &
|
||||
LIDM_PID=$!
|
||||
|
||||
sleep .2
|
||||
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).png"
|
||||
kill $LIDM_PID
|
||||
sleep .1
|
||||
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
|
||||
sleep .5
|
||||
done
|
||||
|
||||
gifski \
|
||||
-Q 100 --fps 2 \
|
||||
-W $((COLS*16)) \
|
||||
-Q 95 --fps 4 \
|
||||
-W $((COLS*32)) \
|
||||
-o "$MYDIR/../assets/media/lidm.gif" \
|
||||
"$MYDIR"/screenshots/*.png
|
||||
"$MYDIR"/screenshots/*.png &> "$LIDM_SCR_TTY"
|
||||
|
||||
for screenshot in "$MYDIR"/screenshots/*"-1.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"
|
||||
|
@ -16,17 +16,17 @@ e_badpasswd = "-"
|
||||
e_key = "-"
|
||||
|
||||
[chars]
|
||||
hb = "─"
|
||||
vb = "│"
|
||||
ctl = "┌"
|
||||
ctr = "┐"
|
||||
cbl = "└"
|
||||
cbr = "┘"
|
||||
# hb = "─"
|
||||
# vb = "│"
|
||||
# ctl = "┌"
|
||||
# ctr = "┐"
|
||||
# cbl = "└"
|
||||
# cbr = "┘"
|
||||
|
||||
[functions]
|
||||
poweroff = F1
|
||||
reboot = F2
|
||||
refresh = F5
|
||||
# poweroff = F1
|
||||
# reboot = F2
|
||||
# refresh = F5
|
||||
|
||||
[strings]
|
||||
f_poweroff = "off"
|
||||
@ -37,9 +37,12 @@ e_passwd = "pass"
|
||||
s_wayland = "wayl"
|
||||
s_xorg = "xorg"
|
||||
s_shell = "sh"
|
||||
opts_pre = "· "
|
||||
opts_post = " "
|
||||
|
||||
[behavior]
|
||||
include_defshell = true
|
||||
# include_defshell = true
|
||||
timefmt = "%Y-%m-%d %H:%M:%S"
|
||||
source = "/etc/lidm.env"
|
||||
source = "/etc/locale.conf"
|
||||
user_source = ".lidm.env"
|
||||
|