SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2012-07-05 12:23:52

z_skie
#! Member
From: Slovenia
Registered: 2012-05-17
Posts: 90

#! Slim theme

Last edited by z_skie (2012-07-30 08:36:12)


Live and let love in.

Offline

Help fund CrunchBang, donate to the project!

#2 2012-07-05 12:25:46

Tunafish
#! Die Hard
From: the Netherlands
Registered: 2010-03-07
Posts: 1,204

Re: #! Slim theme

I don't use slim, but I like your theme!

Offline

#3 2012-07-05 12:49:10

z_skie
#! Member
From: Slovenia
Registered: 2012-05-17
Posts: 90

Re: #! Slim theme

@Tunafish: Thanks, mate! smile


Live and let love in.

Offline

#4 2012-07-05 13:23:19

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: #! Slim theme

Neat smile Nice and minimal

Offline

#5 2012-07-05 13:25:32

z_skie
#! Member
From: Slovenia
Registered: 2012-05-17
Posts: 90

Re: #! Slim theme


Live and let love in.

Offline

#6 2012-07-05 13:48:42

TitanMech
Banned
From: Blue Zone 3
Registered: 2011-08-28
Posts: 930

Re: #! Slim theme

I dont use slim, but they look great!
You should make a bash script so the user can choose between those two, instead of the default slim theme for waldorf. smile

Offline

#7 2012-07-05 14:16:50

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: #! Slim theme

# current theme, use comma separated list to specify a set to
# randomly choose from
#current_theme       debian-spacefun
current_theme      cb-cube1
#current_theme      cb-cube2
#current_theme      cb-cube-in-space
#current_theme      cb-laptop
#current_theme       waldorf

Offline

#8 2012-07-05 14:58:16

z_skie
#! Member
From: Slovenia
Registered: 2012-05-17
Posts: 90

Re: #! Slim theme


Live and let love in.

Offline

#9 2012-07-05 20:54:48

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: #! Slim theme

Offline

#10 2012-07-05 21:06:14

z_skie
#! Member
From: Slovenia
Registered: 2012-05-17
Posts: 90

Re: #! Slim theme

@damo: it works!! big_smile and I like it! GREAT work!! cool cool this will be handy!


Live and let love in.

Offline

#11 2012-07-05 21:42:57

vic
#! by Default
From: /grill
Registered: 2009-02-13
Posts: 3,361

Re: #! Slim theme

Minimalistic and cool Slim themes.


Time to move on!#

Offline

#12 2012-07-30 08:28:14

z_skie
#! Member
From: Slovenia
Registered: 2012-05-17
Posts: 90

Re: #! Slim theme

Last edited by z_skie (2012-07-30 08:34:37)


Live and let love in.

Offline

#13 2012-07-30 18:23:35

GamBit
#! CrunchBanger
From: Vienna/Austria
Registered: 2012-07-22
Posts: 104

Re: #! Slim theme

I will change my theme very often.

So i have written a little "Slim Theme Switcher"...

Feel free to be inspired: smile

#!/bin/bash
#
# Simple Slim Theme Switcher
# (c) 2012 by GamBit
#
# usage: sudo ./slimswitcher.sh
#
# This script help you to select and preview a slim theme
#
clear
unset Dirlist i count direc yn
echo Slim Theme Switcher - Version 1.0
echo \(c\) 2012 by GamBit
echo GNU General Public License \(GNU GPL or simply GPL\)
echo
# Backup the slim.conf
if [ ! -f /etc/slim.conf.backup ];
then
    echo Backup slim.conf to slim.conf.backup!
    cp /etc/slim.conf /etc/slim.conf.backup
fi

# change the slim theme configuration
sed -i 's/^current_theme.*$/current_theme    slimswitcher/' /etc/slim.conf

cd /usr/share/slim/themes/

# get all installed themes
while IFS= read -r -u3 -d $'\0' file; do
    Dirlist[i++]="$file"
done 3< <(find * -type d -print0)

# display all themes with a number
count=0
for direc in ${Dirlist[@]} ; do
    echo  $count\) $direc
    count=$[$count+1]
done

# ask the user for the number of a theme
while true; do
    read -p "What theme do you want to use?" selected
    if [ $selected -le $count ] ; then
        rm /usr/share/slim/themes/slimswitcher
        ln -s /usr/share/slim/themes/${Dirlist[$selected]} /usr/share/slim/themes/slimswitcher   # set the selected theme
        echo
        echo Theme switched to ${Dirlist[$selected]}.
        break
    else
        echo Select a number of a theme!
    fi
done

echo

# ask user to preview the selected theme
while true; do
    read -p "Do you wish to preview your selected slim theme?" yn
    case $yn in
        [Yy]* ) slim -p /usr/share/slim/themes/slimswitcher 2>/dev/null; echo; break;;             # preview the theme
        [Nn]* ) exit;;
        * ) echo "Please answer yes or no.";;
    esac
done

Last edited by GamBit (2012-07-30 18:26:46)

Offline

#14 2012-07-30 20:42:17

z_skie
#! Member
From: Slovenia
Registered: 2012-05-17
Posts: 90

Re: #! Slim theme

That's great.. thanks, mate. We already have a script for choosing the themes smile but this one's cool too smile So thanks cool

Last edited by z_skie (2012-07-30 20:42:49)


Live and let love in.

Offline

#15 2012-07-31 00:09:59

vlahonick
Banned
From: Universe
Registered: 2011-12-03
Posts: 347

Re: #! Slim theme

Offline

#16 2012-07-31 07:47:51

z_skie
#! Member
From: Slovenia
Registered: 2012-05-17
Posts: 90

Re: #! Slim theme

I already knew about them, but thanks wink


Live and let love in.

Offline

#17 2012-08-01 16:21:41

Rawketman
Member
Registered: 2012-07-23
Posts: 13

Re: #! Slim theme

I really like this, I may have to try it out sometime.

Last edited by Rawketman (2012-08-01 16:22:35)

Offline

#18 2012-08-01 17:04:16

z_skie
#! Member
From: Slovenia
Registered: 2012-05-17
Posts: 90

Re: #! Slim theme

Cool, I'm glad to hear this!


Live and let love in.

Offline

#19 2012-08-01 20:33:00

Prindoll
New Member
Registered: 2012-07-31
Posts: 6

Re: #! Slim theme

Offline

#20 2012-08-01 21:15:18

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: #! Slim theme

See my sig for some other #! slim themes

Offline

#21 2012-08-01 22:05:47

z_skie
#! Member
From: Slovenia
Registered: 2012-05-17
Posts: 90

Re: #! Slim theme


Live and let love in.

Offline

#22 2012-08-01 22:42:07

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: #! Slim theme

Offline

#23 2012-08-06 09:05:36

Oliviakrk
Member
From: Europe
Registered: 2012-02-03
Posts: 29
Website

Re: #! Slim theme

Those are great. Especially second one.

Thanks!


Waldorf
ASUS N53SN

Offline

#24 2012-08-06 14:41:40

z_skie
#! Member
From: Slovenia
Registered: 2012-05-17
Posts: 90

Re: #! Slim theme


Live and let love in.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: bleh

Debian Logo