L2 Cache

Behold the power of |!

User Tools

Site Tools


Sidebar

configuration:cdm

CDM

Introduction

I usually use SLiM as my Display Manager, however I was going the minimal route with my netbook's latest reinstalled.

I ended up using CDM, I am very happy with it. Bellow is am modded theme I use in combination with my XMonad configuration.

Screenshot

Configuration Files

/etc/cdmrc

#!/bin/bash
#
# Example config file for cdm(1).
# Values set here is the default as in cdm(1).

# List of programs, commands with whitespaces should be quoted or escaped.
# If unset, all sessions in /etc/X11/Sessions are offered as choices.
#
# (An example:)
# binlist=(
#   "~/.xsession"                    # Launch your X session,
#   "/bin/bash --login"              # or just execute your shell,
#   "/usr/bin/fbterm"                # or start a frame buffer console,
#   "/usr/bin/cdm ~/.submenu.cdmrc"  # or go to a submenu :)
# )
binlist=(
  "/usr/local/bin/xmonad-cdm-wrapper"
  "/bin/zsh --login"
)
# List all program display names, one-by-one matched with $binlist.
# Names with whitespaces should be quoted or escaped.
#
# (Continued example:)
# namelist=("X session" Console FBTerm "Sub menu")
namelist=(
	"Xmonad"
	"Console"
)

# Type of the programs, one-by-one matched with $binlist.
# `C' for *C*onsole programs, which would be `exec'ed.
# `X' for *X* programs, which would be run with cdm-xlaunch(1).
#
# (Continued example:)
# flaglist=(X C C C)
flaglist=(
	X
	C
)

# Style for the cdm dialog, which is printed with dialog(1).
# Default to unset, causing dialog(1) to use the system wide default.
# See /usr/share/doc/cdm/themes for some nice choices.
dialogrc=/usr/share/cdm/themes/miromiro_green

# Index of the first item in the menu.
countfrom=1

# Set default display.
display=0

# Where should the first X tty be spawned?
# special value 'keep' causes to run X in current tty
xtty=7

# Should cdm(1) stick to the specified display?
locktty=no

# Additional arguments to pass to X server, which is usually called as:
#   /usr/bin/X :$display $serverargs vt$((xtty+display))
serverargs='-nolisten tcp'

# Use ConsoleKit for X session?
consolekit=yes

# Timeout for waiting for X session to register with ConsoleKit.
cktimeout=30

/usr/share/cdm/themes/miromiro_green

# Theme: miromiro_green

# Set aspect-ration.
aspect = 0

# Shadow dialog boxes? This also turns on color.
use_shadow = OFF

# Turn color support ON or OFF
use_colors = ON

# Screen color
screen_color = (WHITE,BLACK,OFF)

# Shadow color
shadow_color = (WHITE,BLACK,OFF)

# Dialog box color
dialog_color = (WHITE,BLACK,OFF)

# Dialog box title color
title_color = (WHITE,BLACK,OFF)

# Dialog box border color
border_color = (WHITE,BLACK,OFF)
border2_color = dialog_color
menubox_border2_color = dialog_color

# Active button color
button_active_color = (WHITE,BLACK,OFF)

# Inactive button color
button_inactive_color = (WHITE,BLACK,OFF)

# Active button key color
button_key_active_color = (GREEN,BLACK,OFF)

# Inactive button key color
button_key_inactive_color = (WHITE,BLACK,OFF)

# Active button label color
button_label_active_color = (GREEN,BLACK,OFF)

# Inactive button label color
button_label_inactive_color = (WHITE,BLACK,OFF)

# File position indicator color
position_indicator_color = (WHITE,BLACK,OFF)

# Menu box color
menubox_color = (WHITE,BLACK,OFF)

# Menu box border color
menubox_border_color = (WHITE,BLACK,OFF)

# Item color
item_color = (WHITE,BLACK,OFF)

# Selected item color
item_selected_color = (GREEN,BLACK,OFF)

# Tag key color
tag_key_color = (WHITE,BLACK,OFF)

# Selected tag key color
tag_key_selected_color = (GREEN,BLACK,OFF)

# Up arrow color
uarrow_color = (WHITE,BLACK,OFF)

# Down arrow color
darrow_color = (WHITE,BLACK,OFF)
configuration/cdm.txt · Last modified: 2014/10/09 22:02 (external edit)