-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve functionality of JWM in Saluki
- Loading branch information
Showing
6 changed files
with
220 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- a/etc/xdg/templates/_root_.jwmrc 2012-02-22 19:40:59.000000000 +0200 | ||
+++ b/etc/xdg/templates/_root_.jwmrc 2012-02-24 19:18:58.000000000 +0200 | ||
@@ -58,6 +58,7 @@ | ||
<!-- Additional tray attributes: autohide, width, border, layer, layout --> | ||
<!-- Tray definition moved to separate file: .jwmrc-tray --> | ||
<Include>/root/.jwmrc-tray</Include> | ||
+ <Include>/root/.jwmrc-tray2</Include> | ||
|
||
<!-- Visual Styles --> | ||
|
||
@@ -120,6 +121,8 @@ | ||
<IconPath>/usr/local/lib/X11/pixmaps</IconPath> | ||
<IconPath>/usr/share/pixmaps</IconPath> | ||
<IconPath>/usr/local/share/pixmaps</IconPath> | ||
+ <IconPath>/usr/share/icons/gnome/48x48/apps/</IconPath> | ||
+ <IconPath>/usr/share/icons/hicolor/48x48/apps/</IconPath> | ||
<!-- </Icons> --> | ||
|
||
<StartupCommand> | ||
@@ -127,7 +130,20 @@ | ||
|
||
<!-- Virtual Desktops --> | ||
<!-- Name tags can be contained within Desktops for desktop names. BK: syntax change with jwm 500... --> | ||
- <Desktops width="3" height="1"/> | ||
+ <Desktops width="2" height="1"> | ||
+ <Desktop Name="One"> | ||
+ <Background type="tile">/usr/share/backgrounds/default.jpg</Background> | ||
+ </Desktop> | ||
+ | ||
+ <Desktop Name="Two"> | ||
+ <Background type="tile">/usr/share/backgrounds/default.jpg</Background> | ||
+ </Desktop> | ||
+ | ||
+ <Desktop Name="Three"> | ||
+ <Background type="tile">/usr/share/backgrounds/default.jpg</Background> | ||
+ </Desktop> | ||
+ | ||
+ </Desktops> | ||
|
||
<!-- Double click speed (in milliseconds) --> | ||
<DoubleClickSpeed>400</DoubleClickSpeed> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- a/root/.jwmrc-tray 2010-05-24 09:41:41.000000000 +0300 | ||
+++ b/root/.jwmrc-tray 2012-02-24 19:09:01.000000000 +0200 | ||
@@ -34,9 +36,9 @@ | ||
freememappletshell | ||
</Swallow> --> | ||
|
||
- <Swallow name="xload" width="32"> | ||
+ <!-- <Swallow name="xload" width="32"> | ||
xload -nolabel -bg "#888888" -fg red -hl white | ||
- </Swallow> | ||
+ </Swallow> --> | ||
|
||
<Clock format="%H:%M">minixcal</Clock> | ||
</Tray> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- a/root/.jwmrc-tray 2010-05-24 09:41:41.000000000 +0300 | ||
+++ b/root/.jwmrc-tray 2012-02-26 09:06:16.146554246 +0200 | ||
@@ -14,8 +14,10 @@ | ||
<!-- Additional TaskList attribute: maxwidth --> | ||
<TaskList/> | ||
|
||
+ <TrayButton popup="Mount devices" icon="/usr/share/icons/gnome/24x24/devices/gnome-dev-removable.png">exec:pmount</TrayButton> | ||
+ | ||
<Dock/> | ||
- | ||
+ | ||
<!-- Additional Swallow attribute: height --> | ||
|
||
<!-- <Swallow name="blinky"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- a/root/.jwmrc 2012-02-22 19:40:59.000000000 +0200 | ||
+++ b/root/.jwmrc 2012-02-25 01:10:39.730000380 +0200 | ||
@@ -77,6 +90,7 @@ | ||
<!-- Additional tray attributes: autohide, width, border, layer, layout --> | ||
<!-- Tray definition moved to separate file: .jwmrc-tray --> | ||
<Include>/root/.jwmrc-tray</Include> | ||
+<Include>/root/.jwmrc-tray2</Include> | ||
|
||
<!-- Visual Styles --> | ||
|
||
@@ -139,6 +153,8 @@ | ||
<IconPath>/usr/local/lib/X11/pixmaps</IconPath> | ||
<IconPath>/usr/share/pixmaps</IconPath> | ||
<IconPath>/usr/local/share/pixmaps</IconPath> | ||
+<IconPath>/usr/share/icons/gnome/48x48/apps/</IconPath> | ||
+<IconPath>/usr/share/icons/hicolor/48x48/apps/</IconPath> | ||
<!-- </Icons> --> | ||
|
||
<StartupCommand> | ||
@@ -146,7 +162,20 @@ | ||
|
||
<!-- Virtual Desktops --> | ||
<!-- Name tags can be contained within Desktops for desktop names. BK: syntax change with jwm 500... --> | ||
-<Desktops width="3" height="1"/> | ||
+<Desktops width="2" height="1"> | ||
+<Desktop Name="One"> | ||
+<Background type="tile">/usr/share/backgrounds/default.jpg</Background> | ||
+</Desktop> | ||
+ | ||
+<Desktop Name="Two"> | ||
+<Background type="tile">/usr/share/backgrounds/default.jpg</Background> | ||
+</Desktop> | ||
+ | ||
+<Desktop Name="Three"> | ||
+<Background type="tile">/usr/share/backgrounds/default.jpg</Background> | ||
+</Desktop> | ||
+ | ||
+</Desktops> | ||
|
||
<!-- Double click speed (in milliseconds) --> | ||
<DoubleClickSpeed>400</DoubleClickSpeed> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- /initrd/pup_ro2/usr/bin/xwin 2011-11-18 09:58:04.000000000 +0200 | ||
+++ /usr/bin/xwin 2012-02-26 09:52:53.263079397 +0200 | ||
@@ -55,6 +55,19 @@ | ||
if [ $1 ];then | ||
echo -n "$1" > /etc/windowmanager | ||
#note, /root/.xinitrc uses this file. | ||
+ case "$1" in | ||
+ jwm) | ||
+ cp -a /root/.gtkrc-2.0 /root/.gtkrc-2.0.bak | ||
+ cat << EOF >> /root/.gtkrc-2.0 | ||
+gtk-theme-name="Raleigh" | ||
+gtk-icon-theme-name="gnome" | ||
+EOF | ||
+ ;; | ||
+ startxfce4) | ||
+ rm -f /root/.gtkrc-2.0 | ||
+ mv /root/.gtkrc-2.0.bak /root/.gtkrc-2.0 | ||
+ ;; | ||
+ esac | ||
fi | ||
|
||
#v1.0.7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters