summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2006-09-07 02:13:04 +0000
committerDimitri Sokolyuk <demon@dim13.org>2006-09-07 02:13:04 +0000
commit37045d56c28995cbadd041db4a12b61392816803 (patch)
treec8ac77c4f925c10d4c250ecf88d2fc3f70301ac4
parent2eb838975ac925591cfcf7497275e96aa71a5c59 (diff)
sync
-rw-r--r--Makefile5
-rw-r--r--larsmenu.sh49
-rw-r--r--larswm.mc51
3 files changed, 81 insertions, 24 deletions
diff --git a/Makefile b/Makefile
index aaefd37..f64e47f 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,10 @@ edit:
rc: larswm.mc larswm.m4
m4 larswm.mc > $(HOME)/.larswmrc
+menu:
+ install -c larsmenu.sh $(HOME)/bin
+
reload:
larsremote restart
-install: rc reload
+install: rc menu reload
diff --git a/larsmenu.sh b/larsmenu.sh
new file mode 100644
index 0000000..80839e1
--- /dev/null
+++ b/larsmenu.sh
@@ -0,0 +1,49 @@
+#!/bin/sh
+
+BG="#eeeeee"
+#FONT="-jmk-neep-medium-*-*--15-*-*-*-c-*-*-*"
+FONT="9x15"
+
+OPT="-bg $BG -font $FONT"
+#OPT="-bg #AEB2C3 -font -schumacher-clean-*-*-*-*-0-*-*-*-*-*-*-*"
+
+case $1 in
+ 1)
+ ;;
+ 2)
+ larsmenu $OPT -popup \
+ 'Terminal:xterm' \
+ 'Launch ...:mterm -a -w -p +610+515' \
+ 'Kill:xkill' \
+ 'Lock:xlock' \
+ 'Calculator:xcalc' \
+ 'Magnify:xmag' \
+ 'Manual pages:xman' \
+ 'Console:xconsole' \
+ 'Restart:larsremote restart' \
+ 'Exit:larsremote exit' \
+ 'Cancel:exit'
+ ;;
+ 3)
+ larsmenu $OPT -popup \
+ 'Firefox:firefox' \
+ 'Thunderbird:thunderbird' \
+ 'Newsreader:pan' \
+ 'Instant Messenger:gaim' \
+ 'Internet Relay Chat:xchat' \
+ 'XMMS:xmms' \
+ 'Beep Media Player:beep-media-player' \
+ 'Movie Player:gmplayer' \
+ 'DVD Player:ogle' \
+ 'Gimp:gimp' \
+ 'Image Viewer:gqview' \
+ 'BitTorrent:transmission-gtk' \
+ 'File Manager:rox' \
+ 'Vim:gvim' \
+ 'Emacs:emacs' \
+ 'Maple 10:xmaple' \
+ 'Cancel:exit'
+ ;;
+ *)
+ ;;
+esac
diff --git a/larswm.mc b/larswm.mc
index b27fde1..c9c9d52 100644
--- a/larswm.mc
+++ b/larswm.mc
@@ -7,21 +7,28 @@ include(`larswm.m4')dnl
! Desktop Settings
!
-dnl #8d9bc0 AntiqueWhite3 grey84 #dcdad5
-PROP(background, `grey84')
-dnl PROP(background, `white')
-dnl PROP(foreground, `black')
+dnl Colors: #8d9bc0 AntiqueWhite3 grey84 #dcdad5 #AEB2C3 #989999
+dnl Colors: b/f #A0763D #F3E9DA #eeeeee
+dnl PROP(background, `#AEB2C3')
+PROP(background, `#eeeeee')
+
+dnl PROP(font, `fixed')
+PROP(font, `9x15')
dnl PROP(font, `-xos4-terminus-medium-r-normal--14-*-*-*-*-*-iso10646-1')
-PROP(font, `-jmk-neep-medium-*-*--15-*-*-*-c-*-*-*')
+dnl PROP(font, `-jmk-neep-medium-*-*--15-*-*-*-c-*-*-*')
+dnl PROP(font, `-schumacher-clean-*-*-*-*-0-*-*-*-*-*-*-*')
! Dotile
!
DOTILE(`XTerm~xterm')dnl
+DOTILE(`UXTerm~xterm')dnl
DOTILE(`XTerm~aterm')dnl
DOTILE(`XTerm~rxvt')dnl
-DOTILE(`navigator:browser~Mozilla')dnl
-DOTILE(`mail:3pane~Mozilla')dnl
+DOTILE(`Thunderbird-bin~thunderbird-bin')dnl
+DOTILE(`Firefox-bin~firefox-bin')dnl
+DOTILE(`Mozilla-bin~mozilla-bin')dnl
DOTILE(`Opera~opera')dnl
+DOTILE(`Pan~Pan')dnl
DOTILE(`Gvim~gvim')dnl
DOTILE(`Emacs~emacs')dnl
DOTILE(`NEdit~textShell')dnl
@@ -36,8 +43,11 @@ TOOL(`XEyes~xeyes')dnl
! Float
!
FLOAT(`larsmenu~larsmenu')dnl
+FLOAT(`Xmessage~xmessage')dnl
FLOAT(`XCalc~xcalc')dnl
FLOAT(`Gaim~gaim')dnl
+FLOAT(`MPlayer~MPlayer')dnl
+FLOAT(`MPlayer~xv')dnl
! Sticky
!
@@ -47,30 +57,25 @@ dnl STICKY(`Beep-media-player~beep-media-player')dnl
! WWW Desktop
!
-DT(`navigator:browser~Mozilla', 1)
-DT(`mail:3pane~Mozilla', 1)
+DT(`Thunderbird-bin~thunderbird-bin', 1)dnl
+DT(`Firefox-bin~firefox-bin', 1)dnl
+DT(`Mozilla-bin~mozilla-bin', 1)dnl
DT(`Opera~opera', 1)
+DT(`Pan~pan', 1)
DTPROPAS(left_track_width, 1, 89)
DTPROPAS(tile_resize, 1, False)
DTPROPAS(skip_focus, 1, False)
! Instant Messenger Desktop
!
-DT(`Gaim~gaim', 2)
-DT(`Xchat~xchat', 2)dnl
+DT(`Gaim~gaim', 3)
+DT(`Xchat~xchat', 3)
+DT(`xmms~XMMS_Player', 3)dnl
! Mouse bindings
!
-APPM(2, larsmenu -popup \
- 'Terminal:xterm' 'Run ...:mterm -a -w -p +610+515' \
- 'Restart:larsremote restart' 'Exit:larsremote exit' \
- 'Cancel:exit')
-APPM(3, larsmenu -popup \
- 'Firefox:firefox' 'Thunderbird:thunderbird' 'Instant Messenger:gaim' \
- 'XMMS:xmms' 'ROX-Filer:rox' 'Vim:gvim' \
- 'Calculator:xcalc' 'Maple:xmaple' \
- 'GQView:gqview' 'Gimp:gimp' \
- 'Cancel:exit')
+APPM(2, $HOME/bin/larsmenu.sh 2)
+APPM(3, $HOME/bin/larsmenu.sh 3)
! Apps
!
@@ -79,5 +84,5 @@ APP(Return, Alt, `mterm -a -w -p +610+515')
APP(Return, Shift+Control, `xterm')
APP(Escape, Alt+Control, `xkill')
APP(Delete, Alt+Control, `xlock')
-APP(Home, Alt+Control, `larsremote restart')
-APP(End, Alt+Control, `larsremote exit')
+dnl APP(Home, Shift+Control, `larsremote restart')
+dnl APP(End, Shift+Control, `larsremote exit')