Compare commits

..

55 Commits

Author SHA1 Message Date
Kolan Sh c5b76b14d5 Thunderbird menu item and tag. 2013-03-12 00:29:18 +04:00
Kolan Sh fba923c5a0 'next wall' button changes wallpaper 2013-03-12 00:29:18 +04:00
Kolan Sh 85874ba9ee wallpaper.lua added 2013-03-12 00:29:17 +04:00
Kolan Sh cf43f74a22 wallpaper.lua added 2013-03-12 00:29:17 +04:00
Kolan Sh 3802cb877b Cinelerra menu item added. 2013-03-12 00:29:17 +04:00
Kolan Sh 6cb61f1565 Spicy menu item and apprules. 2013-03-12 00:29:17 +04:00
Kolan Sh 2dbfb4e55c GConf-editor menu item added. 2013-03-12 00:29:17 +04:00
Kolan Sh 221f4099dd Ctrl+Alt+Space fix: require("apprules") 2013-03-12 00:29:17 +04:00
Kolan Sh 20bad92e26 Avidemux icon item updated. 2013-03-12 00:29:17 +04:00
Kolan Sh daa56c7337 wiredup->wired_down_up, wifiup->wifi_down_up 2013-03-12 00:29:16 +04:00
Kolan Sh 8a5ea9611a battery.png updated 2013-03-12 00:29:16 +04:00
Kolan Sh c2feaaa523 Icons updated: net-wired2.png -> net-wired.png. 2013-03-12 00:29:16 +04:00
Kolan Sh 59d9e596cb Icons updated: net-wired2.png -> net-wired.png. 2013-03-12 00:29:16 +04:00
Kolan Sh 4d3b737076 Icons added: up_down.png. 2013-03-12 00:29:16 +04:00
Kolan Sh 004f4ee7ce Icons updated: vol-hi.png. 2013-03-12 00:29:15 +04:00
Kolan Sh d72e50a091 Icons updated: net-wired2.png. 2013-03-12 00:29:15 +04:00
Kolan Sh d26c7b101d Icons updated: battery.png. 2013-03-12 00:29:15 +04:00
Kolan Sh 66b75a63b2 Icons updated: cpu, mem, net-wifi. 2013-03-12 00:29:15 +04:00
Kolan Sh 0ab30aed03 Key bindings fix (Ctrl+Alt+Space). 2013-03-12 00:29:15 +04:00
Kolan Sh 6106dbcf23 rc.lua: Spare comments removed. Good titles added. 2013-03-12 00:29:15 +04:00
Kolan Sh 9d38d02e17 Remmina menu item and rules added. 2013-03-12 00:29:14 +04:00
Kolan Sh e891642d6d XML Spy menu item added. 2013-03-12 00:29:14 +04:00
Kolan Sh a20842762a Charley menu item updated. 2013-03-12 00:29:14 +04:00
Kolan Sh da8f495a45 Small fix. 2013-03-12 00:29:14 +04:00
Kolan Sh e735494f7c GIMP dialogs in any tag. 2013-03-12 00:29:14 +04:00
Kolan Sh ede611d09b GIMP one window screen. 2013-03-12 00:29:14 +04:00
Kolan Sh ea4157344d Charley game menu. 2013-03-12 00:29:13 +04:00
Kolan Sh 44e5b2312d Menu updated. 2013-03-12 00:29:13 +04:00
Kolan Sh 2eb243412b Games menu. 2013-03-12 00:29:13 +04:00
Kolan Sh f865728e6c MyGameMenu fixed. 2013-03-12 00:29:13 +04:00
Kolan Sh 16f3fe10aa Tags layout updated. 2013-03-12 00:29:13 +04:00
Kolan Sh 83e4477fa8 Aqemu menu item and tag added. 2013-03-12 00:29:13 +04:00
Kolan Sh 599b97e387 mpd keys updated. 2013-03-12 00:29:13 +04:00
Kolan Sh 62f521d9b4 Menu: gcolor -> gcolor2. 2013-03-12 00:29:13 +04:00
Kolan Sh 7a42dff766 Menu 2013-03-12 00:29:13 +04:00
Kolan Sh 5bbcbe0afb mpd keys 2013-03-12 00:29:12 +04:00
Kolan Sh 9236917e8d Disable stupid Shift+Q binding 2013-03-12 00:29:12 +04:00
Kolan Sh f4ad30a64d Layout for 9 tag changed. 2013-03-12 00:29:12 +04:00
Kolan Sh 4d9e8a262d Network widget caching. 2013-03-12 00:29:12 +04:00
Kolan Sh 60a9b7c240 gentoo-silver xcursor theme 2013-03-12 00:29:12 +04:00
Kolan Sh 69eb7832cc autostart numlockx & 2013-03-12 00:29:12 +04:00
Kolan Sh 005158e5c6 'numlockx on' on startup 2013-03-12 00:29:12 +04:00
Kolan Sh c0d6de4089 apprules updated 2013-03-12 00:29:12 +04:00
Kolan Sh a3b88d1ce3 up/down.png 2013-03-12 00:29:12 +04:00
Kolan Sh 3498d23495 net-wired.png 2013-03-12 00:29:11 +04:00
Kolan Sh d35846cf02 icons added 2013-03-12 00:29:11 +04:00
Kolan Sh 9a03418293 Widgets: cpu, mem, bat, wired, wifi, sound 2013-03-12 00:29:11 +04:00
Kolan Sh 61cc9a1205 Down/Up widget 2013-03-12 00:29:11 +04:00
Kolan Sh 7647cb57b2 Custom theme 2013-03-12 00:29:11 +04:00
Kolan Sh 65e93c7ae5 Separate apprules.lua 2013-03-12 00:29:11 +04:00
Kolan Sh 9e4507a4a5 tags & apps 2013-03-12 00:29:10 +04:00
Kolan Sh 645fa37537 awesome && xscreensaver && lock 2013-03-12 00:29:10 +04:00
Kolan Sh 40089362a1 Volume control 2013-03-12 00:29:10 +04:00
Kolan Sh d01b333bd0 j-k keys 2013-03-12 00:29:10 +04:00
Kolan Sh 4083b30e97 *.lua files added. 2013-03-12 00:28:52 +04:00
161 changed files with 597 additions and 2126 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 194 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 213 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1000 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

69
apprules.lua Normal file
View File

