You are not logged in.

#726 2012-04-22 07:53:35

F34R
Member
From: /dev/loliland
Registered: 2012-02-05
Posts: 245

Re: Share your Awesome(WM) desktop!

TheImmortalPhoenix wrote:
tar xfv Blue/ Awesome.tar.bz

I've discovered GSharkDown! Amazing!

http://ompldr.org/tZGZjcg


What is the gtk theme ? grooveshark nice too

Offline

#727 2012-04-22 10:27:04

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: Share your Awesome(WM) desktop!

TheImmortalPhoenix wrote:
tar xfv Blue/ Awesome.tar.bz

I've discovered GSharkDown! Amazing!

http://ompldr.org/tZGZjcg

What's the font in this one? And did you do anything special as for font rendering?


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#728 2012-04-22 14:33:27

TheImmortalPhoenix
Member
From: 127.0.0.1
Registered: 2011-08-13
Posts: 436

Re: Share your Awesome(WM) desktop!

GTK theme is MCV (i modified background and selection color, you can use gimp on my screenshot to see the code of the color if you want to edit it by yourself)

I did not use something special for fonts, i've just installed freetype2 and fontconfig packages but i did not edit any config...
Fonts are Termsyn (awesome) and Ubuntu Light 8 (system)

Last edited by TheImmortalPhoenix (2012-04-22 14:33:46)

Offline

#729 2012-04-24 08:23:14

ioos
Member
Registered: 2011-01-25
Posts: 125

Re: Share your Awesome(WM) desktop!

Please don't judge the trees:

tZGhxZQ

Offline

#730 2012-04-24 10:15:07

intrntbrn
Member
From: Germany
Registered: 2011-12-01
Posts: 66

Re: Share your Awesome(WM) desktop!

created some nice notifications using just naughty and images. it isnt very elegant, but it works great!
messenger is mcabber.

Rh9QV.png

icons: https://github.com/intrntbrn/icons/tree/master/noti

volume has 20 icons to display 5% volume changes. (one is mute)
brightness has 15 icons to display the 15 different brightness lvls

rc.lua:

function closeLastNoti()
    screen = mouse.screen
    for p,pos in pairs(naughty.notifications[screen]) do
        for i,n in pairs(naughty.notifications[screen][p]) do
			if (n.width == 258) then -- to close only previous bright/vol notifications
            naughty.destroy(n)
            break
            end
        end
    end
end

-- volume notifaction

volnotiicon = nil

function volnoti()
			        closeLastNoti()
                                naughty.notify{
				icon = volnotiicon,
                                position = "top_right",
				fg="#0a0a0b",
				bg="#426797",
				timeout=1,
				width = 256,
				gap = 0,
			}
end

brightnotiicon = nil

function brightnoti()
			        closeLastNoti()
			        naughty.notify{
				icon = brightnotiicon,
                                position = "top_right",
				fg="#0a0a0b",
				bg="#426797",
				timeout=1,
				width = 256,
				gap = 0,
			}
end

-- sample binds: (sexec = awful.util.spawn_with_shell):

    awful.key({}, "#122", function () sexec("sh ~/bin/vol.sh down" ) end),
    awful.key({}, "#123", function () sexec("sh ~/bin/vol.sh up") end),
    awful.key({}, "#121", function () sexec("sh ~/bin/vol.sh mute") end),
    awful.key({}, "#233", function () sexec("sh ~/bin/bright.sh") end), -- brightness worked out of the box, so i dont have to change to brightness in sh
    awful.key({}, "#232", function () sexec("sh ~/bin/bright.sh") end), -- brightness worked out of the box, so i dont have to change to brightness in sh

bright.sh: just reads the brightness value; sets the right image and calls the naughty notification.

#!/bin/bash

# get brightness
bright=`cat /sys/class/backlight/acpi_video0/actual_brightness`

# calc percent
#perc=`expr $bright "*" 100 "/" 15`

if [[ $bright == 15 ]]; then
  	echo 'brightnotiicon="/usr/share/awesome/icons/noti/brightbar/bar_15.png"' | awesome-client
	echo 'brightnoti()' | awesome-client
	return 0
fi

