mirror of
https://github.com/javalsai/lidm.git
synced 2026-02-27 12:00:44 +01:00
Compare commits
3 Commits
v2.0.0
...
8c6dc406af
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8c6dc406af | ||
|
|
a84d83ab29 | ||
| aa2feb3462 |
@@ -11,7 +11,7 @@ let
|
||||
dmcfg = config.services.displayManager;
|
||||
desktops = dmcfg.sessionData.desktops;
|
||||
|
||||
version = "1.2.3";
|
||||
version = "2.0.0";
|
||||
lidmPkg = pkgs.callPackage ./lidm.nix {
|
||||
inherit pkgs;
|
||||
config = {
|
||||
@@ -21,7 +21,7 @@ let
|
||||
owner = "javalsai";
|
||||
repo = "lidm";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-eKgBoh+bRcl2Y7oOxW77Kjtb9Ws2Xln1SenknIsGxD4=";
|
||||
sha256 = "sha256-dI1OGndbT6wFAhuGmsPZPqLFvtPREfO/3HqhmlSMpN4=";
|
||||
};
|
||||
|
||||
xsessions = "${desktops}/share/xsessions";
|
||||
|
||||
5
src/ui.c
5
src/ui.c
@@ -472,8 +472,9 @@ void print_user(struct user user, bool multiple) {
|
||||
toprint += get_render_pos_offset(&of_session, maxlen);
|
||||
size_t printlen = utf8seekn(toprint, maxlen) - toprint;
|
||||
|
||||
printf("\r\x1b[%dC< \x1b[%sm%.*s\x1b[%sm >", box_start.x + VALUES_COL - 1,
|
||||
user_color, (int)printlen, toprint, g_config->colors.fg);
|
||||
printf("\r\x1b[%dC%s\x1b[%sm%.*s\x1b[%sm%s", box_start.x + VALUES_COL - 1,
|
||||
g_config->strings.opts_pre, user_color, (int)printlen, toprint,
|
||||
g_config->colors.fg, g_config->strings.opts_post);
|
||||
} else {
|
||||
toprint += get_render_pos_offset(&of_user, VALUE_MAXLEN);
|
||||
size_t printlen = utf8seekn(toprint, VALUE_MAXLEN) - toprint;
|
||||
|
||||
24
themes/catppuccin-frappe.ini
Normal file
24
themes/catppuccin-frappe.ini
Normal file
@@ -0,0 +1,24 @@
|
||||
##############################################
|
||||
# #
|
||||
# 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"
|
||||
24
themes/catppuccin-latte.ini
Normal file
24
themes/catppuccin-latte.ini
Normal file
@@ -0,0 +1,24 @@
|
||||
##############################################
|
||||
# #
|
||||
# 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"
|
||||
24
themes/catppuccin-macchiato.ini
Normal file
24
themes/catppuccin-macchiato.ini
Normal file
@@ -0,0 +1,24 @@
|
||||
##############################################
|
||||
# #
|
||||
# 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"
|
||||
24
themes/catppuccin-mocha.ini
Normal file
24
themes/catppuccin-mocha.ini
Normal file
@@ -0,0 +1,24 @@
|
||||
##############################################
|
||||
# #
|
||||
# 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"
|
||||
35
themes/catppuccin.tera
Normal file
35
themes/catppuccin.tera
Normal file
@@ -0,0 +1,35 @@
|
||||
---
|
||||
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) }}"
|
||||
Reference in New Issue
Block a user