@ -0,0 +1,69 @@
-- {{{ Rules
awful.rules.rules = {
-- All clients will match this rule.
{ rule = { },
properties = { border_width = beautiful.border_width,
border_color = beautiful.border_normal,
focus = true,
keys = clientkeys,
buttons = clientbuttons } },
{ rule = { class = "URxvt" },
properties = { tag = tags[1][1] } },
{ rule = { class = "Firefox" },
properties = { tag = tags[1][2] } },
{ rule = { class = "Thunderbird" },
properties = { tag = tags[1][2] } },
{ rule = { class = "VirtualBox" },
properties = { tag = tags[1][3] } },
{ rule = { class = "Remmina" },
properties = { tag = tags[1][3] } },
{ rule = { class = "Spicy" },
properties = { tag = tags[1][3] } },
{ rule = { class = "Aqemu" },
properties = { tag = tags[1][3] } },
{ rule = { class = "Soffice" },
properties = { floating = false, tag = tags[1][4] } },
{ rule = { class = "libreoffice-writer" },
properties = { floating = false, tag = tags[1][4] } },
{ rule = { class = "libreoffice-calc" },
properties = { floating = false, tag = tags[1][4] } },
{ rule = { class = "libreoffice-draw" },
properties = { floating = false, tag = tags[1][4] } },
{ rule = { class = "libreoffice-base" },
properties = { floating = false, tag = tags[1][4] } },
{ rule = { class = "libreoffice-math" },
properties = { floating = false, tag = tags[1][4] } },
{ rule = { class = "libreoffice-impress" },
properties = { floating = false, tag = tags[1][4] } },
{ rule = { class = "libreoffice-startcenter" },
properties = { floating = false, tag = tags[1][4] } },
{ rule = { class = "Okular" },
properties = { floating = false, tag = tags[1][4] } },
{ rule = { class = "Lyx" },
properties = { tag = tags[1][4] } },
{ rule = { class = "Evince" },
properties = { tag = tags[1][4] } },
{ rule = { class = "Qt Jambi application" },
properties = { tag = tags[1][5] } },
{ rule = { class = "Pidgin" },
properties = { tag = tags[1][9] } },
{ rule = { class = "Stardict" },
properties = { tag = tags[1][8] } },
{ rule = { class = "MPlayer" },
properties = { floating = true } },
{ rule = { class = "Texreport-gtk" },
properties = { floating = true } },
{ rule = { class = "etracer" },
properties = { tag = tags[1][6] } },
{ rule = { class = "Eboard" },
properties = { tag = tags[1][6] } },
{ rule = { class = "charleygame-bin" },
properties = { tag = tags[1][6] } },
{ rule = { class = "lincity-ng" },
properties = { tag = tags[1][6] } },
-- XTerm на пятом и шестом теге первого экрана
-- { rule = { class = "XTerm" }, callback = function(c) c:tags({tags[1][4], tags[1][6]}) end},
}
-- }}}

View File

@ -1,18 +1,7 @@
os.execute ("setxkbmap -layout 'us,ru'")
os.execute ("setxkbmap -option 'grp:shift_toggle,grp_led:scroll,terminate:ctrl_alt_bksp'")
os.execute ("xrandr --setprovideroutputsource modesetting NVIDIA-0 && xrandr --auto")
--os.execute ("/usr/bin/nvidia-settings -a [gpu:0]/GPUPowerMizerMode=1")
--os.execute ("nvidia-smi -pm ENABLED")
--os.execute (os.getenv("HOME").."/.config/awesome/set_wall.sh "..os.getenv("HOME").."/.config/awesome/wallpaper.slink &")
os.execute ("pgrep xscreensaver || xscreensaver -no-splash &")
os.execute ("pgrep mail_loop.sh || "..os.getenv("HOME").."/.config/awesome/mail_loop.sh &")
os.execute ("pgrep nm-applet || nm-applet &")
os.execute ("numlockx on &")
--os.execute ("smbnetfs "..os.getenv("HOME").."/smb &")
--os.execute ("pgrep lightsOn.sh || "..os.getenv("HOME").."/.config/awesome/lightsOn.sh &")
--os.execute ("pgrep urxvt || urxvt &")
--os.execute ("pgrep stardict || stardict &")
--os.execute ("pgrep pidgin || pidgin &")
--os.execute ("pgrep firefox || (firefox || firefox-bin) &")
--os.execute ("xrandr --output HDMI-0 --left-of eDP-1-1 --mode 1920x1080 &")
--os.execute (os.getenv("HOME").."/.config/awesome/xrandr.sh &")
os.execute ("xsetroot -cursor_name left_ptr &")
os.execute ("xscreensaver -no-splash &")
os.execute ("pidgin &")
os.execute ("pgrep stardict || stardict &")
os.execute ("pgrep urxvt || urxvt &")
os.execute ("pgrep firefox || firefox &")

View File

@ -1,97 +0,0 @@
-- Grab environment
local utils = require("freedesktop.utils")
local io = io
local string = string
local table = table
local os = os
local ipairs = ipairs
local pairs = pairs
module("freedesktop.menu")
all_menu_dirs = {
'/usr/share/applications/',
'/usr/local/share/applications/',
'~/.local/share/applications/'
}
show_generic_name = false
--- Create menus for applications
-- @param menu_dirs A list of application directories (optional).
-- @return A prepared menu w/ categories
function new(arg)
-- the categories and their synonyms where shamelessly copied from lxpanel
-- source code.
local programs = {}
local config = arg or {}
programs['AudioVideo'] = {}
programs['Development'] = {}
programs['Education'] = {}
programs['Game'] = {}
programs['Graphics'] = {}
programs['Network'] = {}
programs['Office'] = {}
programs['Settings'] = {}
programs['System'] = {}
programs['Utility'] = {}
programs['Other'] = {}
for i, dir in ipairs(config.menu_dirs or all_menu_dirs) do
local entries = utils.parse_desktop_files({dir = dir})
for j, program in ipairs(entries) do
-- check whether to include in the menu
if program.show and program.Name and program.cmdline then
if show_generic_name and program.GenericName then
program.Name = program.Name .. ' (' .. program.GenericName .. ')'
end
local target_category = nil
if program.categories then
for _, category in ipairs(program.categories) do
if programs[category] then
target_category = category
break
end
end
end
if not target_category then
target_category = 'Other'
end
if target_category then
table.insert(programs[target_category], { program.Name, program.cmdline, program.icon_path })
end
end
end
end
-- sort each submenu alphabetically case insensitive
for k, v in pairs(programs) do
table.sort(v, function(a, b) return a[1]:lower() < b[1]:lower() end)
end
local menu = {
{ "Accessories", programs["Utility"], utils.lookup_icon({ icon = 'applications-accessories.png' }) },
{ "Development", programs["Development"], utils.lookup_icon({ icon = 'applications-development.png' }) },
{ "Education", programs["Education"], utils.lookup_icon({ icon = 'applications-science.png' }) },
{ "Games", programs["Game"], utils.lookup_icon({ icon = 'applications-games.png' }) },
{ "Graphics", programs["Graphics"], utils.lookup_icon({ icon = 'applications-graphics.png' }) },
{ "Internet", programs["Network"], utils.lookup_icon({ icon = 'applications-internet.png' }) },
{ "Multimedia", programs["AudioVideo"], utils.lookup_icon({ icon = 'applications-multimedia.png' }) },
{ "Office", programs["Office"], utils.lookup_icon({ icon = 'applications-office.png' }) },
{ "Other", programs["Other"], utils.lookup_icon({ icon = 'applications-other.png' }) },
{ "Settings", programs["Settings"], utils.lookup_icon({ icon = 'preferences-desktop.png' }) },
{ "System Tools", programs["System"], utils.lookup_icon({ icon = 'applications-system.png' }) },
}
-- Removing empty entries from menu
local cleanedMenu = {}
for index, item in ipairs(menu) do
itemTester = item[2]
if itemTester[1] then
table.insert(cleanedMenu, item)
end
end
return cleanedMenu
end