if [[ $bright == 14 ]]; then
  	echo 'brightnotiicon="/usr/share/awesome/icons/noti/brightbar/bar_14.png"' | awesome-client
	echo 'brightnoti()' | awesome-client
	return 0
fi

if [[ $bright == 13 ]]; then
  	echo 'brightnotiicon="/usr/share/awesome/icons/noti/brightbar/bar_13.png"' | awesome-client
	echo 'brightnoti()' | awesome-client
	return 0
fi

if [[ $bright == 12 ]]; then
  	echo 'brightnotiicon="/usr/share/awesome/icons/noti/brightbar/bar_12.png"' | awesome-client
	echo 'brightnoti()' | awesome-client
	return 0
fi

if [[ $bright == 11 ]]; then
  	echo 'brightnotiicon="/usr/share/awesome/icons/noti/brightbar/bar_11.png"' | awesome-client
	echo 'brightnoti()' | awesome-client
	return 0
fi

if [[ $bright == 10 ]]; then
  	echo 'brightnotiicon="/usr/share/awesome/icons/noti/brightbar/bar_10.png"' | awesome-client
	echo 'brightnoti()' | awesome-client
	return 0
fi

if [[ $bright == 9 ]]; then
  	echo 'brightnotiicon="/usr/share/awesome/icons/noti/brightbar/bar_9.png"' | awesome-client
	echo 'brightnoti()' | awesome-client
	return 0
fi

if [[ $bright == 8 ]]; then
  	echo 'brightnotiicon="/usr/share/awesome/icons/noti/brightbar/bar_8.png"' | awesome-client
	echo 'brightnoti()' | awesome-client
	return 0
fi

if [[ $bright == 7 ]]; then
  	echo 'brightnotiicon="/usr/share/awesome/icons/noti/brightbar/bar_7.png"' | awesome-client
	echo 'brightnoti()' | awesome-client
	return 0
fi

if [[ $bright == 6 ]]; then
  	echo 'brightnotiicon="/usr/share/awesome/icons/noti/brightbar/bar_6.png"' | awesome-client
	echo 'brightnoti()' | awesome-client
	return 0
fi

if [[ $bright == 5 ]]; then
  	echo 'brightnotiicon="/usr/share/awesome/icons/noti/brightbar/bar_5.png"' | awesome-client
	echo 'brightnoti()' | awesome-client
	return 0
fi

if [[ $bright == 4 ]]; then
  	echo 'brightnotiicon="/usr/share/awesome/icons/noti/brightbar/bar_4.png"' | awesome-client
	echo 'brightnoti()' | awesome-client
	return 0
fi

if [[ $bright == 3 ]]; then
  	echo 'brightnotiicon="/usr/share/awesome/icons/noti/brightbar/bar_3.png"' | awesome-client
	echo 'brightnoti()' | awesome-client
	return 0
fi

if [[ $bright == 2 ]]; then
  	echo 'brightnotiicon="/usr/share/awesome/icons/noti/brightbar/bar_2.png"' | awesome-client
	echo 'brightnoti()' | awesome-client
	return 0
fi

if [[ $bright == 1 ]]; then
  	echo 'brightnotiicon="/usr/share/awesome/icons/noti/brightbar/bar_1.png"' | awesome-client
	echo 'brightnoti()' | awesome-client
	return 0
fi

if [[ $bright == 0 ]]; then
  	echo 'brightnotiicon="/usr/share/awesome/icons/noti/brightbar/bar_0.png"' | awesome-client
	echo 'brightnoti()' | awesome-client
	return 0
fi
exit 0

vol.sh: 'grepping out' the current volume and state; in/decrease/mute volume according to parameter and sets the image as mentioned before.

#!/bin/bash

STEP="5" 
UNIT="%"  

SETVOL="/usr/bin/amixer -q sset Master"
STATE=$(amixer get Master | grep Left | egrep 'Playback.*?\[o' | egrep -o '\[o.+\]')

case "$1" in
    "up")
	      if [[ $STATE == '[off]' ]]; then
	      $SETVOL unmute
	      fi
              $SETVOL $STEP$UNIT+
               ;;
  "down")
              $SETVOL $STEP$UNIT-
               ;;
  "mute")
	      $SETVOL toggle
              ;;
esac

