You are not logged in.

#176 2008-08-08 22:50:51

Abelian
Member
Registered: 2008-04-23
Posts: 63

Re: August 2008 Screenshots

peets wrote:

Can your tiling WM do this?
http://fc01.deviantart.com/fs31/i/2008/ … etsMtl.jpg
I think I have found A Good Window Manager: StumpWM.

Whenever  I use StumpWM the mutt quote springs to mind:
"All wm's suck, this one just sucks less"

Offline

#177 2008-08-09 12:12:47

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: August 2008 Screenshots

adekoba wrote:
B wrote:
COMMUNISTCHINA wrote:

Nice IP.
can i hax u nao?

Feel free to hack non-routable IPs my friend...

Next time before you try to be l33t, think.

I'm guessing he was joking...

Some jokes are too stupid to be posted even... Sorry. From someone putting a BSD mascot on his page about Linux, I don't expect this to be a 'joke'.

Last edited by B (2008-08-09 15:17:19)


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#178 2008-08-09 12:58:32

INCSlayer
Member
From: Sweden
Registered: 2007-09-06
Posts: 296
Website

Re: August 2008 Screenshots

then you have no humour


dovie andi se tovya sagain

Offline

#179 2008-08-09 13:53:54

bredin
Member
From: sweden
Registered: 2008-06-28
Posts: 135

Re: August 2008 Screenshots

scrot_080809_fluxbox_by_bredin.png

For info,links larger image. Press the image.


Lenovo ThinkPad x61
Core2Duo 2ghz, 4gig ram, 16gig SSD.
Archlinux x64 + Fluxbox!

Offline

#180 2008-08-09 15:33:56

heleos
Member
From: Maine, USA
Registered: 2007-04-24
Posts: 678

Re: August 2008 Screenshots

bredin wrote:

http://tn3-2.deviantart.com/fs31/300W/i … bredin.png

For info,links larger image. Press the image.

I like the icons!

Offline

#181 2008-08-09 16:52:55

kyanh
Member
From: vietnam
Registered: 2007-01-09
Posts: 5
Website

Re: August 2008 Screenshots

my fluxbox with Fractal background from http://background-wallpaper.110mb.com


With Root Menu + Urxvt

rocky2xb5.th.png


With Pidgin + Urxvt

rocky1yx0.th.png

Offline

#182 2008-08-09 17:14:03

COMMUNISTCHINA
Member
Registered: 2008-06-16
Posts: 122
Website

Re: August 2008 Screenshots

That is a strange resolution.


i don't know you that well.

Offline

#183 2008-08-09 18:07:28

bredin
Member
From: sweden
Registered: 2008-06-28
Posts: 135

Re: August 2008 Screenshots

COMMUNISTCHINA wrote:

That is a strange resolution.

That's a strange comment. tongue


Lenovo ThinkPad x61
Core2Duo 2ghz, 4gig ram, 16gig SSD.
Archlinux x64 + Fluxbox!

Offline

#184 2008-08-10 02:28:14

SysDump
Member
From: Brazil
Registered: 2008-08-10
Posts: 11

Re: August 2008 Screenshots

200808092323101280x800sfx4.th.png

Openbox
Pypanel
conky

Offline

#185 2008-08-10 02:36:27

OmniCloud
Member
From: NJ
Registered: 2007-10-30
Posts: 15
Website

Re: August 2008 Screenshots


"The love of money, leads to all softs of injurious things." "Keep seeking first the Kingdom, and all these other things will be added to you." Life is short-seek truth. Seek Jehovah...

Offline

#186 2008-08-10 04:35:57

Acecero
Member
Registered: 2008-06-21
Posts: 1,373

Re: August 2008 Screenshots

Very nice! I like your setup. What OB theme are you using?

Offline

#187 2008-08-10 10:37:07

delor
Member
From: Poland
Registered: 2008-02-02
Posts: 62
Website

Re: August 2008 Screenshots

2008-08-10-115201_1920x1200_scrot.jpg 2008-08-10-115148_1920x1200_scrot.jpg

Offline

#188 2008-08-10 11:28:17

SysDump
Member
From: Brazil
Registered: 2008-08-10
Posts: 11

Re: August 2008 Screenshots

Acecero wrote:

Very nice! I like your setup. What OB theme are you using?