View File

@ -1,258 +0,0 @@
-- Grab environment
local io = io
local os = os
local table = table
local type = type
local ipairs = ipairs
local pairs = pairs
module("freedesktop.utils")
terminal = 'xterm'
icon_theme = nil
all_icon_sizes = {
'128x128',
'96x96',
'72x72',
'64x64',
'48x48',
'36x36',
'32x32',
'24x24',
'22x22',
'16x16'
}
all_icon_types = {
'apps',
'actions',
'devices',
'places',
'categories',
'status',
'mimetypes'
}
all_icon_paths = { os.getenv("HOME") .. '/.icons/', '/usr/share/icons/' }
icon_sizes = {}
local mime_types = {}
function get_lines(...)
local f = io.popen(...)
return function () -- iterator
local data = f:read()
if data == nil then f:close() end
return data
end
end
function file_exists(filename)
local file = io.open(filename, 'r')
local result = (file ~= nil)
if result then
file:close()
end
return result
end
function lookup_icon(arg)
if arg.icon:sub(1, 1) == '/' and (arg.icon:find('.+%.png') or arg.icon:find('.+%.xpm')) then
-- icons with absolute path and supported (AFAICT) formats
return arg.icon
else
local icon_path = {}
local icon_themes = {}
local icon_theme_paths = {}
if icon_theme and type(icon_theme) == 'table' then
icon_themes = icon_theme
elseif icon_theme then
icon_themes = { icon_theme }
end
for i, theme in ipairs(icon_themes) do
for j, path in ipairs(all_icon_paths) do
table.insert(icon_theme_paths, path .. theme .. '/')
end
-- TODO also look in parent icon themes, as in freedesktop.org specification
end
table.insert(icon_theme_paths, '/usr/share/icons/hicolor/') -- fallback theme cf spec
local isizes = icon_sizes
for i, sz in ipairs(all_icon_sizes) do
table.insert(isizes, sz)
end
for i, icon_theme_directory in ipairs(icon_theme_paths) do
for j, size in ipairs(arg.icon_sizes or isizes) do
for k, icon_type in ipairs(all_icon_types) do
table.insert(icon_path, icon_theme_directory .. size .. '/' .. icon_type .. '/')
end
end
end
-- lowest priority fallbacks
table.insert(icon_path, '/usr/share/pixmaps/')
table.insert(icon_path, '/usr/share/icons/')
table.insert(icon_path, '/usr/share/app-install/icons/')
for i, directory in ipairs(icon_path) do
if (arg.icon:find('.+%.png') or arg.icon:find('.+%.xpm')) and file_exists(directory .. arg.icon) then
return directory .. arg.icon
elseif file_exists(directory .. arg.icon .. '.png') then
return directory .. arg.icon .. '.png'
elseif file_exists(directory .. arg.icon .. '.xpm') then
return directory .. arg.icon .. '.xpm'
end
end
end
end
function lookup_file_icon(arg)
load_mime_types()
local extension = arg.filename:match('%a+$')
local mime = mime_types[extension] or ''
local mime_family = mime:match('^%a+') or ''
-- possible icons in a typical gnome theme (i.e. Tango icons)
local possible_filenames = {
mime,
'gnome-mime-' .. mime,
mime_family,
'gnome-mime-' .. mime_family,
extension
}
for i, filename in ipairs(possible_filenames) do
local icon = lookup_icon({icon = filename, icon_sizes = (arg.icon_sizes or all_icon_sizes)})
if icon then
return icon
end
end
-- If we don't find ad icon, then pretend is a plain text file
return lookup_icon({ icon = 'txt', icon_sizes = arg.icon_sizes or all_icon_sizes })
end
--- Load system MIME types
-- @return A table with file extension <--> MIME type mapping
function load_mime_types()
if #mime_types == 0 then
for line in io.lines('/etc/mime.types') do
if not line:find('^#') then
local parsed = {}
for w in line:gmatch('[^%s]+') do
table.insert(parsed, w)
end
if #parsed > 1 then
for i = 2, #parsed do
mime_types[parsed[i]] = parsed[1]:gsub('/', '-')
end
end
end
end
end
end
--- Parse a .desktop file
-- @param file The .desktop file
-- @param requested_icon_sizes A list of icon sizes (optional). If this list is given, it will be used as a priority list for icon sizes when looking up for icons. If you want large icons, for example, you can put '128x128' as the first item in the list.
-- @return A table with file entries.
function parse_desktop_file(arg)
local program = { show = true, file = arg.file }
for line in io.lines(arg.file) do
for key, value in line:gmatch("(%w+)=(.+)") do
program[key] = value
end
end
-- Don't show the program if NoDisplay is true
-- Only show the program if there is not OnlyShowIn attribute
-- or if it's equal to 'awesome'
if program.NoDisplay == "true" or program.OnlyShowIn ~= nil and program.OnlyShowIn ~= "awesome" then
program.show = false
end
-- Look up for a icon.
if program.Icon then
program.icon_path = lookup_icon({ icon = program.Icon, icon_sizes = (arg.icon_sizes or all_icon_sizes) })
if program.icon_path ~= nil and not file_exists(program.icon_path) then
program.icon_path = nil
end
end
-- Split categories into a table.
if program.Categories then
program.categories = {}
for category in program.Categories:gmatch('[^;]+') do
table.insert(program.categories, category)
end
end
if program.Exec then
if program.Name == nil then
program.Name = ""
end
local cmdline = program.Exec:gsub('%%c', program.Name)
cmdline = cmdline:gsub('%%[fmuFMU]', '')
cmdline = cmdline:gsub('%%k', program.file)
if program.icon_path then
cmdline = cmdline:gsub('%%i', '--icon ' .. program.icon_path)
else
cmdline = cmdline:gsub('%%i', '')
end
if program.Terminal == "true" then
cmdline = terminal .. ' -e ' .. cmdline
end
program.cmdline = cmdline
end
return program
end
--- Parse a directory with .desktop files
-- @param dir The directory.
-- @param icons_size, The icons sizes, optional.
-- @return A table with all .desktop entries.
function parse_desktop_files(arg)
local programs = {}
local files = get_lines('find '.. arg.dir ..' -name "*.desktop" 2>/dev/null')
for file in files do
arg.file = file
table.insert(programs, parse_desktop_file(arg))
end
return programs
end
--- Parse a directory files and subdirs
-- @param dir The directory.
-- @param icons_size, The icons sizes, optional.
-- @return A table with all .desktop entries.
function parse_dirs_and_files(arg)
local files = {}
local paths = get_lines('find '..arg.dir..' -maxdepth 1 -type d')
for path in paths do
if path:match("[^/]+$") then
local file = {}
file.filename = path:match("[^/]+$")
file.path = path
file.show = true
file.icon = lookup_icon({ icon = "folder", icon_sizes = (arg.icon_sizes or all_icon_sizes) })
table.insert(files, file)
end
end
local paths = get_lines('find '..arg.dir..' -maxdepth 1 -type f')
for path in paths do
if not path:find("%.desktop$") then
local file = {}
file.filename = path:match("[^/]+$")
file.path = path
file.show = true
file.icon = lookup_file_icon({ filename = file.filename, icon_sizes = (arg.icon_sizes or all_icon_sizes) })
table.insert(files, file)
end
end
return files
end