STATE=$(amixer get Master | grep Left | egrep 'Playback.*?\[o' | egrep -o '\[o.+\]')
VOLUME=$(amixer get Master | grep 'Front Left:' | grep -E -o "[0-9]+%" | tr -d %)


if [[ $VOLUME == 0 ]] || [[ $STATE == '[off]' ]]; then
  	echo 'volnotiicon="/home/intrntbrn/noti/bar_00.png"' | awesome-client
	echo 'volnoti()' | awesome-client
else
	if [ $VOLUME -gt 95 ] && [ $VOLUME -le 999 ]; then
	echo 'volnotiicon="/usr/share/awesome/icons/noti/volbar/bar_100.png"' | awesome-client
	echo 'volnoti()' | awesome-client
	return 0
	fi

	if [ $VOLUME -gt 0 ] && [ $VOLUME -le 5 ]; then
	echo 'volnotiicon="/usr/share/awesome/icons/noti/volbar/bar_05.png"' | awesome-client
	echo 'volnoti()' | awesome-client
	return 0
	fi

	if [ $VOLUME -gt 5 ] && [ $VOLUME -le 10 ]; then
	echo 'volnotiicon="/usr/share/awesome/icons/noti/volbar/bar_10.png"' | awesome-client
	echo 'volnoti()' | awesome-client
	return 0
	fi

	if [ $VOLUME -gt 10 ] && [ $VOLUME -le 15 ]; then
	echo 'volnotiicon="/usr/share/awesome/icons/noti/volbar/bar_15.png"' | awesome-client
	echo 'volnoti()' | awesome-client
	return 0
	fi

	if [ $VOLUME -gt 15 ] && [ $VOLUME -le 20 ]; then
	echo 'volnotiicon="/usr/share/awesome/icons/noti/volbar/bar_20.png"' | awesome-client
	echo 'volnoti()' | awesome-client
	return 0
	fi

	if [ $VOLUME -gt 20 ] && [ $VOLUME -le 25 ]; then
	echo 'volnotiicon="/usr/share/awesome/icons/noti/volbar/bar_25.png"' | awesome-client
	echo 'volnoti()' | awesome-client
	return 0
	fi

	if [ $VOLUME -gt 25 ] && [ $VOLUME -le 30 ]; then
	echo 'volnotiicon="/usr/share/awesome/icons/noti/volbar/bar_30.png"' | awesome-client
	echo 'volnoti()' | awesome-client
	return 0
	fi

	if [ $VOLUME -gt 30 ] && [ $VOLUME -le 35 ]; then
	echo 'volnotiicon="/usr/share/awesome/icons/noti/volbar/bar_35.png"' | awesome-client
	echo 'volnoti()' | awesome-client
	return 0
	fi

	if [ $VOLUME -gt 35 ] && [ $VOLUME -le 40 ]; then
	echo 'volnotiicon="/usr/share/awesome/icons/noti/volbar/bar_40.png"' | awesome-client
	echo 'volnoti()' | awesome-client
	return 0
	fi

	if [ $VOLUME -gt 40 ] && [ $VOLUME -le 45 ]; then
	echo 'volnotiicon="/usr/share/awesome/icons/noti/volbar/bar_45.png"' | awesome-client
	echo 'volnoti()' | awesome-client
	return 0
	fi

	if [ $VOLUME -gt 45 ] && [ $VOLUME -le 50 ]; then
	echo 'volnotiicon="/usr/share/awesome/icons/noti/volbar/bar_50.png"' | awesome-client
	echo 'volnoti()' | awesome-client
	return 0
	fi

	if [ $VOLUME -gt 50 ] && [ $VOLUME -le 55 ]; then
	echo 'volnotiicon="/usr/share/awesome/icons/noti/volbar/bar_55.png"' | awesome-client
	echo 'volnoti()' | awesome-client
	return 0
	fi

	if [ $VOLUME -gt 55 ] && [ $VOLUME -le 60 ]; then
	echo 'volnotiicon="/usr/share/awesome/icons/noti/volbar/bar_60.png"' | awesome-client
	echo 'volnoti()' | awesome-client
	return 0
	fi

	if [ $VOLUME -gt 60 ] && [ $VOLUME -le 65 ]; then
	echo 'volnotiicon="/usr/share/awesome/icons/noti/volbar/bar_65.png"' | awesome-client
	echo 'volnoti()' | awesome-client
	return 0
	fi

	if [ $VOLUME -gt 65 ] && [ $VOLUME -le 70 ]; then
	echo 'volnotiicon="/usr/share/awesome/icons/noti/volbar/bar_70.png"' | awesome-client
	echo 'volnoti()' | awesome-client
	return 0
	fi

	if [ $VOLUME -gt 70 ] && [ $VOLUME -le 75 ]; then
	echo 'volnotiicon="/usr/share/awesome/icons/noti/volbar/bar_75.png"' | awesome-client
	echo 'volnoti()' | awesome-client
	return 0
	fi

	if [ $VOLUME -gt 75 ] && [ $VOLUME -le 80 ]; then
	echo 'volnotiicon="/usr/share/awesome/icons/noti/volbar/bar_80.png"' | awesome-client
	echo 'volnoti()' | awesome-client
	return 0
	fi

	if [ $VOLUME -gt 80 ] && [ $VOLUME -le 85 ]; then
	echo 'volnotiicon="/usr/share/awesome/icons/noti/volbar/bar_85.png"' | awesome-client
	echo 'volnoti()' | awesome-client
	return 0
	fi

	if [ $VOLUME -gt 85 ] && [ $VOLUME -le 90 ]; then
	echo 'volnotiicon="/usr/share/awesome/icons/noti/volbar/bar_90.png"' | awesome-client
	echo 'volnoti()' | awesome-client
	return 0
	fi

	if [ $VOLUME -gt 90 ] && [ $VOLUME -le 95 ]; then
	echo 'volnotiicon="/usr/share/awesome/icons/noti/volbar/bar_95.png"' | awesome-client
	echo 'volnoti()' | awesome-client
	return 0
	fi
	
fi

exit 0

Last edited by intrntbrn (2012-10-16 08:39:22)

Offline

#731 2012-04-24 15:10:16

donniezazen
Member
From: Salt Lake City
Registered: 2011-06-24
Posts: 671
Website

Re: Share your Awesome(WM) desktop!

@intrntbrn Very cool. Thanks for sharing.

Offline

#732 2012-04-24 22:52:13

TheImmortalPhoenix
Member
From: 127.0.0.1
Registered: 2011-08-13
Posts: 436

Re: Share your Awesome(WM) desktop!

Hello, does anyone know how to replace icons with letters in mylayoutbox? I mean that when i'm on floating/fair/whatever layout i don't want the icon to be shown but i want that "floating"/"fair"/"whatever" is shown instead

Offline

#733 2012-04-25 00:00:35

intrntbrn
Member
From: Germany
Registered: 2011-12-01
Posts: 66

Re: Share your Awesome(WM) desktop!

just read the references! awesome.naquadah.org/doc/api/modules/awful.layout.html

to get the name: (didnt tested)

awful.layout.getname(awful.layout.get(mouse.screen))

make a textwidget, which is automatically updated by layout switches.
maybe theres an easier way.

Last edited by intrntbrn (2012-04-25 00:07:51)

Offline

#734 2012-04-25 07:05:29

flexo3001
Member
From: berlin
Registered: 2012-01-13
Posts: 95

Re: Share your Awesome(WM) desktop!

Hey everone out there!

i'm now using awesome for 5 months i guess. at the moment i try to improve my desktop and i'm searching for a awesome widget like gnome3's panel calendar with google calendar support(sheduled tasks/appointments for each day). in the internet i found gcalcli an python-gdata, but i don't have the knowhow to integrate it in awesome. does anybody have a widget with this functionality?

thanks, flexo

Last edited by flexo3001 (2012-04-25 07:17:24)


Fight war not wars, destroy power not people!

Offline

#735 2012-04-25 16:18:55

nesneros
Member
From: Arizona
Registered: 2012-04-25
Posts: 20

Re: Share your Awesome(WM) desktop!

Please excuse my ignorance if this is the wrong forum/thread for this question.

I am new to Arch and am looking to try out a WM (never used one before) and was looking to use Awesome WM.  One question however, what audio/media player are most of you using, or does it come with one already?


{ github | arch }

Offline

#736 2012-04-25 16:28:55

