You are not logged in.
What is the gtk theme ? grooveshark nice too
Offline
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
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
created some nice notifications using just naughty and images. it isnt very elegant, but it works great!
messenger is mcabber.
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
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
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
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
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?
Offline
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 i added my configs in which there is the widget you are interested to...it's called calendar.lua
Offline
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
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
Offline
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 i added my configs in which there is the widget you are interested to...it's called calendar.lua
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.
Last edited by intrntbrn (2012-04-25 18:41:41)
Offline
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):
Double click + View Image to see full size...
Last edited by TheImmortalPhoenix (2012-04-29 03:38:24)
Offline
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
github - tweets
avatar: The Oathmeal
Offline
Spring has come so time for warmer colours
Clean
Dirty (ttytter inside tmux, newsbeuter)
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
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
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:
Offline
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
...
another hoster:
thanks, it worked !!
Offline
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? )
To get something done, a committee should consist of no more than three persons, two of them absent.
--
My Github
Offline
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.
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 .
~Boz~
Last edited by boswbr25 (2012-05-02 03:13:33)
Offline
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