Thanks!!

OBtheme: Mint, with a little mod:

http://paste.archlinux-br.org/304

Offline

#189 2008-08-10 14:02:48

INCSlayer
Member
From: Sweden
Registered: 2007-09-06
Posts: 296
Website

Re: August 2008 Screenshots

Desktop screenshot:
Empty:
comic-thumb.png
Busy:
thumb-busy.png


dovie andi se tovya sagain

Offline

#190 2008-08-10 17:47:51

Don-DiZzLe
Member
From: Nederland
Registered: 2007-03-31
Posts: 233

Re: August 2008 Screenshots

200808102149371280x1024jb8.th.png

TJUH!

Offline

#191 2008-08-10 18:29:08

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: August 2008 Screenshots

Pretty nifty setup with those close buttons Don-DiZzle. How did you set that up?

Offline

#192 2008-08-10 18:36:37

Don-DiZzLe
Member
From: Nederland
Registered: 2007-03-31
Posts: 233

Re: August 2008 Screenshots

Its a built-in feature of the latest awesome3 git.

Offline

#193 2008-08-10 20:39:24

leo2501
Member
From: Buenos Aires, Argentina
Registered: 2007-07-07
Posts: 658

Re: August 2008 Screenshots

Now exploring with dzen2, conky and dwm big_smile

I modify my previous wallpaper on my own, using a lot of high tech gimp brushes tongue i realize that a blurry background is easier to read on transparent terms

desktop20080810172910zu1.th.jpg

dwm 5.1
dzen2 and conky

.xinitrc:

#!/bin/sh

#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
#

### Wallpaper set command ###
eval `cat ~/.fehbg`

### Autostart applications ###
numlockx &
xscreensaver -no-splash &

### Autostart mouse speed ###
xset m 1 1

### Window Manager set ###
# exec startkde
# exec start-fusion
# exec wmaker
# exec startxfce4
# exec icewm
# exec fvwm
# exec openbox
# exec startfluxbox
# exec awesome
# exec wmii
# exec ratpoison

# dwm
conky | dzen2 -y 1010 -fg '#ffffff' -bg '#000000' -ta r -fn '-*-fixed-medium-r-*-*-18-*-*-*-*-*-iso8859-*' &
exec ~/bin/dwm-status | dwm

~/bin/dwm-status:

#!/bin/bash
while true
do
    echo CPU:$(get_cputemp Core0)C '|' /sdb1:$(get_diskinfo sdb1) /sdd1:$(get_diskinfo sdd1) /sde1:$(get_diskinfo sde1) /cdrom:$(get_cdrominfo cdrom) '|' Snd:$(get_volume PCM)%/$(get_volume Front)% '|' $(date +'%R %d/%m/%Y')
    sleep 60
done

.conkyrc:

background no
out_to_console yes
update_interval 5.0
total_run_times 0
uppercase no

TEXT
CPU:$cpu%/${top name 1}/${running_processes} | Ram:${mem} | Swap:${swap} | ETH0:${downspeed eth0}k/${upspeed eth0}k | @:(${execi 60 sh /home/aleyscha/bin/get_gmail}) | Updates:(${execi 60 perl /home/aleyscha/bin/arch-updates/conky-updates.pl})

.get_gmail:

#!/bin/bash
gmail_login="xxxxxxx.xxxxxxx"
gmail_password="xxxxxxxxxx"

dane="$(wget --secure-protocol=TLSv1 --timeout=3 -t 1 -q -O - \
https://${gmail_login}:${gmail_password}@mail.google.com/mail/feed/atom \
--no-check-certificate | grep 'fullcount' \
| sed -e 's/.*<fullcount>//;s/<\/fullcount>.*//' 2>/dev/null)"

if [ -z "$dane" ]; then
        echo "!"
else
        echo "$dane"
fi

.conky-updates.pl

#! /usr/bin/perl -w
use strict;
# November 15, 2006
# Daniel Vredenburg (Vredfreak)
# This is a program that checks for package updates for Arch Linux users.

open (MYINPUTFILE, "/home/aleyscha/bin/arch-updates/updates.log") or die "No such file or directory: $!";