View File

Before

Width:  |  Height:  |  Size: 191 B

After

Width:  |  Height:  |  Size: 191 B

View File

Before

Width:  |  Height:  |  Size: 204 B

After

Width:  |  Height:  |  Size: 204 B

View File

Before

Width:  |  Height:  |  Size: 298 B

After

Width:  |  Height:  |  Size: 298 B

View File

Before

Width:  |  Height:  |  Size: 218 B

After

Width:  |  Height:  |  Size: 218 B

View File

Before

Width:  |  Height:  |  Size: 171 B

After

Width:  |  Height:  |  Size: 171 B

BIN
icons/16x16/net-wifi.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 216 B

View File

Before

Width:  |  Height:  |  Size: 217 B

After

Width:  |  Height:  |  Size: 217 B

View File

Before

Width:  |  Height:  |  Size: 299 B

After

Width:  |  Height:  |  Size: 299 B

View File

Before

Width:  |  Height:  |  Size: 247 B

After

Width:  |  Height:  |  Size: 247 B

View File

@ -1,217 +0,0 @@
#!/bin/bash
# lightsOn.sh
# Copyright (c) 2011 iye.cba at gmail com
# url: https://github.com/iye/lightsOn
# This script is licensed under GNU GPL version 2.0 or above
# Description: Bash script that prevents the screensaver and display power
# management (DPMS) to be activated when you are watching Flash Videos
# fullscreen on Firefox and Chromium.
# Can detect mplayer and VLC when they are fullscreen too but I have disabled
# this by default.
# lightsOn.sh needs xscreensaver, kscreensaver or gnome-screensaver to work.
# HOW TO USE: Start the script with the number of seconds you want the checks
# for fullscreen to be done. Example:
# "./lightsOn.sh 120 &" will Check every 120 seconds if Mplayer,
# VLC, Firefox or Chromium are fullscreen and delay screensaver and Power Management if so.
# You want the number of seconds to be ~10 seconds less than the time it takes
# your screensaver or Power Management to activate.
# If you don't pass an argument, the checks are done every 50 seconds.
# Modify these variables if you want this script to detect if Mplayer,
# VLC or Firefox Flash Video are Fullscreen and disable
# xscreensaver/kscreensaver/gnome-screensaver and PowerManagement.
mplayer_detection=0
vlc_detection=0
firefox_flash_detection=1
chromium_flash_detection=1
html5_detection=1 #checks if the browser window is fullscreen; will disable the screensaver if the browser window is in fullscreen so it doesn't work correctly if you always use the browser (Firefox or Chromium) in fullscreen
# YOU SHOULD NOT NEED TO MODIFY ANYTHING BELOW THIS LINE
# enumerate all the attached screens
displays=""
while read id
do
displays="$displays $id"
done< <(xvinfo | sed -n 's/^screen #\([0-9]\+\)$/\1/p')
# Detect screensaver been used (xscreensaver, kscreensaver, gnome-screensaver or none)
if [ `pgrep -l xscreensaver | grep -wc xscreensaver` -ge 1 ];then
screensaver=xscreensaver
elif [ `pgrep -l gnome-screensav | grep -wc gnome-screensav` -ge 1 ];then
screensaver=gnome-screensav
elif [ `pgrep -l kscreensaver | grep -wc kscreensaver` -ge 1 ];then
screensaver=kscreensaver
else
screensaver=None
echo "No screensaver detected"
fi
checkFullscreen()
{
# loop through every display looking for a fullscreen window
for display in $displays
do
#get id of active window and clean output
activ_win_id=`DISPLAY=$DISPLAY.${display} xprop -root _NET_ACTIVE_WINDOW`
#activ_win_id=${activ_win_id#*# } #gives error if xprop returns extra ", 0x0" (happens on some distros)
activ_win_id=${activ_win_id:40:9}
# Skip invalid window ids (commented as I could not reproduce a case
# where invalid id was returned, plus if id invalid
# isActivWinFullscreen will fail anyway.)
#if [ "$activ_win_id" = "0x0" ]; then
# continue
#fi
# Check if Active Window (the foremost window) is in fullscreen state
isActivWinFullscreen=`DISPLAY=$DISPLAY.${display} xprop -id $activ_win_id | grep _NET_WM_STATE_FULLSCREEN`
if [[ "$isActivWinFullscreen" = *NET_WM_STATE_FULLSCREEN* ]];then
isAppRunning
var=$?
if [[ $var -eq 1 ]];then
delayScreensaver
fi
fi
done
}
# check if active windows is mplayer, vlc or firefox
#TODO only window name in the variable activ_win_id, not whole line.
#Then change IFs to detect more specifically the apps "<vlc>" and if process name exist
isAppRunning()
{
#Get title of active window
activ_win_title=`xprop -id $activ_win_id | grep "WM_CLASS(STRING)"` # I used WM_NAME(STRING) before, WM_CLASS more accurate.
# Check if user want to detect Video fullscreen on Firefox, modify variable firefox_flash_detection if you dont want Firefox detection
if [ $firefox_flash_detection == 1 ];then
if [[ "$activ_win_title" = *unknown* || "$activ_win_title" = *plugin-container* ]];then
# Check if plugin-container process is running
flash_process=`pgrep -l plugin-containe | grep -wc plugin-containe`
#(why was I using this line avobe? delete if pgrep -lc works ok)
#flash_process=`pgrep -lc plugin-containe`
if [[ $flash_process -ge 1 ]];then
return 1
fi
fi
fi
# Check if user want to detect Video fullscreen on Chromium, modify variable chromium_flash_detection if you dont want Chromium detection
if [ $chromium_flash_detection == 1 ];then
if [[ "$activ_win_title" = *exe* ]];then
# Check if Chromium Flash process is running
if [[ `pgrep -lfc "chromium-browser --type=plugin --plugin-path=/usr/lib/adobe-flashplugin"` -ge 1 || `pgrep -lfc "chromium-browser --type=plugin --plugin-path=/usr/lib/flashplugin-installer"` -ge 1 ]];then
return 1
fi
fi
fi
#html5 (Firefox or Chromium full-screen)
if [ $html5_detection == 1 ];then
if [[ "$activ_win_title" = *chromium-browser* || "$activ_win_title" = *Firefox* ]];then
#check if firefox or chromium is running.
if [[ `pgrep -l firefox | grep -wc firefox` -ge 1 || `pgrep -l chromium-browse | grep -wc chromium-browse` -ge 1 ]]; then
return 1
fi
fi
fi
#check if user want to detect mplayer fullscreen, modify variable mplayer_detection
if [ $mplayer_detection == 1 ];then
if [[ "$activ_win_title" = *mplayer* || "$activ_win_title" = *MPlayer* ]];then
#check if mplayer is running.
#mplayer_process=`pgrep -l mplayer | grep -wc mplayer`
mplayer_process=`pgrep -lc mplayer`
if [ $mplayer_process -ge 1 ]; then
return 1
fi
fi
fi
# Check if user want to detect vlc fullscreen, modify variable vlc_detection
if [ $vlc_detection == 1 ];then
if [[ "$activ_win_title" = *vlc* ]];then
#check if vlc is running.
#vlc_process=`pgrep -l vlc | grep -wc vlc`
vlc_process=`pgrep -lc vlc`
if [ $vlc_process -ge 1 ]; then
return 1
fi
fi
fi
return 0
}
delayScreensaver()
{
# reset inactivity time counter so screensaver is not started
if [ "$screensaver" == "xscreensaver" ]; then
#This tells xscreensaver to pretend that there has just been user activity. This means that if the screensaver is active (the screen is blanked), then this command will cause the screen to un-blank as if there had been keyboard or mouse activity. If the screen is locked, then the password dialog will pop up first, as usual. If the screen is not blanked, then this simulated user activity will re-start the countdown (so, issuing the -deactivate command periodically is one way to prevent the screen from blanking.)
xscreensaver-command -deactivate > /dev/null
elif [ "$screensaver" == "gnome-screensav" ]; then
dbus-send --session --type=method_call --dest=org.gnome.ScreenSaver --reply-timeout=20000 /org/gnome/ScreenSaver org.gnome.ScreenSaver.SimulateUserActivity > /dev/null
elif [ "$screensaver" == "kscreensaver" ]; then
qdbus org.freedesktop.ScreenSaver /ScreenSaver SimulateUserActivity > /dev/null
fi
#Check if DPMS is on. If it is, deactivate and reactivate again. If it is not, do nothing.
dpmsStatus=`xset -q | grep -ce 'DPMS is Enabled'`
if [ $dpmsStatus == 1 ];then
xset -dpms
xset dpms
fi
}
delay=$1
# If argument empty, use 50 seconds as default.
if [ -z "$1" ];then
delay=50
fi
# If argument is not integer quit.
if [[ $1 = *[^0-9]* ]]; then
echo "The Argument \"$1\" is not valid, not an integer"
echo "Please use the time in seconds you want the checks to repeat."
echo "You want it to be ~10 seconds less than the time it takes your screensaver or DPMS to activate"
exit 1
fi
while true
do
checkFullscreen
sleep $delay
done
exit 0

