renamed to reflect version it is for
@@ -0,0 +1,39 @@
|
||||
#!/bin/bash
|
||||
|
||||
COMMAND=$(
|
||||
xlunch_genquick 64 --desktop | \
|
||||
xlunch --border 7% --sideborder 10% --borderratio 100 --sideborderratio 50 \
|
||||
--background /usr/share/wallpapers/slax_wallpaper.jpg --font DejaVuSans/11 \
|
||||
--voidclickterminate --iconpadding 40 --textpadding 10 \
|
||||
--leastmargin 6 --hidemissing --iconsize 64 \
|
||||
--highlight /usr/share/icons/hicolor/128x128/apps/xlunch_highlight.png \
|
||||
--outputonly
|
||||
)
|
||||
|
||||
if [ "$COMMAND" = "" ]; then
|
||||
exit
|
||||
fi
|
||||
|
||||
fbstartupnotify
|
||||
|
||||
# if command is a .desktop file, parse it
|
||||
if [[ "$COMMAND" =~ \.desktop ]]; then
|
||||
NoTerm="$(cat "$COMMAND" | grep Terminal\\s*= | grep -i "Terminal\\s*=\\s*false")"
|
||||
COMMAND="$(cat "$COMMAND" | grep Exec\\s*= | head -n 1 | sed -r s/.*=// | sed -r "s/%[^%]+//g")"
|
||||
fi
|
||||
|
||||
cmd="$(echo $COMMAND | sed -r "s/\\s.*//")"
|
||||
whi="$(which $cmd | head -n 1)"
|
||||
Xdep=$(ldd $whi | grep libX11)
|
||||
Ndep=$(ldd $whi | grep libncurses)
|
||||
|
||||
WAIT='echo "--------------------------------------------------"; read -n 1 -s -r -p "Command finished. Press any key to close window..."'
|
||||
if [ "$Ndep" != "" -o "$cmd" = "man" -o "$cmd" = "mc" ]; then
|
||||
WAIT=""
|
||||
fi
|
||||
|
||||
if [ "$Xdep" = "" -a "$cmd" != "chromium" -a "$cmd" != "wicd-manager" -a "$cmd" != "fbliveapp" -a "$NoTerm" = "" ]; then
|
||||
exec xterm -ls -e bash --login -c -- "echo $USER@$HOSTNAME:$PWD# '$COMMAND'; $COMMAND; $WAIT"
|
||||
else
|
||||
exec $COMMAND
|
||||
fi
|
||||
@@ -0,0 +1,83 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ "$1" = "votecoin" ]; then
|
||||
NAME="VoteCoin Wallet"
|
||||
ABOUT="VoteCoin Wallet is a crypto currency wallet,
|
||||
forked from ZCash, which itslef forked from Bitcoin.
|
||||
It supports fully anonymous transactions and voting.
|
||||
Receive free 10 VOT coins for installing the wallet.
|
||||
In the future, VoteCoin will be used for decision
|
||||
funding in Slax."
|
||||
TMP="/tmp/votecoin.tar.gz"
|
||||
EXECUTABLE="/opt/VoteCoin Wallet-linux-x64/VoteCoin Wallet"
|
||||
INSTALL="wget -O $TMP 'https://votecoin.site/download.php?os=linux' && tar -xf $TMP -C /opt && rm -f $TMP && apt install --yes libxss1 libgconf-2-4 libnss3"
|
||||
POSTINSTALL=""
|
||||
ONLY64=true
|
||||
fi
|
||||
|
||||
if [ "$1" = "vlc" ]; then
|
||||
NAME="VLC Video Player"
|
||||
ABOUT="VLC Video Player is a free and open source multimedia player
|
||||
and framework that plays most multimedia files as well as DVDs,
|
||||
Audio CDs, CVDs, and various streaming protocols."
|
||||
EXECUTABLE="/usr/bin/vlc"
|
||||
INSTALL="apt install --yes vlc"
|
||||
POSTINSTALL="rm /usr/share/applications/vlc.desktop; mkdir /home/guest/.config/vlc; echo '[qt4]
|
||||
qt-privacy-ask=0' > /home/guest/.config/vlc/vlcrc;"
|
||||
GUEST=true
|
||||
fi
|
||||
|
||||
if [ "$1" = "chromium" ]; then
|
||||
NAME="Chromium Web Browser"
|
||||
ABOUT="Chromium is a free and open source version of
|
||||
the famous Chrome browser, developed by Google."
|
||||
EXECUTABLE="/usr/bin/chromium"
|
||||
INSTALL="apt install --yes chromium"
|
||||
POSTINSTALL="rm -f /usr/share/applications/chromium.desktop"
|
||||
GUEST=true
|
||||
fi
|
||||
|
||||
shift
|
||||
|
||||
# ------------------------------------------------
|
||||
# do not touch anything below this line
|
||||
# ------------------------------------------------
|
||||
|
||||
if [ "$ABOUT" != "" ]; then
|
||||
ABOUT="$ABOUT
|
||||
|
||||
"
|
||||
fi
|
||||
|
||||
|
||||
if [ "$EXECUTABLE" = "" ]; then
|
||||
exit
|
||||
fi
|
||||
|
||||
|
||||
if [ ! -f "$EXECUTABLE" ]; then
|
||||
|
||||
if [ $(uname -m) != 'x86_64' -a "$ONLY64" = "true" ]; then
|
||||
gtkdialog -i /usr/share/icons/gnome/16x16/status/dialog-warning.png -t Error -m "$NAME only works in 64bit version of Slax" -y OK
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if gtkdialog -i /usr/share/icons/gnome/16x16/status/dialog-question.png -t Question -m "$ABOUT$NAME is not yet installed.
|
||||
Do you like to download and install it now?" -y Yes -n No; then
|
||||
xterm -ls -e bash --login -c -- "$INSTALL; $POSTINSTALL"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
if [ -f "$EXECUTABLE" ]; then
|
||||
|
||||
fbstartupnotify
|
||||
|
||||
if [ "$GUEST" = "true" -a "$EUID" -eq 0 ]; then
|
||||
xhost + >/dev/null 2>/dev/null
|
||||
exec su -c "$EXECUTABLE "$@"" guest
|
||||
fi
|
||||
|
||||
exec "$EXECUTABLE" "$@"
|
||||
|
||||
fi
|
||||
@@ -0,0 +1,31 @@
|
||||
#!/bin/bash
|
||||
|
||||
COMMAND=$(
|
||||
xlunch --input /etc/xlunch/logout.dsv --noprompt --border auto --sideborder auto --columns 3 --rows 1 \
|
||||
--background /usr/share/wallpapers/slax_wallpaper.jpg --font DejaVuSans/11 \
|
||||
--voidclickterminate --iconpadding 30 --textpadding 10 \
|
||||
--leastmargin 10 --hidemissing --iconsize 128 \
|
||||
--highlight /usr/share/icons/hicolor/128x128/apps/xlunch_highlight.png \
|
||||
--outputonly
|
||||
)
|
||||
|
||||
SND=/usr/share/sounds/shutdown.wav
|
||||
|
||||
if [ "$COMMAND" != "" -a -r $SND ]; then
|
||||
# blank desktop with smooth effect (if compton still running)
|
||||
xlunch --noprompt --input /dev/null --bc 111111ff &
|
||||
# play shutdown sound
|
||||
aplay $SND
|
||||
fi
|
||||
|
||||
if [ "$COMMAND" = "logout" ]; then
|
||||
killall Xorg
|
||||
fi
|
||||
|
||||
if [ "$COMMAND" = "restart" ]; then
|
||||
reboot
|
||||
fi
|
||||
|
||||
if [ "$COMMAND" = "shutdown" ]; then
|
||||
poweroff
|
||||
fi
|
||||
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
PICTURES=~/Pictures
|
||||
mkdir -p $PICTURES
|
||||
cd $PICTURES
|
||||
|
||||
# make screenshot
|
||||
SCREENSHOT=$(scrot -e 'echo $f')
|
||||
|
||||
if [ "$SCREENSHOT" = "" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# open screenshot in 2/3 window
|
||||
read W H X <<< $(xrandr 2>/dev/null | fgrep '*' | tr -s " " | tr "x" " ")
|
||||
W=$(($W*2/3))
|
||||
H=$(($H*2/3))
|
||||
exec feh --geometry $W"x"$H $SCREENSHOT
|
||||
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
SIGNAL=~/.fehbg
|
||||
rm -f $SIGNAL
|
||||
|
||||
OUTPUT=$(xrandr 2>/dev/null | grep -iv disconnected | grep -i 'connected' | head -n 1 | cut -d " " -f 1)
|
||||
MODE=$1
|
||||
|
||||
xrandr --output $OUTPUT --mode $MODE -s $MODE
|
||||
|
||||
while [ -e $SIGNAL ]; do
|
||||
sleep 0.1
|
||||
done
|
||||
|
||||
sleep 1
|
||||
|
||||
killall -SIGUSR1 compton
|
||||
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
setxkbmap $1
|
||||
echo $1 > ~/.fluxbox/kblayout
|
||||
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
CURSORSDIR=/usr/share/icons/breeze_cursors/cursors/
|
||||
SIZE=16
|
||||
|
||||
# Set cursor to wait. As soon as new window is detected, change cursor back
|
||||
xsetroot -xcf $CURSORSDIR/left_ptr_watch $SIZE
|
||||
export WINDOWS="$(wmctrl -l)"
|
||||
|
||||
(
|
||||
sleep 0.2
|
||||
until diff <(echo "$WINDOWS") <(wmctrl -l) | egrep -q "^[>]"; do
|
||||
sleep 0.5
|
||||
done
|
||||
xsetroot -xcf $CURSORSDIR/left_ptr $SIZE
|
||||
) &
|
||||
|
||||
exit 0
|
||||
@@ -0,0 +1,5 @@
|
||||
[Desktop Entry]
|
||||
Icon=terminal
|
||||
Name=Terminal
|
||||
Exec=xterm -ls
|
||||
Terminal=false
|
||||
@@ -0,0 +1,13 @@
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Name=Web Browser
|
||||
GenericName=Web Browser
|
||||
Exec=fbliveapp chromium %U
|
||||
Terminal=false
|
||||
X-MultipleArgs=false
|
||||
Type=Application
|
||||
Icon=chromium.png
|
||||
Categories=Network;WebBrowser;
|
||||
MimeType=audio/*;image/*;video/*;application/pdf;application/x-pdf;text/html;text/xml;application/xhtml_xml;application/x-mimearchive;x-scheme-handler/http;x-scheme-handler/https;
|
||||
StartupWMClass=chromium
|
||||
StartupNotify=true
|
||||
@@ -0,0 +1,14 @@
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Name=Image viewer
|
||||
GenericName=Image viewer
|
||||
Exec=feh %U
|
||||
Terminal=false
|
||||
X-MultipleArgs=false
|
||||
Type=Application
|
||||
Icon=none.png
|
||||
Categories=ImageViewer;
|
||||
MimeType=image/*;
|
||||
StartupWMClass=feh
|
||||
StartupNotify=true
|
||||
Hidden=true
|
||||
@@ -0,0 +1,132 @@
|
||||
[Default Applications]
|
||||
application/pdf=chromium.desktop;
|
||||
application/x-pdf=chromium.desktop;
|
||||
audio/3gpp=chromium.desktop;
|
||||
audio/ac3=chromium.desktop;
|
||||
audio/flac=chromium.desktop;
|
||||
audio/mp4=chromium.desktop;
|
||||
audio/mpeg=chromium.desktop;
|
||||
audio/mpegurl=chromium.desktop;
|
||||
audio/ogg=chromium.desktop;
|
||||
audio/x-flac=chromium.desktop;
|
||||
audio/x-gsm=chromium.desktop;
|
||||
audio/x-it=chromium.desktop;
|
||||
audio/x-m4a=chromium.desktop;
|
||||
audio/x-matroska=chromium.desktop;
|
||||
audio/x-mod=chromium.desktop;
|
||||
audio/x-mp3=chromium.desktop;
|
||||
audio/x-mpeg=chromium.desktop;
|
||||
audio/x-mpegurl=chromium.desktop;
|
||||
audio/x-pn-wav=chromium.desktop;;
|
||||
audio/x-tta=chromium.desktop;
|
||||
audio/x-vorbis=chromium.desktop;
|
||||
audio/x-vorbis+ogg=chromium.desktop;
|
||||
audio/x-wav=chromium.desktop;
|
||||
audio/x-wavpack=chromium.desktop;
|
||||
audio/x-xm=chromium.desktop;
|
||||
application/ogg=chromium.desktop;
|
||||
application/x-extension-m4a=chromium.desktop;
|
||||
application/x-extension-mp4=chromium.desktop;
|
||||
application/x-flac=chromium.desktop;
|
||||
application/x-flash-video=chromium.desktop;
|
||||
application/x-ogg=chromium.desktop;
|
||||
image/bmp=feh.desktop;
|
||||
image/gif=feh.desktop;
|
||||
image/jpeg=feh.desktop;
|
||||
image/jpg=feh.desktop;
|
||||
image/pjpeg=feh.desktop;
|
||||
image/png=feh.desktop;
|
||||
image/svg+xml=chromium.desktop;
|
||||
image/svg+xml-compressed=chromium.desktop;
|
||||
image/x-bmp=feh.desktop;
|
||||
image/x-gray=chromium.desktop;
|
||||
image/x-icb=chromium.desktop;
|
||||
image/x-ico=chromium.desktop;
|
||||
image/x-pcx=chromium.desktop;
|
||||
image/x-png=feh.desktop;
|
||||
image/x-portable-anymap=chromium.desktop;
|
||||
image/x-portable-bitmap=chromium.desktop;
|
||||
image/x-portable-graymap=chromium.desktop;
|
||||
image/x-portable-pixmap=chromium.desktop;
|
||||
image/x-xbitmap=chromium.desktop;
|
||||
image/x-xpixmap=chromium.desktop;
|
||||
image/vnd.wap.wbmp=chromium.desktop;
|
||||
image/x-fits=gimp.desktop
|
||||
image/x-icon=gimp.desktop
|
||||
image/x-sun-raster=gimp.desktop
|
||||
image/x-tga=gimp.desktop
|
||||
image/x-xcf=gimp.desktop
|
||||
image/x-xwindowdump=gimp.desktop
|
||||
video/3gpp=chromium.desktop;
|
||||
video/dv=chromium.desktop;
|
||||
video/fli=chromium.desktop;
|
||||
video/flv=chromium.desktop;
|
||||
video/mp2t=chromium.desktop;
|
||||
video/mp4=chromium.desktop;
|
||||
video/mp4v-es=chromium.desktop;
|
||||
video/mpeg=chromium.desktop;
|
||||
video/msvideo=chromium.desktop;
|
||||
video/ogg=chromium.desktop;
|
||||
video/quicktime=chromium.desktop;
|
||||
video/vivo=chromium.desktop;
|
||||
video/vnd.divx=chromium.desktop;
|
||||
video/vnd.rn-realvideo=chromium.desktop;
|
||||
video/vnd.vivo=chromium.desktop;
|
||||
video/webm=chromium.desktop;
|
||||
video/x-anim=chromium.desktop;
|
||||
video/x-avi=chromium.desktop;
|
||||
video/x-flc=chromium.desktop;
|
||||
video/x-fli=chromium.desktop;
|
||||
video/x-flic=chromium.desktop;
|
||||
video/x-flv=chromium.desktop;
|
||||
video/x-m4v=chromium.desktop;
|
||||
video/x-matroska=chromium.desktop;
|
||||
video/x-mpeg=chromium.desktop;
|
||||
video/x-ogm+ogg=chromium.desktop;
|
||||
video/x-theora+ogg=chromium.desktop;
|
||||
application/x-flash-video=chromium.desktop;
|
||||
text/plain=leafpad.desktop;
|
||||
text/css=leafpad.desktop;
|
||||
text/javascript=leafpad.desktop;
|
||||
text/mathml=leafpad.desktop;
|
||||
text/x-c++hdr=leafpad.desktop;
|
||||
text/x-c++src=leafpad.desktop;
|
||||
text/x-csrc=leafpad.desktop;
|
||||
text/x-chdr=leafpad.desktop;
|
||||
text/x-dtd=leafpad.desktop;
|
||||
text/x-java=leafpad.desktop;
|
||||
text/x-javascript=leafpad.desktop;
|
||||
text/x-makefile=leafpad.desktop;
|
||||
text/x-moc=leafpad.desktop;
|
||||
text/x-pascal=leafpad.desktop;
|
||||
text/x-patch=leafpad.desktop;
|
||||
text/x-perl=leafpad.desktop;
|
||||
text/x-php=leafpad.desktop;
|
||||
text/x-python=leafpad.desktop;
|
||||
text/x-sql=leafpad.desktop;
|
||||
text/x-tcl=leafpad.desktop;
|
||||
text/x-tex=leafpad.desktop;
|
||||
text/xml=leafpad.desktop;
|
||||
application/javascript=leafpad.desktop;
|
||||
application/x-cgi=leafpad.desktop;
|
||||
application/x-javascript=leafpad.desktop;
|
||||
application/x-perl=leafpad.desktop;
|
||||
application/x-php=leafpad.desktop;
|
||||
application/x-python=leafpad.desktop;
|
||||
application/x-shellscript=leafpad.desktop;
|
||||
application/xml=leafpad.desktop;
|
||||
application/xml-dtd=leafpad.desktop;
|
||||
application/x-bzip=xarchiver.desktop;
|
||||
application/x-bzip-compressed-tar=xarchiver.desktop;
|
||||
application/x-gzip=xarchiver.desktop;
|
||||
application/x-tar=xarchiver.desktop;
|
||||
application/x-zip=xarchiver.desktop;
|
||||
application/x-zip-compressed=xarchiver.desktop;
|
||||
application/zip=xarchiver.desktop;
|
||||
application/x-compressed-tar=xarchiver.desktop;
|
||||
application/x-bzip2=xarchiver.desktop;
|
||||
application/x-bzip2-compressed-tar=xarchiver.desktop;
|
||||
application/x-lzma-compressed-tar=xarchiver.desktop;
|
||||
application/x-lzma=xarchiver.desktop;
|
||||
application/x-xz=xarchiver.desktop;
|
||||
application/x-xz-compressed-tar=xarchiver.desktop;
|
||||
@@ -0,0 +1,5 @@
|
||||
[Desktop Entry]
|
||||
Icon=videoplayer
|
||||
Name=Video Player
|
||||
Exec=fbliveapp vlc
|
||||
Terminal=false
|
||||
@@ -0,0 +1,6 @@
|
||||
[Desktop Entry]
|
||||
Icon=votecoin
|
||||
Name=VoteCoin Wallet
|
||||
Exec=fbliveapp votecoin
|
||||
Terminal=false
|
||||
Hidden=true
|
||||
|
After Width: | Height: | Size: 197 B |
|
After Width: | Height: | Size: 197 B |
|
After Width: | Height: | Size: 196 B |
|
After Width: | Height: | Size: 171 B |
|
After Width: | Height: | Size: 175 B |
|
After Width: | Height: | Size: 171 B |
|
After Width: | Height: | Size: 152 B |
|
After Width: | Height: | Size: 152 B |
|
After Width: | Height: | Size: 152 B |
|
After Width: | Height: | Size: 8.1 KiB |
@@ -0,0 +1,114 @@
|
||||
! Slax fluxbox theme
|
||||
! (c) Tomas Matejicek <www.slax.org>
|
||||
|
||||
! common settings
|
||||
*font: Bitstream Vera Sans-9
|
||||
|
||||
background: fullscreen
|
||||
background.pixmap: /usr/share/wallpapers/slax_wallpaper.jpg
|
||||
|
||||
toolbar.justify: left
|
||||
toolbar.clock.justify: right
|
||||
window.justify: center
|
||||
menu.title.justify: center
|
||||
menu.frame.justify: left
|
||||
|
||||
! window
|
||||
window.focus.backgroundColor: #63b4fb
|
||||
window.unfocus.backgroundColor: #ebebeb
|
||||
window.focus.borderColor: #63b4fb
|
||||
window.unfocus.borderColor: #ebebeb
|
||||
window.borderWidth: 6
|
||||
window.handleWidth: 0
|
||||
|
||||
! title
|
||||
window.title.height: 18
|
||||
window.title.focus: flat solid
|
||||
window.title.focus.color: #63b4fb
|
||||
window.label.focus: parentrelative
|
||||
window.label.focus.textColor: #282828
|
||||
window.title.unfocus: flat solid
|
||||
window.title.unfocus.color: #ebebeb
|
||||
window.label.unfocus: parentrelative
|
||||
window.label.unfocus.textColor: #282828
|
||||
|
||||
! buttons
|
||||
window.button.focus: flat solid
|
||||
window.button.focus.color: #63b4fb
|
||||
window.button.focus.picColor: #282828
|
||||
window.button.pressed: sunken solid
|
||||
window.button.pressed.color: #63b4fb
|
||||
window.button.pressed.picColor: #000000
|
||||
window.button.unfocus: flat solid
|
||||
window.button.unfocus.color: #ebebeb
|
||||
window.button.unfocus.picColor: #282828
|
||||
|
||||
window.close.pixmap: closefcs.png
|
||||
window.close.unfocus.pixmap: closeunfcs.png
|
||||
window.close.pressed.pixmap: closepr.png
|
||||
window.iconify.pixmap: minfcs.png
|
||||
window.iconify.unfocus.pixmap: minunfcs.png
|
||||
window.iconify.pressed.pixmap: minpr.png
|
||||
window.maximize.pixmap: maxfcs.png
|
||||
window.maximize.unfocus.pixmap: maxunfcs.png
|
||||
window.maximize.pressed.pixmap: maxpr.png
|
||||
|
||||
! taskbar
|
||||
toolbar.height: 18
|
||||
toolbar.bevelWidth: 0
|
||||
toolbar.borderWidth: 3
|
||||
toolbar.borderColor: #222222
|
||||
toolbar: flat solid
|
||||
|
||||
toolbar.color: #222222
|
||||
toolbar.clock: flat solid
|
||||
toolbar.clock.color: #222222
|
||||
toolbar.clock.textColor: white
|
||||
|
||||
toolbar.iconbar.empty: flat
|
||||
toolbar.iconbar.empty.color: #222222
|
||||
|
||||
toolbar.iconbar.focused.borderWidth: 15
|
||||
toolbar.iconbar.focused.borderColor: #222222
|
||||
toolbar.iconbar.focused: flat
|
||||
toolbar.iconbar.focused.color: #dddddd
|
||||
toolbar.iconbar.focused.textColor: #282828
|
||||
toolbar.iconbar.focused.justify: left
|
||||
|
||||
toolbar.iconbar.unfocused.borderWidth: 15
|
||||
toolbar.iconbar.unfocused.borderColor: #222222
|
||||
toolbar.iconbar.unfocused: flat
|
||||
toolbar.iconbar.unfocused.color: #444444
|
||||
toolbar.iconbar.unfocused.textColor: white
|
||||
toolbar.iconbar.unfocused.justify: left
|
||||
|
||||
toolbar.button: flat solid
|
||||
toolbar.button.borderWidth: 13
|
||||
toolbar.button.borderColor: #222222
|
||||
toolbar.button.color: #222222
|
||||
toolbar.button.picColor: #61CA00
|
||||
toolbar.button.pressed: flat solid
|
||||
|
||||
! menu
|
||||
menu.title: flat solid
|
||||
menu.title.color: #63b4fb
|
||||
menu.title.textColor: #282828
|
||||
menu.title.justify: center
|
||||
|
||||
menu.bevelWidth: 4
|
||||
menu.borderWidth: 6
|
||||
menu.borderColor: #63b4fb
|
||||
|
||||
menu.frame: flat solid
|
||||
menu.frame.disableColor: #999999
|
||||
menu.frame.color: #ebebeb
|
||||
menu.frame.textColor: #282828
|
||||
menu.frame.justify: left
|
||||
|
||||
menu.hilite: flat solid
|
||||
menu.hilite.textColor: #ffffff
|
||||
menu.hilite.color: #63b4fb
|
||||
|
||||
menu.bullet: empty
|
||||
menu.bullet.position: right
|
||||
menu.itemHeight: 24
|
||||
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 3.5 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 5.8 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 4.6 KiB |
|
After Width: | Height: | Size: 543 B |
|
After Width: | Height: | Size: 141 B |
@@ -0,0 +1,6 @@
|
||||
#define command2_width 16
|
||||
#define command2_height 16
|
||||
static unsigned char command2_bits[] = {
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf7, 0xff, 0xe7, 0xff, 0xcf, 0xff,
|
||||
0x9f, 0xff, 0x3f, 0xff, 0x3f, 0xff, 0x9f, 0xff, 0xcf, 0xff, 0xe7, 0xc1,
|
||||
0xf7, 0xc1, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff };
|
||||
|
After Width: | Height: | Size: 536 B |
|
After Width: | Height: | Size: 546 B |
|
After Width: | Height: | Size: 410 B |
|
After Width: | Height: | Size: 547 B |
|
After Width: | Height: | Size: 334 B |
|
After Width: | Height: | Size: 592 B |
|
After Width: | Height: | Size: 394 B |
|
After Width: | Height: | Size: 645 B |
|
After Width: | Height: | Size: 511 B |
|
After Width: | Height: | Size: 363 B |
|
After Width: | Height: | Size: 536 B |
@@ -0,0 +1,438 @@
|
||||
gtk_color_scheme = "fg_color:#000000\nbg_color:#eeeeee\nbase_color:#FFFFFF\ntext_color:#000000\nselected_bg_color:#63b4fb\nselected_fg_color:#FFFFFF\ntooltip_bg_color:#F5F5C9\ntooltip_fg_color:#000000"
|
||||
|
||||
# menu delay
|
||||
#gtk-menu-popup-delay = 0
|
||||
|
||||
# icon sizes
|
||||
#gtk-icon-sizes = "gtk-menu=16,16:\ngtk-button=16,16:\ngtk-dnd=16,16:\npanel-menu=16,16:\npanel=16,16:\ngtk-dialog=16,16:"
|
||||
|
||||
# icon sizes (small toolbar)
|
||||
# gtk-icon-sizes = "gtk-menu=16,16:\ngtk-button=16,16:\ngtk-dnd=16,16:\npanel-menu=16,16:\npanel=16,16:\ngtk-dialog=16,16:\ngtk-small-toolbar=16,16:\ngtk-large-toolbar=16,16:"
|
||||
|
||||
style "murrine-default"
|
||||
{
|
||||
########
|
||||
# Style Properties
|
||||
########
|
||||
GtkButton ::child-displacement-x = 1
|
||||
GtkButton ::child-displacement-y = 1
|
||||
GtkButton ::default-border = { 0, 0, 0, 0 }
|
||||
GtkButton ::inner-border = { 5, 5, 5, 5 }
|
||||
GtkCheckButton ::indicator-size = 14
|
||||
|
||||
GtkPaned ::handle-size = 6
|
||||
|
||||
GtkRange ::trough-border = 0
|
||||
GtkRange ::slider-width = 15
|
||||
GtkRange ::stepper-size = 15
|
||||
|
||||
GtkScale ::slider-length = 15
|
||||
GtkScale ::trough-side-details = 0
|
||||
GtkScrollbar ::min-slider-length = 30
|
||||
|
||||
GtkMenuBar ::internal-padding = 1
|
||||
GtkExpander ::expander-size = 16
|
||||
GtkToolbar ::internal-padding = 0
|
||||
GtkTreeView ::expander-size = 14
|
||||
GtkTreeView ::vertical-separator = 0
|
||||
|
||||
GtkMenu ::horizontal-padding = 1
|
||||
GtkMenu ::vertical-padding = 1
|
||||
|
||||
GtkMenuBar ::shadow_type = GTK_SHADOW_NONE
|
||||
GtkToolbar ::shadow_type = GTK_SHADOW_NONE
|
||||
|
||||
# Glow the tasklist by changing the color, instead of overlaying it with a rectangle
|
||||
#WnckTasklist ::fade-overlay-rect = 0
|
||||
|
||||
xthickness = 1
|
||||
ythickness = 1
|
||||
|
||||
|
||||
fg[NORMAL] = @fg_color
|
||||
fg[PRELIGHT] = @fg_color
|
||||
fg[SELECTED] = @selected_fg_color
|
||||
fg[ACTIVE] = @fg_color
|
||||
fg[INSENSITIVE] = darker (@bg_color)
|
||||
|
||||
bg[NORMAL] = @bg_color
|
||||
bg[PRELIGHT] = shade (1.02, @bg_color)
|
||||
bg[SELECTED] = @selected_bg_color
|
||||
bg[INSENSITIVE] = @bg_color
|
||||
bg[ACTIVE] = shade (0.9, @bg_color)
|
||||
|
||||
base[NORMAL] = @base_color
|
||||
base[PRELIGHT] = shade (0.95, @bg_color)
|
||||
base[ACTIVE] = shade (0.88, @selected_bg_color)
|
||||
base[SELECTED] = shade (0.89, @selected_bg_color)
|
||||
base[INSENSITIVE] = @bg_color
|
||||
|
||||
text[NORMAL] = @text_color
|
||||
text[PRELIGHT] = @text_color
|
||||
text[ACTIVE] = @selected_fg_color
|
||||
text[SELECTED] = @selected_fg_color
|
||||
text[INSENSITIVE] = darker (@bg_color)
|
||||
|
||||
engine "murrine"
|
||||
{
|
||||
animation = TRUE
|
||||
colorize_scrollbar = FALSE
|
||||
contrast = 0.65 # 0.8 for less contrast, more than 1.0 for more contrast on borders
|
||||
glazestyle = 0 # 0 = flat highlight, 1 = curved highlight, 2 = concave style, 3 = top curved highlight, 4 = beryl highlight
|
||||
gradient_shades = {1.03,1.0,1.0,0.985}
|
||||
#gradient_shades = {1.09,1.06,1.04,1.01} # default: {1.1,1.0,1.0,1.1}
|
||||
highlight_shade = 1.0 # set highlight amount for buttons or widgets
|
||||
lightborder_shade = 1.06 # sets lightborder amount for buttons or widgets
|
||||
#lightborderstyle = 0 # 0 = lightborder on top side, 1 = lightborder on all sides
|
||||
listviewheaderstyle = 1 # 0 = flat, 1 = glassy, 2 = raised
|
||||
listviewstyle = 1 # 0 = nothing, 1 = dotted
|
||||
menubaritemstyle = 0 # 0 = menuitem look, 1 = button look
|
||||
menubarstyle = 0 # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped
|
||||
menuitemstyle = 1 # 0 = flat, 1 = glassy, 2 = striped
|
||||
menustyle = 0 # 0 = no vertical menu stripe, 1 = display vertical menu stripe
|
||||
reliefstyle = 0 # 0 = flat, 1 = inset, 2 = shadow
|
||||
rgba = TRUE # FALSE = disabled, TRUE = enabled
|
||||
roundness = 0 # 0 = squared, 1 = old default, more will increase roundness
|
||||
scrollbarstyle = 0 # 0 = nothing, 1 = circles, 2 = handles, 3 = diagonal stripes, 4 = diagonal stripes and handles, 5 = horizontal stripes, 6 = horizontal stripes and handles
|
||||
sliderstyle = 0 # 0 = nothing added, 1 = handles
|
||||
stepperstyle = 0 # 0 = standard, 1 = integrated stepper handles, 2 = unknown
|
||||
toolbarstyle = 0 # 0 = flat, 1 = glassy, 2 = gradient
|
||||
}
|
||||
}
|
||||
|
||||
style "murrine-wide"
|
||||
{
|
||||
xthickness = 2
|
||||
ythickness = 2
|
||||
|
||||
bg[SELECTED] = @selected_bg_color
|
||||
}
|
||||
|
||||
style "murrine-wider"
|
||||
{
|
||||
xthickness = 3
|
||||
ythickness = 3
|
||||
|
||||
bg[SELECTED] = @selected_bg_color
|
||||
}
|
||||
|
||||
style "murrine-button" = "murrine-wider"
|
||||
{
|
||||
bg[NORMAL] = shade (1.04, @bg_color)
|
||||
bg[PRELIGHT] = shade (1.06, @bg_color)
|
||||
bg[ACTIVE] = shade (1.02, @bg_color)
|
||||
bg[INSENSITIVE] = shade (1.0, @bg_color)
|
||||
|
||||
engine "murrine" {
|
||||
contrast = 0.45
|
||||
}
|
||||
}
|
||||
|
||||
style "murrine-entry" = "murrine-wider"
|
||||
{
|
||||
engine "murrine" {
|
||||
contrast = 0.35
|
||||
}
|
||||
}
|
||||
style "murrine-notebook"
|
||||
{
|
||||
xthickness = 2
|
||||
ythickness = 2
|
||||
|
||||
bg[ACTIVE] = shade (0.99, @bg_color)
|
||||
bg[NORMAL] = shade (1.03, @bg_color)
|
||||
bg[SELECTED] = @selected_bg_color
|
||||
fg[ACTIVE] = shade (0.34, @bg_color)
|
||||
}
|
||||
|
||||
style "murrine-tasklist" = "murrine-wide"
|
||||
{
|
||||
}
|
||||
|
||||
style "murrine-menu" = "murrine-wider"
|
||||
{
|
||||
xthickness = 3
|
||||
ythickness = 3
|
||||
|
||||
bg[NORMAL] = shade (1.18, @bg_color)
|
||||
}
|
||||
|
||||
style "murrine-menu-item" = "murrine-wider"
|
||||
{
|
||||
xthickness = 2
|
||||
ythickness = 3
|
||||
|
||||
fg[PRELIGHT] = @selected_fg_color
|
||||
bg[SELECTED] = shade (0.95, @selected_bg_color)
|
||||
bg[SELECTED] = shade (0.95, @selected_bg_color)
|
||||
|
||||
engine "murrine"
|
||||
{
|
||||
roundness = 0
|
||||
}
|
||||
}
|
||||
|
||||
style "murrine-separator-menu-item"
|
||||
{
|
||||
}
|
||||
|
||||
style "murrine-treeview"
|
||||
{
|
||||
bg[SELECTED] = @selected_bg_color
|
||||
}
|
||||
|
||||
style "murrine-treeview-header" = "murrine-default"
|
||||
{
|
||||
bg[NORMAL] = shade (1.06,@bg_color)
|
||||
bg[PRELIGHT] = shade (1.06,@bg_color)
|
||||
}
|
||||
|
||||
style "murrine-frame-title"
|
||||
{
|
||||
fg[NORMAL] = lighter (@fg_color)
|
||||
}
|
||||
|
||||
style "murrine-tooltips" = "murrine-wider"
|
||||
{
|
||||
bg[NORMAL] = @tooltip_bg_color
|
||||
fg[NORMAL] = @tooltip_fg_color
|
||||
}
|
||||
|
||||
style "murrine-progressbar"
|
||||
{
|
||||
xthickness = 0
|
||||
ythickness = 0
|
||||
|
||||
fg[PRELIGHT] = @selected_fg_color
|
||||
bg[NORMAL] = shade (0.98, @bg_color)
|
||||
bg[SELECTED] = @selected_bg_color
|
||||
}
|
||||
|
||||
style "murrine-statusbar"
|
||||
{
|
||||
}
|
||||
|
||||
style "murrine-comboboxentry"
|
||||
{
|
||||
}
|
||||
|
||||
style "murrine-spinbutton"
|
||||
{
|
||||
}
|
||||
|
||||
style "murrine-scale" = "murrine-button"
|
||||
{
|
||||
GtkRange ::slider-width = 15
|
||||
|
||||
engine "murrine"
|
||||
{
|
||||
roundness = 6
|
||||
}
|
||||
}
|
||||
|
||||
style "murrine-hscale"
|
||||
{
|
||||
}
|
||||
|
||||
style "murrine-vscale"
|
||||
{
|
||||
}
|
||||
|
||||
style "murrine-scrollbar"
|
||||
{
|
||||
bg[NORMAL] = shade (1.04, @bg_color)
|
||||
bg[PRELIGHT] = shade (1.06, @bg_color)
|
||||
bg[ACTIVE] = shade (1.02, @bg_color)
|
||||
bg[INSENSITIVE] = shade (1.0, @bg_color)
|
||||
}
|
||||
|
||||
style "murrine-hscrollbar"
|
||||
{
|
||||
}
|
||||
|
||||
style "murrine-vscrollbar"
|
||||
{
|
||||
}
|
||||
|
||||
style "murrine-menubar"
|
||||
{
|
||||
}
|
||||
|
||||
style "murrine-nautilus-location"
|
||||
{
|
||||
# bg[NORMAL] = shade (1.0,@selected_bg_color)
|
||||
# bg[SELECTED] = shade (1.0,@selected_bg_color)
|
||||
# bg[ACTIVE] = shade (1.0,@selected_bg_color)
|
||||
}
|
||||
|
||||
style "murrine-radiocheck" = "murrine-default"
|
||||
{
|
||||
text[NORMAL] = "#FFFFFF"
|
||||
text[PRELIGHT] = "#FFFFFF"
|
||||
}
|
||||
|
||||
style "panel"
|
||||
{
|
||||
fg[NORMAL] = "#FFFFFF"
|
||||
fg[PRELIGHT] = "#FFFFFF"
|
||||
fg[ACTIVE] = "#FFFFFF"
|
||||
bg[NORMAL] = shade (0.4, @bg_color)
|
||||
bg[ACTIVE] = shade (0.5, @bg_color)
|
||||
bg[PRELIGHT] = shade (0.56, @bg_color)
|
||||
|
||||
engine "murrine" {
|
||||
contrast = 0.8
|
||||
}
|
||||
}
|
||||
|
||||
style "smaller-text"
|
||||
{
|
||||
font_name = "7"
|
||||
}
|
||||
|
||||
style "handle"
|
||||
{
|
||||
bg[NORMAL] = "#232323"
|
||||
}
|
||||
|
||||
#########################################
|
||||
# Matches
|
||||
#########################################
|
||||
|
||||
# theme radio buttons and checkmarks
|
||||
class "GtkRadio*" style "murrine-radiocheck"
|
||||
class "GtkCheck*" style "murrine-radiocheck"
|
||||
|
||||
# theme default style is applied to every widget
|
||||
class "GtkWidget" style "murrine-default"
|
||||
|
||||
# Increase the x/ythickness in some widgets
|
||||
class "GtkToolbar" style "murrine-default"
|
||||
class "GtkRange" style "murrine-wide"
|
||||
class "GtkFrame" style "murrine-wide"
|
||||
class "GtkSeparator" style "murrine-wide"
|
||||
class "GtkEntry" style "murrine-entry"
|
||||
|
||||
class "GtkSpinButton" style "murrine-spinbutton"
|
||||
class "GtkScale" style "murrine-scale"
|
||||
class "GtkVScale" style "murrine-vscale"
|
||||
class "GtkHScale" style "murrine-hscale"
|
||||
class "GtkScrollbar" style "murrine-scrollbar"
|
||||
class "GtkVScrollbar" style "murrine-vscrollbar"
|
||||
class "GtkHScrollbar" style "murrine-hscrollbar"
|
||||
|
||||
# General matching following, the order is choosen so that the right styles override each other
|
||||
# eg. progressbar needs to be more important then the menu match.
|
||||
|
||||
# This is not perfect, it could be done better
|
||||
# (That is modify *every* widget in the notebook, and change those back that
|
||||
# we really don't want changed)
|
||||
widget_class "*<GtkNotebook>*<GtkEventBox>" style "murrine-notebook"
|
||||
widget_class "*<GtkNotebook>*<GtkDrawingArea>" style "murrine-notebook"
|
||||
widget_class "*<GtkNotebook>*<GtkLayout>" style "murrine-notebook"
|
||||
widget_class "*<GtkNotebook>*<GtkLabel>" style "murrine-notebook"
|
||||
|
||||
widget_class "*<GtkButton>" style "murrine-button"
|
||||
widget_class "*<GtkNotebook>" style "murrine-notebook"
|
||||
widget_class "*<GtkStatusbar>*" style "murrine-statusbar"
|
||||
|
||||
widget_class "*<GtkComboBoxEntry>*" style "murrine-comboboxentry"
|
||||
widget_class "*<GtkCombo>*" style "murrine-comboboxentry"
|
||||
|
||||
widget_class "*<GtkMenuBar>*" style "murrine-menubar"
|
||||
widget_class "*<GtkMenu>*" style "murrine-menu"
|
||||
widget_class "*<GtkMenuItem>*" style "murrine-menu-item"
|
||||
widget_class "*<GtkSeparatorMenuItem>*" style "murrine-separator-menu-item"
|
||||
|
||||
widget_class "*.<GtkFrame>.<GtkLabel>" style "murrine-frame-title"
|
||||
widget_class "*.<GtkTreeView>*" style "murrine-treeview"
|
||||
|
||||
widget_class "*<GtkProgressBar>" style "murrine-progressbar"
|
||||
|
||||
# Treeview header
|
||||
widget_class "*.<GtkTreeView>.<GtkButton>" style "murrine-treeview-header"
|
||||
widget_class "*.<GtkCTree>.<GtkButton>" style "murrine-treeview-header"
|
||||
widget_class "*.<GtkList>.<GtkButton>" style "murrine-treeview-header"
|
||||
widget_class "*.<GtkCList>.<GtkButton>" style "murrine-treeview-header"
|
||||
|
||||
# Workarounds for Evolution
|
||||
widget_class "*.ETable.ECanvas" style "murrine-treeview-header"
|
||||
widget_class "*.ETree.ECanvas" style "murrine-treeview-header"
|
||||
|
||||
# Panel style
|
||||
class "*Panel*" style "panel"
|
||||
class "*notif*" style "panel"
|
||||
class "*Notif*" style "panel"
|
||||
class "*Tray*" style "panel"
|
||||
class "*tray*" style "panel"
|
||||
|
||||
widget_class "*ToolButton*" style "smaller-text"
|
||||
widget_class "*Statusbar*" style "smaller-text"
|
||||
widget_class "*Mail*" style "panel"
|
||||
widget "*PanelWidget*" style "panel"
|
||||
widget "*PanelApplet*" style "panel"
|
||||
|
||||
class "PanelAppletFrame" style "handle"
|
||||
|
||||
# The window of the tooltip is called "gtk-tooltip"
|
||||
################################
|
||||
# FIXME:
|
||||
# This will not work if one embeds eg. a button into the tooltip.
|
||||
# As far as I can tell right now we will need to rework the theme
|
||||
# quite a bit to get this working correctly.
|
||||
# (It will involve setting different priorities, etc.)
|
||||
################################
|
||||
widget "gtk-tooltip*" style "murrine-tooltips"
|
||||
|
||||
###################################################
|
||||
# Special cases and work arounds
|
||||
###################################################
|
||||
|
||||
# Special case the nautilus-extra-view-widget
|
||||
# ToDo: A more generic approach for all applications that have a widget like this.
|
||||
widget "*.nautilus-extra-view-widget" style : highest "murrine-nautilus-location"
|
||||
|
||||
# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
|
||||
# Note that the work around assumes that the combobox is _not_ in
|
||||
# appears-as-list mode.
|
||||
# Similar hack also in the menuitem style.
|
||||
# This style does not affect GtkComboBoxEntry, it does have an effect
|
||||
# on comboboxes in appears-as-list mode though.
|
||||
style "murrine-combobox-text-color-workaround"
|
||||
{
|
||||
text[NORMAL] = @fg_color
|
||||
text[PRELIGHT] = @fg_color
|
||||
text[SELECTED] = @selected_fg_color
|
||||
text[ACTIVE] = @fg_color
|
||||
text[INSENSITIVE] = darker (@bg_color)
|
||||
}
|
||||
widget_class "*.<GtkComboBox>.<GtkCellView>" style "murrine-combobox-text-color-workaround"
|
||||
|
||||
style "murrine-menuitem-text-is-fg-color-workaround"
|
||||
{
|
||||
text[NORMAL] = @fg_color
|
||||
text[PRELIGHT] = @selected_fg_color
|
||||
text[SELECTED] = @selected_fg_color
|
||||
text[ACTIVE] = @fg_color
|
||||
text[INSENSITIVE] = darker (@bg_color)
|
||||
}
|
||||
|
||||
widget "*.gtk-combobox-popup-menu.*" style "murrine-menuitem-text-is-fg-color-workaround"
|
||||
|
||||
# Work around the usage of GtkLabel inside GtkListItems to display text.
|
||||
# This breaks because the label is shown on a background that is based on the
|
||||
# base color set.
|
||||
style "murrine-fg-is-text-color-workaround"
|
||||
{
|
||||
fg[NORMAL] = @text_color
|
||||
fg[PRELIGHT] = @text_color
|
||||
fg[ACTIVE] = @selected_fg_color
|
||||
fg[SELECTED] = @selected_fg_color
|
||||
fg[INSENSITIVE] = darker (@bg_color)
|
||||
}
|
||||
|
||||
widget_class "*<GtkListItem>*" style "murrine-fg-is-text-color-workaround"
|
||||
# The same problem also exists for GtkCList and GtkCTree
|
||||
# Only match GtkCList and not the parent widgets, because that would also change the headers.
|
||||
|
||||
widget_class "*<GtkCList>" style "murrine-fg-is-text-color-workaround"
|
||||
|
After Width: | Height: | Size: 369 KiB |