my $i = 0;
while(<MYINPUTFILE>)
{
        if (/^(.*)\/(.*)(\..*\..*\.)/)  {
                #print " \n";
                $i++;
        }

}
if ($i == 0) {
        print "up to date";
} else {
        print "$i";
}
close(MYINPUTFILE);

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery

Offline

#194 2008-08-10 21:26:01

voteforpedro36
Member
Registered: 2008-08-06
Posts: 99

Re: August 2008 Screenshots

8-10-08-bare.png
8-10-08-media.png

smile

Offline

#195 2008-08-10 21:34:15

Ryan_Macy
Member
From: US
Registered: 2008-08-04
Posts: 12
Website

Re: August 2008 Screenshots

Skruf wrote:

http://i116.photobucket.com/albums/o28/ … 080808.png
Gtk + Metacity is Nonix
Icons are Crashbit
Wallpaper from deviantart

Nothing fancy, but it works very well for me.

Hey could I see your conky config? It looks great.

Offline

#196 2008-08-10 22:52:02

jbromley
Member
From: Pasadena, CA
Registered: 2007-02-04
Posts: 268

Re: August 2008 Screenshots

Those are some cool system monitor widgets. Would you please post your rc.lua? Or at least the part that sets up the widgets? Or is that done with dzen2?

Offline

#197 2008-08-10 22:57:59

Don-DiZzLe
Member
From: Nederland
Registered: 2007-03-31
Posts: 233

Re: August 2008 Screenshots

Sure. Its done with wicked, u can find the pkg on AUR and info on the awesome wiki. The icons r from an icon pack found on the new dzen wiki.

-- awesome 3 configuration file

require("awful")
require("tabulous")
require("beautiful")
require("wicked")

-- {{{ Variable definitions
theme_path = "/usr/share/awesome/themes/default"

terminal = "urxvtc"

modkey = "Mod1"

layouts =
{
    "tile",
    "tileleft",
    "tilebottom",
    "tiletop",
    "magnifier",
    "max",
    "spiral",
    "dwindle",
    "floating"
}

floatapps =
{
    -- by class
    ["MPlayer"] = true,
    ["smplayer"] = true,
    -- by instance
    ["mocp"] = true
}

apptags =
{
    ["Gran Paradiso"] = { screen = 1, tag = 2 },
    ["emesene"] = { screen = 1, tag = 3 },
    ["xchat"]  = { screen = 1, tag = 3 },
    ["pcmanfm"] = { screen = 1, tag = 4 },
    ["geany"] = { screen = 1, tag = 5 }
}

use_titlebar = true
-- }}}

-- {{{ Initialization

beautiful.init(theme_path)

awful.beautiful.register(beautiful)

tabulous.autotab_start()
-- }}}

-- {{{ Tags
tagName =
{
    "MAIN",
    "INTERNET",
    "CHAT",
    "FILES",
    "EDIT",
    "6",
    "7",
    "8",
    "9"
}

tags = {}
tags[1] = {}
for tagnumber = 1, 9 do
    tags[1][tagnumber] = tag({ name = tagName[tagnumber], layout = layouts[1] })
    tags[1][tagnumber].mwfact = 0.618033988769
    tags[1][tagnumber].screen = 1
end
tags[1][1].selected = true
-- }}}