TheImmortalPhoenix
Member
From: 127.0.0.1
Registered: 2011-08-13
Posts: 436

Re: Share your Awesome(WM) desktop!

flexo3001 wrote:

Hey everone out there!

i'm now using awesome for 5 months i guess. at the moment i try to improve my desktop and i'm searching for a awesome widget like gnome3's panel calendar with google calendar support(sheduled tasks/appointments for each day). in the internet i found gcalcli an python-gdata, but i don't have the knowhow to integrate it in awesome. does anybody have a widget with this functionality?

thanks, flexo

Look at previous pages wink i added my configs in which there is the widget you are interested to...it's called calendar.lua wink

Offline

#737 2012-04-25 16:29:16

Into the Pit
Member
Registered: 2010-09-04
Posts: 37

Re: Share your Awesome(WM) desktop!

nesneros wrote:

what audio/media player are most of you using, or does it come with one already?

I'm using MPD running on my Homeserver and as client ncmpcpp. So i can connect over the Network with my server and control the music on the local machine.

Offline

#738 2012-04-25 17:04:11

nesneros
Member
From: Arizona
Registered: 2012-04-25
Posts: 20

Re: Share your Awesome(WM) desktop!

Into the Pit wrote:
nesneros wrote:

what audio/media player are most of you using, or does it come with one already?

I'm using MPD running on my Homeserver and as client ncmpcpp. So i can connect over the Network with my server and control the music on the local machine.

Awesome!  I will definitely give that one a look over when I get home smile


{ github | arch }

Offline

#739 2012-04-25 18:40:19

intrntbrn
Member
From: Germany
Registered: 2011-12-01
Posts: 66

Re: Share your Awesome(WM) desktop!

TheImmortalPhoenix wrote:
flexo3001 wrote:

Hey everone out there!

i'm now using awesome for 5 months i guess. at the moment i try to improve my desktop and i'm searching for a awesome widget like gnome3's panel calendar with google calendar support(sheduled tasks/appointments for each day). in the internet i found gcalcli an python-gdata, but i don't have the knowhow to integrate it in awesome. does anybody have a widget with this functionality?

thanks, flexo

Look at previous pages wink i added my configs in which there is the widget you are interested to...it's called calendar.lua wink


i think he wants more something like: https://awesome.naquadah.org/wiki/Blingbling
this calendar widgets has task warrior support. maybe theres a google calendar plugin for task warrior.

400px-Blingbling_calendar_task.png

Last edited by intrntbrn (2012-04-25 18:41:41)

Offline

#740 2012-04-29 00:14:19

TheImmortalPhoenix
Member
From: 127.0.0.1
Registered: 2011-08-13
Posts: 436

Re: Share your Awesome(WM) desktop!

Hi men, i've have a problem with pacman widget..sorry if i ask here but i think that the problem is so stupid that it's foolish to open a thread apart...anyway, in my pacman.conf i ignored 3 packages and so the widgets always show 3 available upgrades...is there a way to show 0 instead of 3? Maybe messing with wc. cut and sed commands...

Meanwhile i show you my new stop wibox...i've integrated menu and prompts (run and run in terminal):

vZGswYQ

Double click + View Image to see full size...

http://i.imgur.com/nPt9e.jpg

Last edited by TheImmortalPhoenix (2012-04-29 03:38:24)

Offline

#741 2012-04-29 05:55:44

Into the Pit
Member
Registered: 2010-09-04
Posts: 37

Re: Share your Awesome(WM) desktop!

TheImmortalPhoenix wrote:

anyway, in my pacman.conf i ignored 3 packages and so the widgets always show 3 available upgrades...is there a way to show 0 instead of 3? Maybe messing with wc. cut and sed commands...

I don't think, that there is a chance to get them away or to tell the widget not to show ignored Packages. The output in the widget is

pacman -Qu

and the manpage says nothing about a function to ignore the ignored packages. would be fine, if there's an other solution for that.

Offline

#742 2012-04-29 10:37:45

Varg
Member
From: Belgium
Registered: 2010-07-07
Posts: 272

Re: Share your Awesome(WM) desktop!

Crosspost from the monthly thread:


tZGszMQ

Offline

#743 2012-04-29 12:54:22

