Commit 4bc55605 authored by epsi sayidina's avatar epsi sayidina

awesome: 4.3: statusbar: font awesome

parent be8f95be
local icondir = ""
-- copycat-multicolor
icondir = theme_path .. "icons/copycat-multicolor/"
theme.submenu_icon = icondir .. "submenu.png"
theme.widget_temp = icondir .. "temp.png"
theme.widget_uptime = icondir .. "ac.png"
theme.widget_cpu = icondir .. "cpu.png"
theme.widget_fs = icondir .. "fs.png"
theme.widget_mem = icondir .. "mem.png"
theme.widget_note = icondir .. "note.png"
theme.widget_note_on = icondir .. "note_on.png"
theme.widget_mail = icondir .. "mail.png"
theme.widget_batt = icondir .. "bat.png"
theme.widget_clock = icondir .. "clock.png"
theme.widget_vol = icondir .. "spkr.png"
-- clone
local icondir = theme_path .. "icons/copy/"
theme.widget_weather = icondir .. "dish.png"
theme.widget_netdown = icondir .. "net_down.png"
theme.widget_netup = icondir .. "net_up.png"
-- override for arrow statusbar
local icondir = theme_path .. "icons/copy/"
theme.widget_temp = icondir .. "temp.png"
theme.widget_uptime = icondir .. "ac.png"
theme.widget_cpu = icondir .. "cpu.png"
theme.widget_fs = icondir .. "fs.png"
theme.widget_mem = icondir .. "mem.png"
theme.widget_batt = icondir .. "bat.png"
theme.widget_clock = icondir .. "clock.png"
-- copycat-copland
local icondir = theme_path .. "icons/copycat-copland/"
theme.monitor_disk = icondir .. "disk.png"
theme.monitor_vol = icondir .. "vol.png"
theme.monitor_vol_low = icondir .. "vol_low.png"
theme.monitor_vol_no = icondir .. "vol_no.png"
theme.monitor_vol_mute = icondir .. "vol_mute.png"
theme.monitor_ac = icondir .. "ac.png"
theme.monitor_bat = icondir .. "bat.png"
theme.monitor_bat_low = icondir .. "bat_low.png"
theme.monitor_bat_no = icondir .. "bat_no.png"
local icondir = ""
-- Fort Awesome
icondir = theme_path .. "icons/fontawesome/png40/"
theme.widget_wifi = icondir .. "wifi"
theme.widget_temp = icondir .. "thermometer-half"
theme.widget_uptime = icondir .. "charging-station.png"
theme.widget_cpu = icondir .. "microchip.png"
theme.widget_fs = icondir .. "hdd.png"
theme.widget_mem = icondir .. "memory.png"
theme.widget_note = icondir .. "music.png"
theme.widget_batt = icondir .. "battery-full.png"
theme.widget_clock = icondir .. "clock.png"
theme.widget_vol = icondir .. "volume-up.png"
theme.widget_weather = icondir .. "cloud.png"
theme.widget_netdown = icondir .. "download.png"
theme.widget_netup = icondir .. "upload.png"
theme.monitor_disk = icondir .. "hdd.png"
theme.monitor_vol = icondir .. "volume-up.png"
theme.monitor_vol_low = icondir .. "volume-down.png"
theme.monitor_vol_no = icondir .. "volume-off.png"
theme.monitor_vol_mute = icondir .. "volume-mute..png"
theme.monitor_ac = icondir .. "charging-station.png"
theme.monitor_bat = icondir .. "battery-three-quarters.png"
theme.monitor_bat_low = icondir .. "battery-quarters.png"
theme.monitor_bat_no = icondir .. "battery-empty.png"
#!/usr/bin/env bash
esc=""
boldon="${esc}[1m";
boldoff="${esc}[22m"
redf="${esc}[31m";
bluef="${esc}[34m";
reset="${esc}[0m"
i=0
while read line
do
line=${line##*/}
array[ $i ]=${line%.png}
(( i++ ))
done < <(ls png20/*.png)
for i in ${array[@]};
do
echo "${boldon}${redf}convert${boldoff} ${bluef}transparent-40x40.png png20/$i.png -gravity center -compose over -composite png40/$i.png${reset}"
convert transparent-40x40.png png20/$i.png -gravity center -compose over -composite png40/$i.png
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment