Toby 285d9a1be1 | ||
---|---|---|
README.md | ||
config.rb | ||
dialog.rb | ||
main.rb |
README.md
rbsession
rbsession is a little utility to select and run an X desktop environment.
prereqs
you're gonna want:
- Xdialog
- Ruby (have tested on 3.1)
- Psych (YAML parser)
- an X server
setup
i'm going to assume you're using xenodm or another display manager that just invokes your xinitrc, since that's what i built rbsession around!
first you'll want to download the source code:
git clone https://git.tobskep.com/tobskep/rbsession/ ~/.rbsession
now add it to your xinitrc file (preferably at the end, if it's not the only thing):
+ ruby ~/.rbsession/main.rb
and create/populate ~/.sessions.yml
:
mate:
name: MATE (GNOME 2)
exec: mate-session
wmaker:
name: WindowMaker
exec: wmaker
config structure
my-desktop:
name: "pretty-printed name for the list"
exec: "# command to run when this desktop is selected"
my-other-desktop:
name: "same as above"
exec: "rm -rf /*"