File: .xinitrc

package info (click to toggle)
wmanager 0.2.2-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 204 kB
  • sloc: cpp: 520; perl: 124; makefile: 99; sh: 83
file content (35 lines) | stat: -rw-r--r-- 488 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/bin/bash
#
# sample .xinitrc for wmanager
# 1999/09/26 10:48:25 M. Tessmer


# ...

#default wm
WM=/home/jane_user/bin/wmx

# set nice(?) background
xsetroot -solid black

# start wmanager
WM=$( wmanager.py -g +365+322; )

# test for -1 (returned if 'Exit' was pressed)
#
# WINDOWMANAGER is the final environment variable
if test "$WM"!="-1" ; then
    WINDOWMANAGER=$WM ;
else 
    exec $failsafe ;
fi


# GNOME panel
panel &

# finally start a windowmanager
$WINDOWMANAGER &


# ...