Cdm: Difference between revisions
From wikinotes
No edit summary |
No edit summary |
||
Line 22: | Line 22: | ||
|} | |} | ||
</blockquote><!-- Tutorials --> | </blockquote><!-- Tutorials --> | ||
= Locations = | |||
<blockquote> | |||
{| class="wikitable" | |||
|- | |||
| <code>/etc/cdmrc</code> || system config | |||
|- | |||
| <code>~/.config/cdm/cdmrc</code> || user config | |||
|- | |||
| <code>/usr/share/cdm/themes/*</code> || themes | |||
|- | |||
|} | |||
</blockquote><!-- Locations --> | |||
= Configuration = | |||
<blockquote> | |||
cdm is configured with 3x arrays.<br> | |||
entries in each array at the same index refer to the same login choice. | |||
<syntaxhighlight lang="bash"> | |||
# (~/.config/cdm|/etc/)cdmrc | |||
# startx ${THIS_COMMAND} | |||
binlist=( | |||
"/bin/zsh -i" # console | |||
) | |||
# name of each choice | |||
namelist=( | |||
"tty" | |||
"i3" | |||
"openbox" | |||
) | |||
# if choice requires an X-session, or is a console | |||
flaglist=( | |||
C | |||
X | |||
X | |||
) | |||
</syntaxhighlight> | |||
</blockquote><!-- Configuration --> |
Revision as of 00:09, 17 July 2021
A console based display manager for linux/bsd.
Written in bash.
NOTE:
interestingly, since xorg is not running yet, you may be able to change the xorg.conf
that is loaded for each entry..
Documentation
github https://github.com/evertiro/cdm
Tutorials
arch wiki https://wiki.archlinux.org/title/CDM
Locations
/etc/cdmrc
system config ~/.config/cdm/cdmrc
user config /usr/share/cdm/themes/*
themes
Configuration
cdm is configured with 3x arrays.
entries in each array at the same index refer to the same login choice.# (~/.config/cdm|/etc/)cdmrc # startx ${THIS_COMMAND} binlist=( "/bin/zsh -i" # console ) # name of each choice namelist=( "tty" "i3" "openbox" ) # if choice requires an X-session, or is a console flaglist=( C X X )