-- {{{ Statusbar
taglist = widget({ type = "taglist", name = "taglist" })
taglist:mouse_add(mouse({}, 1, function (object, tag) awful.tag.viewonly(tag) end))
taglist:mouse_add(mouse({ modkey }, 1, function (object, tag) awful.client.movetotag(tag) end))
taglist:mouse_add(mouse({}, 3, function (object, tag) tag.selected = not tag.selected end))
taglist:mouse_add(mouse({ modkey }, 3, function (object, tag) awful.client.toggletag(tag) end))
taglist:mouse_add(mouse({ }, 4, awful.tag.viewnext))
taglist:mouse_add(mouse({ }, 5, awful.tag.viewprev))
taglist.label = awful.widget.taglist.label.all

layoutbox = {}
layoutbox = widget({ type = "textbox", name = "layoutbox", align = "left" })
layoutbox:mouse_add(mouse({ }, 1, function () awful.layout.inc(layouts, 1) end))
layoutbox:mouse_add(mouse({ }, 3, function () awful.layout.inc(layouts, -1) end))
layoutbox:mouse_add(mouse({ }, 4, function () awful.layout.inc(layouts, 1) end))
layoutbox:mouse_add(mouse({ }, 5, function () awful.layout.inc(layouts, -1) end))
layoutbox.text = "<bg image=\"/usr/share/awesome/icons/layouts/tilew.png\" resize=\"true\"/>"

promptbox = widget({ type = "textbox", name = "promptbox", align = "left" })

-- Space
space = widget({ type = "textbox", name = "space", align = "right" })
space.text = " "
-- Memory
memicon = widget({ type = "textbox", name = "memicon", align = "right" })
memicon.text = "<bg image=\"/home/tjuh/.config/awesome/icons/mem.png\" resize=\"true\"/>"
memwidget = widget({ type = "textbox", name = "memwidget", align = "right" })
wicked.register(memwidget, "mem", "[$2Mb/$3Mb]")
-- CPU Graph
cpuicon = widget({ type = "textbox", name = "cpuicon", align = "right" })
cpuicon.text = "<bg image=\"/home/tjuh/.config/awesome/icons/cpu.png\" resize=\"true\"/>"
cpugraphwidget = widget({ type = "graph", name = "cpugraphwidget", align = "right" })
cpugraphwidget.width = 50
cpugraphwidget.height = 0.65
cpugraphwidget.grow = "left"
cpugraphwidget:plot_properties_set("cpu", {
    fg = "#AEC6D8",
    fg_center = "#285577",
    fg_end = "#285577",
    vertical_gradient = false
})
wicked.register(cpugraphwidget, "cpu", "$1", 1, "cpu")
-- NetTraffic
neticon = widget({ type = "textbox", name = "neticon", align = "right" })
neticon.text = "<bg image=\"/home/tjuh/.config/awesome/icons/net.png\" resize=\"true\"/>"
netwidget = widget({ type = "textbox", name = "netwidget", align = "right" })
wicked.register(netwidget, "net", "[${wlan0 down}/${wlan0 up}]")
-- Volume
volicon = widget({ type = "textbox", name = "volicon", align = "right" })
volicon.text = "<bg image=\"/home/tjuh/.config/awesome/icons/volume.png\" resize=\"true\"/>"
volumewidget = widget({ type = "progressbar", name = "volumewidget",  align = "right" })
volumewidget.width = 50
volumewidget.height = 0.65
volumewidget.ticks_count = 15
wicked.register(volumewidget, "function", function (widget, args)
    local f = io.popen("amixer get PCM | grep Left: | cut -f 2 -d [ | cut -d% -f1")
    local l = f:read()
    f:close()
    return l
end, 1, "volume")
volumewidget:mouse_add(mouse({ }, 4, function () awful.spawn("amixer set PCM 2%+") end))
volumewidget:mouse_add(mouse({ }, 5, function () awful.spawn("amixer set PCM 2%-") end))
-- Time & Date
datewidget = widget({ type = "textbox", name = "datewidget", align = "right" })
wicked.register(datewidget, "date", "%A, %d/%m/%Y - %T")

iconbox = widget({ type = "textbox", name = "iconbox", align = "right" })
iconbox.text = "<bg image=\"/usr/share/awesome/icons/awesome16.png\" resize=\"true\"/>"

topstatusbar = {}
topstatusbar = statusbar({ position = "top", name = "topstatusbar", fg = beautiful.fg_normal, bg = beautiful.bg_normal })
topstatusbar.widgets =
{
    taglist,
    layoutbox,
    promptbox,
    memicon,
    space,
    memwidget,
    space,
    cpuicon,
    space,
    cpugraphwidget,
    space,
    neticon,
    space,
    netwidget,
    space,
    volicon,
    space,
    volumewidget,
    space,
    datewidget,
    iconbox
}
topstatusbar.screen = 1
-- }}}

-- {{{ Taskbar
tasklist = widget({ type = "tasklist", name = "tasklist" })
tasklist:mouse_add(mouse({ }, 1, function (object, c) c:focus_set(); c:raise() end))
tasklist:mouse_add(mouse({ }, 4, function () awful.client.focusbyidx(1) end))
tasklist:mouse_add(mouse({ }, 5, function () awful.client.focusbyidx(-1) end))
tasklist.label = awful.widget.tasklist.label.currenttags

systray = widget({ type = "systray", name = "systray", align = "right" })

taskbar = {}
taskbar = statusbar({ position = "bottom", name = "taskbar", fg = beautiful.fg_normal, bg = beautiful.bg_normal })
taskbar.widgets =
{
    tasklist,
    systray
}
taskbar.screen = 1
-- }}}