View File

@ -1,16 +0,0 @@
#!/bin/bash
# mymail_gmail_loop.sh
MAILDIR=/tmp/$USER-mail_loop
while [ 1 ]; do
mkdir --mode=700 $MAILDIR 2>/dev/null
val=$(timeout -k 30 25 ~/.config/awesome/mail_loop_mymail.py)
if [[ "$val" == "" ]]; then val = "?"; fi
echo $val > $MAILDIR/mymail_count
sleep 30
#val=$(timeout -k 30 25 ~/.config/awesome/mail_loop_gmail.py)
#if [[ "$val" == "" ]]; then val = "?"; fi
#echo $val > $MAILDIR/gmail_count
#sleep 30
done

View File

@ -1,19 +0,0 @@
#!/usr/bin/python
# Create ~/.local/share/keyrings/mail_loop_keys.py:
# gmail_login = 'username'
# gmail_password = 'password'
import imaplib,sys,os
try:
sys.path.insert (0, os.getenv("HOME")+"/.local/share/keyrings")
from mail_loop_keys import gmail_login,gmail_password
M=imaplib.IMAP4_SSL("imap.gmail.com", 993)
M.login(gmail_login,gmail_password)
status, counts = M.status("Inbox","(MESSAGES UNSEEN)")
unread = counts[0].split()[4][:-1]
M.logout()
print(int(unread))
except:
print("?")

View File

