You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

77 lines
1.4 KiB
Plaintext

15 years ago
############################
### GLOBAL CONFIGURATION ###
############################
# Set CDM theme
15 years ago
theme=cdm
15 years ago
# List all WM binary names
wmbinlist=(awesome openbox-session)
# List all WM display names
wmdisplist=(Awesome Openbox)
# Allow console login?
allowconsole=yes
# Allow shutdown?
allowshutdown=yes
shutdowncommand='sudo shutdown -h now'
rebootcommand='sudo shutdown -r now'
15 years ago
# Set configuration for specific users?
userconfig=(courtney)
15 years ago
# Set default display
display=0
##########################
### USER CONFIGURATION ###
##########################
courtney() {
15 years ago
# Set CDM theme
theme=lime
15 years ago
# List user allowed WM binary names
wmbinlist=(openbox-session)
15 years ago
# List user allowed WM display names
wmdisplist=(Openbox)
15 years ago
# Allow console login?
allowconsole=no
# Allow shutdown?
allowshutdown=no
15 years ago
# Set specific display for user
display=1
}
15 years ago
############################
### SYSTEM CONFIGURATION ###
############################
# Set first X tty (default is 7)
xtty=7
# Set default Window Manager
defaultwm=xterm
# Enable login shell (fixes issues with some keymaps, requires bash)
loginshell=no
15 years ago
###################################
### DO NOT EDIT BELOW THIS LINE ###
###################################
count=0
while [[ ${count} -lt ${#userconfig[@]} ]]; do
if [[ "$USER" == "${userconfig[${count}]}" ]]; then
${userconfig[${count}]}
fi
let count=count+1
done