onearm
Member
From: Anywhere but here
Registered: 2006-07-06
Posts: 359
Website

Re: Share your Awesome(WM) desktop!

Spring has come so time for warmer colours

Clean

tZGs0OA

Dirty (ttytter inside tmux, newsbeuter)

tZGs0YQ

Last edited by onearm (2012-04-29 12:54:32)


To get something done, a committee should consist of no more than three persons, two of them absent.
--
My Github

Offline

#744 2012-04-30 02:35:47

f4r4y
Member
From: Brasil
Registered: 2010-04-18
Posts: 9

Re: Share your Awesome(WM) desktop!

intrntbrn wrote:

created some nice notifications using just naughty and images. it isnt very elegant, but it works great!
messenger is mcabber.
...

icons: http://www9.zippyshare.com/v/27178537/file.html

...

@intrntbrn your file is 0mb (empty), can you upload again pls

Offline

#745 2012-04-30 06:36:30

intrntbrn
Member
From: Germany
Registered: 2011-12-01
Posts: 66

Re: Share your Awesome(WM) desktop!

f4r4y wrote:
intrntbrn wrote:

created some nice notifications using just naughty and images. it isnt very elegant, but it works great!
messenger is mcabber.
...

icons: http://www9.zippyshare.com/v/27178537/file.html

...

@intrntbrn your file is 0mb (empty), can you upload again pls

another hoster:

http://speedy.sh/4AbD7/noti.zip

Offline

#746 2012-04-30 08:32:05

gregor
Member
From: /planet/tmpfs
Registered: 2011-06-20
Posts: 175

Re: Share your Awesome(WM) desktop!

onearm wrote:

Spring has come so time for warmer colours
http://ompldr.org/tZGs0OA

if that's you're sister ,please post you're address to

Offline

#747 2012-04-30 12:54:48

f4r4y
Member
From: Brasil
Registered: 2010-04-18
Posts: 9

Re: Share your Awesome(WM) desktop!

intrntbrn wrote:

thanks, it worked !!

Offline

#748 2012-05-01 07:12:52

onearm
Member
From: Anywhere but here
Registered: 2006-07-06
Posts: 359
Website

Re: Share your Awesome(WM) desktop!

gregor wrote:

if that's you're sister ,please post you're address to

No it isn't and I don't wish it was because I'm going to marry that girl (as soon as I can find her among just 7 billion people. A simple task isn't it? big_smile)


To get something done, a committee should consist of no more than three persons, two of them absent.
--
My Github

Offline

#749 2012-05-02 03:12:23

boswbr25
Member
Registered: 2012-02-29
Posts: 63

Re: Share your Awesome(WM) desktop!

New to Awesome but I'm lovin it.  My desktop is pretty much standard Zenburn but I will show it bc there are a few changes.

Clean: tZGxhcA

Dirty: tZGxhcQ

I had a couple quick questions that I thought might be able to be answered here rather than starting a new topic.  I tried looking back through the thread but I didn't make it through all 30 pages so they may have been answered before (Sorry if they were).

1. Is there a way to get the pacman updates widget to show the updates available without manually doing a pacman -Syy?

2. Does anyone got a good way to add Reboot and Shutdown entries to the menu that won't require a password?  I tried a few ideas but the only way I could get it to work is to use "gksu".

Sorry for the long post.  Thanks for all the info everyone has posted on this thread.  I think I got more help from here than the wiki when transitioning to Awesome smile.

~Boz~

Last edited by boswbr25 (2012-05-02 03:13:33)

Offline

#750 2012-05-02 03:49:18

boswbr25
Member
Registered: 2012-02-29
Posts: 63

Re: Share your Awesome(WM) desktop!

TheImmortalPhoenix wrote:

Hi men, i've have a problem with pacman widget..sorry if i ask here but i think that the problem is so stupid that it's foolish to open a thread apart...anyway, in my pacman.conf i ignored 3 packages and so the widgets always show 3 available upgrades...is there a way to show 0 instead of 3? Maybe messing with wc. cut and sed commands...

I can't remember where I read it but I saw someone else with the same issue somewhere and he said that he changed the widget script to return '' if the value is 0 or 3 (for him I think it was 1 but same concept should work).

Offline

Board footer

Powered by FluxBB