@ -1,37 +0,0 @@
#!/usr/bin/python
# Create ~/.local/share/keyrings/mail_loop_keys.py:
# mymail_server = 'imap.example.com'
# mymail_port = 143
# mymail_login = 'username'
# mymail_password = 'password'
import imaplib,ssl,sys,os
# http://stackoverflow.com/questions/9713055/certificate-authority-for-imaplib-and-poplib-python
import imaplib,ssl
def IMAP_starttls(self, keyfile=None, certfile=None,cert_reqs=ssl.CERT_NONE,ca_certs=None):
if not 'STARTTLS' in self.capabilities:
raise self.error("STARTTLS extension not supported by server.")
(resp, reply) = self._simple_command("STARTTLS")
self.sock = ssl.wrap_socket(self.sock, keyfile, certfile,cert_reqs=cert_reqs,ca_certs=ca_certs)
self.file = self.sock.makefile('rb')
setattr(imaplib, 'starttls', IMAP_starttls)
imaplib.Commands['STARTTLS']=('NONAUTH',)
try:
sys.path.insert (0, os.getenv("HOME")+"/.local/share/keyrings")
from mail_loop_keys import mymail_server,mymail_port,mymail_login,mymail_password
M=imaplib.IMAP4(mymail_server, mymail_port)
M.starttls()
M.login(mymail_login,mymail_password)
status, counts = M.status("Inbox","(MESSAGES UNSEEN)")
unread = counts[0].split()[4][:-1]
M.logout()
print(int(unread))
except:
print("?")

1421
rc.lua

File diff suppressed because it is too large Load Diff

View File

@ -1,9 +0,0 @@
#!/bin/sh
if [ -d $1 ]; then
f="$(find $1 -type f | shuf -n1)"
ln -sf "$f" ~/.config/awesome/wallpaper.slink
feh --bg-scale "$f"
else
feh --bg-scale $1
fi

106
theme.lua Normal file
View File

@ -0,0 +1,106 @@
---------------------------
-- Default awesome theme --
---------------------------
theme = {}
theme.font = "sans 8"
theme.bg_normal = "#222222"
theme.bg_focus = "#535d6c"
theme.bg_urgent = "#ff0000"
theme.bg_minimize = "#444444"
theme.fg_normal = "#aaaaaa"
theme.fg_focus = "#ffffff"
theme.fg_urgent = "#ffffff"
theme.fg_minimize = "#ffffff"
theme.border_width = "1"
theme.border_normal = "#000000"
theme.border_focus = "#535d6c"
theme.border_marked = "#91231c"
-- There are other variable sets
-- overriding the default one when
-- defined, the sets are:
-- [taglist|tasklist]_[bg|fg]_[focus|urgent]
-- titlebar_[bg|fg]_[normal|focus]
-- tooltip_[font|opacity|fg_color|bg_color|border_width|border_color]
-- mouse_finder_[color|timeout|animate_timeout|radius|factor]
-- Example:
--theme.taglist_bg_focus = "#ff0000"
-- Display the taglist squares
theme.taglist_squares_sel = "/usr/share/awesome/themes/default/taglist/squarefw.png"
theme.taglist_squares_unsel = "/usr/share/awesome/themes/default/taglist/squarew.png"
theme.tasklist_floating_icon = "/usr/share/awesome/themes/default/tasklist/floatingw.png"
-- Variables set for theming the menu:
-- menu_[bg|fg]_[normal|focus]
-- menu_[border_color|border_width]
theme.menu_submenu_icon = "/usr/share/awesome/themes/default/submenu.png"
theme.menu_height = "15"
theme.menu_width = "100"
-- You can add as many variables as
-- you wish and access them by using
-- beautiful.variable in your rc.lua
--theme.bg_widget = "#cc0000"
-- Define the image to load
theme.titlebar_close_button_normal = "/usr/share/awesome/themes/default/titlebar/close_normal.png"
theme.titlebar_close_button_focus = "/usr/share/awesome/themes/default/titlebar/close_focus.png"
theme.titlebar_ontop_button_normal_inactive = "/usr/share/awesome/themes/default/titlebar/ontop_normal_inactive.png"
theme.titlebar_ontop_button_focus_inactive = "/usr/share/awesome/themes/default/titlebar/ontop_focus_inactive.png"
theme.titlebar_ontop_button_normal_active = "/usr/share/awesome/themes/default/titlebar/ontop_normal_active.png"
theme.titlebar_ontop_button_focus_active = "/usr/share/awesome/themes/default/titlebar/ontop_focus_active.png"
theme.titlebar_sticky_button_normal_inactive = "/usr/share/awesome/themes/default/titlebar/sticky_normal_inactive.png"
theme.titlebar_sticky_button_focus_inactive = "/usr/share/awesome/themes/default/titlebar/sticky_focus_inactive.png"
theme.titlebar_sticky_button_normal_active = "/usr/share/awesome/themes/default/titlebar/sticky_normal_active.png"
theme.titlebar_sticky_button_focus_active = "/usr/share/awesome/themes/default/titlebar/sticky_focus_active.png"
theme.titlebar_floating_button_normal_inactive = "/usr/share/awesome/themes/default/titlebar/floating_normal_inactive.png"
theme.titlebar_floating_button_focus_inactive = "/usr/share/awesome/themes/default/titlebar/floating_focus_inactive.png"
theme.titlebar_floating_button_normal_active = "/usr/share/awesome/themes/default/titlebar/floating_normal_active.png"
theme.titlebar_floating_button_focus_active = "/usr/share/awesome/themes/default/titlebar/floating_focus_active.png"
theme.titlebar_maximized_button_normal_inactive = "/usr/share/awesome/themes/default/titlebar/maximized_normal_inactive.png"
theme.titlebar_maximized_button_focus_inactive = "/usr/share/awesome/themes/default/titlebar/maximized_focus_inactive.png"
theme.titlebar_maximized_button_normal_active = "/usr/share/awesome/themes/default/titlebar/maximized_normal_active.png"
theme.titlebar_maximized_button_focus_active = "/usr/share/awesome/themes/default/titlebar/maximized_focus_active.png"
-- You can use your own command to set your wallpaper
require ("wallpaper")
-- You can use your own layout icons like this:
theme.layout_fairh = "/usr/share/awesome/themes/default/layouts/fairhw.png"
theme.layout_fairv = "/usr/share/awesome/themes/default/layouts/fairvw.png"
theme.layout_floating = "/usr/share/awesome/themes/default/layouts/floatingw.png"
theme.layout_magnifier = "/usr/share/awesome/themes/default/layouts/magnifierw.png"
theme.layout_max = "/usr/share/awesome/themes/default/layouts/maxw.png"
theme.layout_fullscreen = "/usr/share/awesome/themes/default/layouts/fullscreenw.png"
theme.layout_tilebottom = "/usr/share/awesome/themes/default/layouts/tilebottomw.png"
theme.layout_tileleft = "/usr/share/awesome/themes/default/layouts/tileleftw.png"
theme.layout_tile = "/usr/share/awesome/themes/default/layouts/tilew.png"
theme.layout_tiletop = "/usr/share/awesome/themes/default/layouts/tiletopw.png"
theme.layout_spiral = "/usr/share/awesome/themes/default/layouts/spiralw.png"
theme.layout_dwindle = "/usr/share/awesome/themes/default/layouts/dwindlew.png"
theme.awesome_icon = "/usr/share/awesome/icons/awesome16.png"
theme.widget_cpu = "~/.config/awesome/icons/16x16/cpu.png"
theme.widget_mem = "~/.config/awesome/icons/16x16/mem.png"
theme.widget_bat = "~/.config/awesome/icons/16x16/battery.png"
theme.widget_vol = "~/.config/awesome/icons/16x16/vol-hi.png"
theme.widget_wifi = "~/.config/awesome/icons/16x16/net-wifi.png"
theme.widget_wifi_down_up = "~/.config/awesome/icons/16x16/down_up.png"
theme.widget_wired = "~/.config/awesome/icons/16x16/net-wired.png"
theme.widget_wired_down_up = "~/.config/awesome/icons/16x16/down_up.png"
return theme
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=80