-- {{{ Mouse bindings
awesome.mouse_add(mouse({ }, 3, function () awful.spawn(terminal) end))
awesome.mouse_add(mouse({ }, 4, awful.tag.viewnext))
awesome.mouse_add(mouse({ }, 5, awful.tag.viewprev))
-- }}}

-- {{{ Key bindings

-- Bind keyboard digits
-- Compute the maximum number of digit we need, limited to 9
keynumber = 0
for s = 1, screen.count() do
   keynumber = math.min(9, math.max(#tags[s], keynumber));
end

for i = 1, keynumber do
    keybinding({ modkey }, i,
                   function ()
                       local screen = mouse.screen
                       if tags[screen][i] then
                           awful.tag.viewonly(tags[screen][i])
                       end
                   end):add()
    keybinding({ modkey, "Control" }, i,
                   function ()
                       local screen = mouse.screen
                       if tags[screen][i] then
                           tags[screen][i].selected = not tags[screen][i].selected
                       end
                   end):add()
    keybinding({ modkey, "Shift" }, i,
                   function ()
                       local sel = client.focus_get()
                       if sel then
                           if tags[sel.screen][i] then
                               awful.client.movetotag(tags[sel.screen][i])
                           end
                       end
                   end):add()
    keybinding({ modkey, "Control", "Shift" }, i,
                   function ()
                       local sel = client.focus_get()
                       if sel then
                           if tags[sel.screen][i] then
                               awful.client.toggletag(tags[sel.screen][i])
                           end
                       end
                   end):add()
end

keybinding({ modkey }, "Left", awful.tag.viewprev):add()
keybinding({ modkey }, "Right", awful.tag.viewnext):add()
keybinding({ modkey }, "Escape", awful.tag.history.restore):add()

-- Standard program
keybinding({ modkey }, "f", function () awful.spawn("firefox") end):add()
keybinding({ modkey }, "p", function () awful.spawn("pcmanfm") end):add()
keybinding({ modkey }, "g", function () awful.spawn("geany") end):add()
keybinding({ modkey }, "d", function () awful.spawn("deluge") end):add()
keybinding({ modkey }, "s", function () awful.spawn("savage2") end):add()
keybinding({ modkey, "Control" }, "r", function () awful.spawn("sudo reboot") end):add()
keybinding({ modkey, "Control" }, "s", function () awful.spawn("sudo halt") end):add()
keybinding({ modkey }, "Return", function () awful.spawn(terminal) end):add()
keybinding({ modkey, "Shift" }, "r", awesome.restart):add()
keybinding({ modkey, "Shift" }, "q", awesome.quit):add()

-- Client manipulation
keybinding({ modkey }, "m", awful.client.maximize):add()
keybinding({ modkey, "Shift" }, "w", function () client.focus_get():kill() end):add()
keybinding({ modkey }, "j", function () awful.client.focusbyidx(1); client.focus_get():raise() end):add()
keybinding({ modkey }, "k", function () awful.client.focusbyidx(-1);  client.focus_get():raise() end):add()
keybinding({ modkey, "Shift" }, "j", function () awful.client.swap(1) end):add()
keybinding({ modkey, "Shift" }, "k", function () awful.client.swap(-1) end):add()
keybinding({ modkey, "Control" }, "j", function () awful.screen.focus(1) end):add()
keybinding({ modkey, "Control" }, "k", function () awful.screen.focus(-1) end):add()
keybinding({ modkey, "Control" }, "space", awful.client.togglefloating):add()
keybinding({ modkey, "Control" }, "Return", function () client.focus_get():swap(awful.client.master()) end):add()
keybinding({ modkey }, "o", awful.client.movetoscreen):add()
keybinding({ modkey }, "Tab", awful.client.focus.history.previous):add()

-- Layout manipulation
keybinding({ modkey }, "l", function () awful.tag.incmwfact(0.05) end):add()
keybinding({ modkey }, "h", function () awful.tag.incmwfact(-0.05) end):add()
keybinding({ modkey, "Shift" }, "h", function () awful.tag.incnmaster(1) end):add()
keybinding({ modkey, "Shift" }, "l", function () awful.tag.incnmaster(-1) end):add()
keybinding({ modkey, "Control" }, "h", function () awful.tag.incncol(1) end):add()
keybinding({ modkey, "Control" }, "l", function () awful.tag.incncol(-1) end):add()
keybinding({ modkey }, "space", function () awful.layout.inc(layouts, 1) end):add()
keybinding({ modkey, "Shift" }, "space", function () awful.layout.inc(layouts, -1) end):add()

-- Prompt
keybinding({ modkey }, "F1", function () awful.prompt({ prompt = "Run: " }, promptbox, awful.spawn, awful.completion.bash) end):add()
keybinding({ modkey }, "F4", function () awful.prompt({ prompt = "Run Lua code: " }, promptbox, awful.eval) end):add()

--- Tabulous, tab manipulation
keybinding({ modkey, "Control" }, "y", function ()
    local tabbedview = tabulous.tabindex_get()
    local nextclient = awful.client.next(1)

    if not tabbedview then
        tabbedview = tabulous.tabindex_get(nextclient)

        if not tabbedview then
            tabbedview = tabulous.tab_create()
            tabulous.tab(tabbedview, nextclient)
        else
            tabulous.tab(tabbedview, client.focus_get())
        end
    else
        tabulous.tab(tabbedview, nextclient)
    end
end):add()

keybinding({ modkey, "Shift" }, "y", tabulous.untab):add()

keybinding({ modkey }, "y", function ()
   local tabbedview = tabulous.tabindex_get()

   if tabbedview then
       local n = tabulous.next(tabbedview)
       tabulous.display(tabbedview, n)
   end
end):add()

-- Client awful tagging: this is useful to tag some clients and then do stuff like move to tag on them
keybinding({ modkey }, "t", awful.client.togglemarked):add()
keybinding({ modkey, 'Shift' }, "t", function ()
    local tabbedview = tabulous.tabindex_get()
    local clients = awful.client.getmarked()

    if not tabbedview then
        tabbedview = tabulous.tab_create(clients[1])
        table.remove(clients, 1)
    end

    for k,c in pairs(clients) do
        tabulous.tab(tabbedview, c)
    end

end):add()

for i = 1, keynumber do
    keybinding({ modkey, "Shift" }, "F" .. i,
                   function ()
                       local screen = mouse.screen
                       if tags[screen][i] then
                           for k, c in pairs(awful.client.getmarked()) do
                               awful.client.movetotag(tags[screen][i], c)
                           end
                       end
                   end):add()
end
-- }}}

-- {{{ Hooks
-- Hook function to execute when focusing a client.
function hook_focus(c)
    if not awful.client.ismarked(c) then
        c.border_color = beautiful.border_focus
    end
end

-- Hook function to execute when unfocusing a client.
function hook_unfocus(c)
    if not awful.client.ismarked(c) then
        c.border_color = beautiful.border_normal
    end
end

-- Hook function to execute when marking a client
function hook_marked(c)
    c.border_color = beautiful.border_marked
end

-- Hook function to execute when unmarking a client
function hook_unmarked(c)
    c.border_color = beautiful.border_focus
end

-- Hook function to execute when the mouse is over a client.
function hook_mouseover(c)
    -- Sloppy focus, but disabled for magnifier layout
    if awful.layout.get(c.screen) ~= "magnifier" then
        c:focus_set()
    end
end

-- Hook function to execute when a new client appears.
function hook_manage(c)
    -- Set floating placement to be smart!
    c.floating_placement = "smart"
    if use_titlebar then
        -- Add a titlebar
        awful.titlebar.add(c, { modkey = modkey })
    end
    -- Add mouse bindings
    c:mouse_add(mouse({ }, 1, function (c) c:focus_set(); c:raise() end))
    c:mouse_add(mouse({ modkey }, 1, function (c) c:mouse_move() end))
    c:mouse_add(mouse({ modkey }, 3, function (c) c:mouse_resize() end))
    -- New client may not receive focus
    -- if they're not focusable, so set border anyway.
    c.border_width = beautiful.border_width
    c.border_color = beautiful.border_normal
    c:focus_set()

    -- Check if the application should be floating.
    local cls = c.class
    local inst = c.instance
    if floatapps[cls] then
        c.floating = floatapps[cls]
    elseif floatapps[inst] then
        c.floating = floatapps[inst]
    end

    -- Check application->screen/tag mappings.
    local target
    if apptags[cls] then
        target = apptags[cls]
    elseif apptags[inst] then
        target = apptags[inst]
    end
    if target then
        c.screen = target.screen
        awful.client.movetotag(tags[target.screen][target.tag], c)
    end

    -- Honor size hints
    c.honorsizehints = false
end

-- Hook function to execute when arranging the screen
-- (tag switch, new client, etc)
function hook_arrange(screen)
    layoutbox.text =
        "<bg image=\"/usr/share/awesome/icons/layouts/" .. awful.layout.get(screen) .. "w.png\" resize=\"true\"/>"

    -- If no window has focus, give focus to the latest in history
    if not client.focus_get() then
        local c = awful.client.focus.history.get(screen, 0)
        if c then c:focus_set() end
    end

    -- Uncomment if you want mouse warping
    --[[
    local sel = client.focus_get()
    if sel then
        local c_c = sel.coords
        local m_c = mouse.coords

        if m_c.x < c_c.x or m_c.x >= c_c.x + c_c.width or
            m_c.y < c_c.y or m_c.y >= c_c.y + c_c.height then
            if table.maxn(m_c.buttons) == 0 then
                mouse.coords = { x = c_c.x + 5, y = c_c.y + 5}
            end
        end
    end
    ]]
end

-- Set up some hooks
awful.hooks.focus.register(hook_focus)
awful.hooks.unfocus.register(hook_unfocus)
awful.hooks.marked.register(hook_marked)
awful.hooks.unmarked.register(hook_unmarked)
awful.hooks.manage.register(hook_manage)
awful.hooks.mouseover.register(hook_mouseover)
awful.hooks.arrange.register(hook_arrange)
-- }}}

Offline

#198 2008-08-11 00:22:39

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

Re: August 2008 Screenshots

screenshot-6923.png.xs.jpg


Use the Source, Luke!

Offline

#199 2008-08-11 03:24:19

Factory
Member
Registered: 2008-02-24
Posts: 108

Re: August 2008 Screenshots

Very nice. I love the color matching.

Offline

#200 2008-08-11 08:24:42

Skruf
Member
From: Norway
Registered: 2008-08-08
Posts: 10

Re: August 2008 Screenshots

Ryan_Macy wrote:

Hey could I see your conky config? It looks great.

Here you go..

.conkyrc

alignment top_right
background yes
use_xft yes
xftfont handelgotdlig:size=8
xftalpha 0.8
border_width 1
cpu_avg_samples 2
default_color white
default_outline_color white
default_shade_color white
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
gap_x 5
gap_y 5
minimum_size 100 5
net_avg_samples 2
no_buffers yes
out_to_console no
own_window yes
own_window_class Conky
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_transparent yes
stippled_borders 0
update_interval 1.0
uppercase no
use_spacer none
double_buffer yes
color0 grey

TEXT
${font handelgotdlig:size=14:style=bold} $alignc ${time %R}
$font $alignc ${time %A %d.%m.%y}

${font openlogos:size=20} $alignc B $font
$alignc $kernel
$hr
$color0 Uptime
$alignc $color $uptime
$alignc $color $loadavg

$color0 RAM Usage
$color $mem $alignr $memperc%
$color ${membar 3}

$color0 CPU Frequency
$alignc $color $freq MHz

$color0 CPU Usage
$alignc $color $cpu%

$color0 CPU Temp
$alignc $color $acpitemp°C

$color0 Disk Usage /
$alignc $color ${fs_used /} / ${fs_size /}
$color ${fs_bar 3 /}

$color0 Disk Usage /home
$alignc $color ${fs_used /home} / ${fs_size /home}
$color ${fs_bar 3 /home}

$color0 WLAN ESSID
$alignc $color ${wireless_essid eth1}

$color0 Wi-Fi Link Quality
$alignc $color ${wireless_link_qual_perc eth1}%

$color0 IP-Address
$alignc $color ${addr eth1}

Offline

Board footer

Powered by FluxBB