View File

@ -1,3 +0,0 @@
Background images:
Mikael Eriksson <mikael_eriksson@miffe.org>
Licensed under CC-BY-SA-3.0

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 967 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 997 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 194 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 194 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 201 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 201 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 395 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 388 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 202 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 202 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 209 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 209 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 321 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 321 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 174 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 195 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 216 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 172 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 170 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 195 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 215 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 168 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 440 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 198 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 187 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 278 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 193 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 345 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 334 B

View File

@ -1,152 +0,0 @@
---------------------------
-- Default SETKEH theme --
---------------------------
local awful = require("awful")
--Configure home path so you dont have too
home_path = os.getenv('HOME') .. '/'
theme = {}
theme.wallpaper = awful.util.getdir("config") .. "/themes/default/bg.png"
--theme.font = "sans 8"
theme.font = "terminus 8"
theme.bg_normal = "#222222"
theme.bg_focus = "#535d6c"
theme.bg_urgent = "#ff0000"
theme.bg_minimize = "#444444"
theme.bg_tooltip = "#d6d6d6"
theme.bg_em = "#5a5a5a"
theme.bg_systray = theme.bg_normal
theme.fg_normal = "#aaaaaa"
theme.fg_focus = "#ffffff"
theme.fg_urgent = "#ffffff"
theme.fg_minimize = "#ffffff"
theme.fg_tooltip = "#1a1a1a"
theme.fg_em = "#d6d6d6"
theme.border_width = "1"
theme.border_normal = "#000000"
theme.border_focus = "#535d6c"
theme.border_marked = "#91231c"
theme.fg_widget_value = "#aaaaaa"
theme.fg_widget_clock = "#aaaaaa"
theme.fg_widget_value_important = "#aaaaaa"
theme.fg_widget = "#908884"
theme.fg_center_widget = "#636363"
theme.fg_end_widget = "#1a1a1a"
theme.bg_widget = "#2a2a2a"
theme.border_widget = "#3F3F3F"
-- There are other variable sets
-- overriding the default one when
-- defined, the sets are:
-- [taglist|tasklist]_[bg|fg]_[focus|urgent]
-- titlebar_[bg|fg]_[normal|focus]
-- tooltip_[font|opacity|fg_color|bg_color|border_width|border_color]
-- mouse_finder_[color|timeout|animate_timeout|radius|factor]
-- Example:
--theme.taglist_bg_focus = "#ff0000"
-- Display the taglist squares
theme.taglist_squares_sel = home_path .. '.config/awesome/themes/default/taglist/squarefw.png'
theme.taglist_squares_unsel = home_path .. '.config/awesome/themes/default/taglist/squarew.png'
theme.tasklist_floating_icon = home_path .. '.config/awesome/themes/default/tasklist/floatingw.png'
-- Variables set for theming the menu:
-- menu_[bg|fg]_[normal|focus]
-- menu_[border_color|border_width]
theme.menu_submenu_icon = home_path .. '.config/awesome/themes/default/submenu.png'
theme.menu_height = "15"
theme.menu_width = "100"
-- You can add as many variables as
-- you wish and access them by using
-- beautiful.variable in your rc.lua
--theme.bg_widget = "#cc0000"
-- Define the image to load
theme.titlebar_close_button_normal = home_path .. '.config/awesome/themes/default/titlebar/close_normal.png'
theme.titlebar_close_button_focus = home_path .. '.config/awesome/themes/default/titlebar/close_focus.png'
theme.titlebar_ontop_button_normal_inactive = home_path .. '.config/awesome/themes/default/titlebar/ontop_normal_inactive.png'
theme.titlebar_ontop_button_focus_inactive = home_path .. '.config/awesome/themes/default/titlebar/ontop_focus_inactive.png'
theme.titlebar_ontop_button_normal_active = home_path .. '/home/setkeh/.config/awesome/themes/default/titlebar/ontop_normal_active.png'
theme.titlebar_ontop_button_focus_active = home_path .. '.config/awesome/themes/default/titlebar/ontop_focus_active.png'
theme.titlebar_sticky_button_normal_inactive = home_path .. '.config/awesome/themes/default/titlebar/sticky_normal_inactive.png'
theme.titlebar_sticky_button_focus_inactive = home_path .. '.config/awesome/themes/default/titlebar/sticky_focus_inactive.png'
theme.titlebar_sticky_button_normal_active = home_path .. '.config/awesome/themes/default/titlebar/sticky_normal_active.png'
theme.titlebar_sticky_button_focus_active = home_path .. '.config/awesome/themes/default/titlebar/sticky_focus_active.png'
theme.titlebar_floating_button_normal_inactive = home_path .. '.config/awesome/themes/default/titlebar/floating_normal_inactive.png'
theme.titlebar_floating_button_focus_inactive = home_path .. '.config/awesome/themes/default/titlebar/floating_focus_inactive.png'
theme.titlebar_floating_button_normal_active = home_path .. '.config/awesome/themes/default/titlebar/floating_normal_active.png'
theme.titlebar_floating_button_focus_active = home_path .. '.config/awesome/themes/default/titlebar/floating_focus_active.png'
theme.titlebar_maximized_button_normal_inactive = home_path .. '.config/awesome/themes/default/titlebar/maximized_normal_inactive.png'
theme.titlebar_maximized_button_focus_inactive = home_path .. '.config/awesome/themes/default/titlebar/maximized_focus_inactive.png'
theme.titlebar_maximized_button_normal_active = home_path .. '.config/awesome/themes/default/titlebar/maximized_normal_active.png'
theme.titlebar_maximized_button_focus_active = home_path .. '.config/awesome/themes/default/titlebar/maximized_focus_active.png'
-- You can use your own layout icons like this:
theme.layout_fairh = home_path .. '.config/awesome/themes/default/layouts/fairhw.png'
theme.layout_fairv = home_path .. '.config/awesome/themes/default/layouts/fairvw.png'
theme.layout_floating = home_path .. '.config/awesome/themes/default/layouts/floatingw.png'
theme.layout_magnifier = home_path .. '.config/awesome/themes/default/layouts/magnifierw.png'
theme.layout_max = home_path .. '.config/awesome/themes/default/layouts/maxw.png'
theme.layout_fullscreen = home_path .. '.config/awesome/themes/default/layouts/fullscreenw.png'
theme.layout_tilebottom = home_path .. '.config/awesome/themes/default/layouts/tilebottomw.png'
theme.layout_tileleft = home_path .. '.config/awesome/themes/default/layouts/tileleftw.png'
theme.layout_tile = home_path .. '.config/awesome/themes/default/layouts/tilew.png'
theme.layout_tiletop = home_path .. '.config/awesome/themes/default/layouts/tiletopw.png'
theme.layout_spiral = home_path .. '.config/awesome/themes/default/layouts/spiralw.png'
theme.layout_dwindle = home_path .. '.config/awesome/themes/default/layouts/dwindlew.png'
theme.awesome_icon = home_path .. '.config/awesome/themes/default/icon/awesome16.png'
theme.arch_icon = home_path .. '.config/awesome/themes/default/icon/Arch.png'
-- {{{ Widgets
theme.widget_disk = awful.util.getdir("config") .. "/Icons/16x16/hdd_clear.png"
theme.widget_cpu = awful.util.getdir("config") .. "/themes/default/widgets/cpu.png"
theme.widget_ac = awful.util.getdir("config") .. "/themes/default/widgets/ac.png"
theme.widget_acblink = awful.util.getdir("config") .. "/themes/default/widgets/acblink.png"
theme.widget_blank = awful.util.getdir("config") .. "/themes/default/widgets/blank.png"
theme.widget_batfull = awful.util.getdir("config") .. "/themes/default/widgets/batfull.png"
theme.widget_batmed = awful.util.getdir("config") .. "/themes/default/widgets/batmed.png"
theme.widget_batlow = awful.util.getdir("config") .. "/themes/default/widgets/batlow.png"
theme.widget_batempty = awful.util.getdir("config") .. "/themes/default/widgets/batempty.png"
theme.widget_vol = awful.util.getdir("config") .. "/themes/default/widgets/vol.png"
theme.widget_mute = awful.util.getdir("config") .. "/themes/default/widgets/mute.png"
theme.widget_pac = awful.util.getdir("config") .. "/themes/default/widgets/pac.png"
theme.widget_pacnew = awful.util.getdir("config") .. "/themes/default/widgets/pacnew.png"
theme.widget_mail = awful.util.getdir("config") .. "/themes/default/widgets/mail.png"
theme.widget_mailnew = awful.util.getdir("config") .. "/themes/default/widgets/mailnew.png"
theme.widget_optimus_off = awful.util.getdir("config") .. "/themes/default/widgets/optimus_off.png"
theme.widget_optimus_on = awful.util.getdir("config") .. "/themes/default/widgets/optimus_on.png"
theme.widget_optimus_overclocked = awful.util.getdir("config") .. "/themes/default/widgets/optimus_overclocked.png"
theme.widget_temp = awful.util.getdir("config") .. "/themes/default/widgets/temp.png"
theme.widget_tempwarn = awful.util.getdir("config") .. "/themes/default/widgets/tempwarm.png"
theme.widget_temphot = awful.util.getdir("config") .. "/themes/default/widgets/temphot.png"
theme.widget_wifi = awful.util.getdir("config") .. "/themes/default/widgets/wifi.png"
theme.widget_nowifi = awful.util.getdir("config") .. "/themes/default/widgets/nowifi.png"
theme.widget_wired = awful.util.getdir("config") .. "/Icons/16x16/net-wired.png"
theme.widget_wired_down_up = awful.util.getdir("config") .. "/Icons/16x16/down_up.png"
theme.widget_wifi_down_up = "~/.config/awesome/Icons/16x16/down_up.png"
theme.widget_mpd = awful.util.getdir("config") .. "/themes/default/widgets/mpd.png"
theme.widget_play = awful.util.getdir("config") .. "/themes/default/widgets/play.png"
theme.widget_pause = awful.util.getdir("config") .. "/themes/default/widgets/pause.png"
theme.widget_ram = awful.util.getdir("config") .. "/themes/default/widgets/ram.png"
theme.widget_mem = awful.util.getdir("config") .. "/themes/default/tp/ram.png"
theme.widget_swap = awful.util.getdir("config") .. "/themes/default/tp/swap.png"
theme.widget_fs = awful.util.getdir("config") .. "/themes/default/tp/fs_01.png"
theme.widget_fs2 = awful.util.getdir("config") .. "/themes/default/tp/fs_02.png"
theme.widget_up = awful.util.getdir("config") .. "/themes/default/tp/up.png"
theme.widget_down = awful.util.getdir("config") .. "/themes/default/tp/down.png"
-- }}}
return theme
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80

Binary file not shown.

Before

Width:  |  Height:  |  Size: 666 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 905 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 598 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 623 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 876 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 614 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1013 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 829 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 816 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 774 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 758 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 756 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 833 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 663 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 677 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 986 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 820 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 740 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 866 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 932 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 917 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 932 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 305 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 601 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 727 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 897 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 938 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 783 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 803 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 669 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 722 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 956 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1013 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 731 B

Some files were not shown because too many files have changed in this diff Show More