Compare commits

...

154 Commits

Author SHA1 Message Date
Kolan Sh 86808f50da Mouse middle buttun on Volume runs qpaeq (pulseaudio Equilizer) 2022-03-09 19:34:16 +03:00
Kolan Sh 62048699f1 xrandr fxd 2022-03-06 06:32:15 +03:00
Kolan Sh 46741ec146 QuakeConsole: change screen only on show/hide. 2022-03-06 06:31:43 +03:00
Kolan Sh f0c0b9c09c Move to up/down/left/right screen 2022-03-03 15:00:25 +03:00
Kolan Sh 7cce1e81a4 xrandr && 6 monitors 2022-03-03 14:20:26 +03:00
Kolan Sh 065af1ee3e My custom settings 2022-03-02 13:32:12 +03:00
Kolan Sh bb4e10195e amixer -> pactl (>100%) 2022-02-18 17:09:38 +03:00
Kolan Sh 02a6df886d Fix c.instance = nil 2022-02-15 14:43:05 +03:00
Kolan Sh 5bc940b2ff check c.instance for nil 2022-02-03 23:31:06 +03:00
Kolan Sh 2471492879 0-tag tile 2022-01-28 21:20:04 +03:00
Kolan Sh 78ecab8ecf QuakeConsole: fix start positions. 2022-01-28 21:09:13 +03:00
Kolan Sh f190b4320e fix moving after mouse/key 2022-01-28 19:46:48 +03:00
Kolan Sh 0d1b07e167 fix floating case 2022-01-28 19:30:12 +03:00
Kolan Sh 90fdd53f4c 3 quake consoles 2022-01-28 18:17:21 +03:00
Kolan Sh 0d651da5d1 mv Audiocity -> 8 tag 2022-01-28 17:59:09 +03:00
Kolan Sh d2e0513b03 Tags: 12 -> 10 2022-01-28 17:28:27 +03:00
Kolan Sh 4248e2ff98 QuakeConsole: save fullscreen state. 2022-01-28 17:06:56 +03:00
Kolan Sh 8288a5b426 QuakeConsole fixes: .name -> .instance. 2022-01-28 16:52:12 +03:00
Kolan Sh 54b132728c QuakeConsole: apply position/size on start only. 2022-01-26 00:14:45 +03:00
Kolan Sh 38ad350475 QuakeConsole added. 2022-01-25 16:27:01 +03:00
Kolan Sh a5ed9ac2e9 urxvt options fxd 2022-01-25 16:17:28 +03:00
Kolan Sh f128bf543f Dialog borders. 2021-05-14 19:15:24 +03:00
Kolan Sh 402b4c4000 Optional nVidia Power Management tricks. 2021-05-14 19:15:05 +03:00
Kolan Sh 1fac5825e4 gqview -> geeqie 2021-05-13 16:49:33 +03:00
Kolan Sh 53711db703 Many common changes. 2021-04-16 15:46:13 +03:00
Kolan Sh 952dfd9463 Many fixes on client behaviour: float, full, maximize. 2021-04-07 03:59:57 +03:00
Kolan Sh 409a7c3d2f Fix titlebars/borders for floating windows.
477533aa makes telegram windows jumping.
2021-04-07 01:52:35 +03:00
Kolan Sh 1c42902e06 Font sizes updated to 10 2021-03-30 01:58:04 +03:00
Kolan Sh 7573ae080d Fix TypeError: mappingproxy object does not support item assignment 2020-12-28 01:45:35 +03:00
Kolan Sh 89401f40e1 Update pm menus. 2020-11-24 01:04:44 +03:00
Kolan Sh ee19a6c71f colors updated 2020-08-24 14:33:04 +03:00
Kolan Sh e2bca4158a Alt+Shift+Enter -> Terminal 2020-05-07 18:35:50 +03:00
Kolan Sh f62d2b88df Lock XScreenSaver before hibernating. 2020-04-27 11:41:17 +03:00
Kolan Sh 6837a73977 Floating: border_width, titlebars. 2020-04-03 16:01:05 +03:00
Kolan Sh 477533aa40 Show titlebar for floating windows only. 2020-04-03 13:15:17 +03:00
Kolan Sh 3f6cb4b981 rc.lua updated 2019-08-13 12:52:01 +03:00
Kolan Sh 83e20dd892 Something strange with Urxvt -tr argument 2019-05-26 21:14:42 +03:00
Kolan Sh e2a692d997 fix: net_widget:buttons added. 2018-08-21 13:15:33 +03:00
Kolan Sh f0656eb4a0 vicious.widgets.net glices with several registered widgets #2 2018-05-09 21:49:59 +03:00
Kolan Sh 39d739303c vicious.widgets.net glices with several registered widgets #1 2018-05-09 21:49:59 +03:00
Kolan Sh 4394fa73f9 Cache several vicious widgets. 2018-05-09 21:49:59 +03:00
Kolan Sh 5161f4c4d9 Viber, Telegram on + 2018-04-26 11:04:53 +03:00
Kolan Sh 4648b8f341 halt -> poweroff 2018-04-26 10:10:47 +03:00
Kolan Sh 3104af29d1 Do not start many alsamixer instances. 2017-07-29 12:48:28 +03:00
Kolan Sh 40908e3306 Separate wallpaper for each screen. 2017-07-25 17:19:37 +03:00
Kolan Sh 31df76c3ce autostart.lua updated 2017-07-14 12:56:39 +03:00
Kolan Sh feed8ef46f mail_loop.sh: disable gmail by default 2017-07-14 12:52:29 +03:00
Kolan Sh 352484ecaa set_wall.sh to scale the wallpaper over several screens. 2017-07-14 12:51:33 +03:00
Kolan Sh 11db495e01 Hotkey bindings updated, descriptions added. 2017-07-14 12:38:22 +03:00
Kolan Sh c1c1180575 Border = 0. 2017-07-14 04:05:18 +03:00
Kolan Sh 9613d2f97a Wi-FI icon updated. 2017-07-14 03:55:42 +03:00
Kolan Sh da1d38b4c6 awful.timer -> gears.timer 2017-07-14 02:38:29 +03:00
Kolan Sh 54aa287427 Last tag for chats shoud have "fair" layout. 2017-07-14 02:04:40 +03:00
Kolan Sh acfc4f354c Awesome 4: many-many changes... 2017-07-14 01:55:25 +03:00
Kolan Sh 3bc12df35a Awesome 4: globalkeys added. 2017-07-13 22:11:06 +03:00
Kolan Sh 3f042a32fc zenburn theme files added. 2017-07-13 21:52:38 +03:00
Kolan Sh a7594831df Awesome 4: App properties added. 2017-07-13 21:47:42 +03:00
Kolan Sh 1a746e7938 Awesome 4: initial commit. 2017-07-13 21:31:59 +03:00
Kolan Sh 82f1cfd2b1 nVidia overclocking by right mouse button 2017-06-26 15:55:25 +03:00
Kolan Sh d66189d5d8 Xsnap: %Y%m%d - better sorting. 2017-04-12 11:10:36 +03:00
Kolan Sh 052b345ebc Shorter records for icon+text buttons (Lua syntax used). 2017-02-20 13:15:53 +03:00
Kolan Sh b1b1d3567a powertop for battery widget added (right mouse button). 2017-02-20 13:09:11 +03:00
Kolan Sh 19ed9bc819 Layouts updated. 2017-01-12 15:42:44 +03:00
Kolan Sh 4b5aa0b95f amixer (hotkeys): +-1% -> +-5%. 2016-10-14 22:23:29 +03:00
Kolan Sh 738c403532 Sound volume controls fixed: .spawn() runs multiple amixer commands so right/left controls changes not synchronously. 2016-10-13 15:47:36 +03:00
Kolan Sh ff4e8ba2d4 hibernate-script -> pm-utils 2016-10-04 06:39:05 +03:00
Kolan Sh bfab6229c8 nethogs for wired/wireless widgets added (right mouse button). 2016-09-26 17:29:32 +03:00
Kolan Sh 6d2e119811 nload for wired/wireless widgets added (left mouse button). 2016-09-26 16:40:41 +03:00
Kolan Sh a882fbb3da Disk widget: show iotop on left mouse click. 2016-09-26 14:47:00 +03:00
Kolan Sh 908d4e7e0a Memory widget: show atop on left mouse click. 2016-09-26 14:39:14 +03:00
Kolan Sh 217eb693d8 CPU widget: show htop on left mouse click. 2016-09-26 14:03:20 +03:00
Kolan Sh 06fc3aed7d Alsamixer fix: --view=all. 2016-09-26 13:31:18 +03:00
Kolan Sh 57fbcb3d93 Date/Time widget: open Google Calendar on left mouse button click. 2016-09-26 13:25:40 +03:00
Kolan Sh 709e679630 nVidia Optimus icon: open nvidia-settings on left mouse button click. 2016-09-26 12:22:55 +03:00
Kolan Sh a88e255d6d nVidia Optimus activity icon added.
Several Wine applications leave *.exe processes which hold the
optirun/primusrun process and the nVidia card stays ON.
2016-09-25 17:47:44 +03:00
Kolan Sh aac2863441 mail_count(): open read only. 2016-09-25 17:47:18 +03:00
Kolan Sh 37a1f0690b Fm: tag=4. 2016-08-18 11:45:18 +03:00
Kolan Sh b841873b38 MailLoop: create mail dir in loop. (can be removed by cleaner or by another reason). 2016-04-28 11:43:29 +03:00
Kolan Sh 434e84ff8c MPC/Audacious play on Modkey+p. 2015-10-11 11:59:06 +03:00
Kolan Sh 264016cb31 Tags updated: names replaced with classes. 2015-09-28 17:53:07 +03:00
Kolan Sh 1d1c349cfc dconf-editor: tag=5 2015-09-28 17:34:16 +03:00
Kolan Sh 434dc96e86 Audacious hotkeys added. 2015-09-28 16:27:21 +03:00
Kolan Sh 1a1c88e835 Bindings for vertical resizing updated. 2015-09-25 13:36:59 +03:00
Kolan Sh cdedaeb946 Client vertical resizing added. 2015-09-24 14:37:01 +03:00
Kolan Sh 7922959639 Kdenlive tag. 2015-09-20 01:33:41 +03:00
Kolan Sh abbd144dc3 Cinelerra tag. 2015-09-19 22:05:31 +03:00
Kolan Sh 65106f3366 Hibernate-RAM menu item added. 2015-08-27 14:23:59 +03:00
Kolan Sh d420f3b74b D-feet tag. 2015-08-25 10:37:31 +03:00
Kolan Sh 57e63c8017 Fix Transmission tag. 2015-07-30 12:57:52 +03:00
Kolan Sh e7cd7ce3ae Show Mpv at current tag, but Kodi - at 6 tag. 2015-07-27 09:54:25 +03:00
Kolan Sh 33ffeb420b Notifications screen fixed. 2015-07-24 20:14:42 +03:00
Kolan Sh e0d612f927 "-" symbol changed in the vicious.widgets.bat return value. 2015-07-24 20:12:00 +03:00
Kolan Sh 82c0d34ed3 Tags updated. 2015-07-22 12:49:25 +03:00
Kolan Sh 956a326956 Fix keyboard layout. 2015-04-06 13:10:04 +03:00
Kolan Sh 4164c0dab8 Start applications in background. 2015-03-27 00:22:02 +03:00
Kolan Sh f2f467f30f set_wall.sh: Find files only. 2015-03-24 13:38:08 +03:00
Kolan Sh 4127fcd2ac Fix hotkeys/mouse clicks on secondary keyboard layout. 2015-03-15 13:12:50 +03:00
Kolan Sh e798bbe862 Default "max" layout on the first tag. 2015-03-08 02:14:58 +03:00
Kolan Sh ed31192eda Open Opera at 1st tag. 2015-02-14 22:27:32 +03:00
Kolan Sh 665d28ff23 Open Alsamixer on left mouse click. 2015-02-13 22:02:06 +03:00
Kolan Sh e6733957eb Control Volume by mouse scroll. 2015-02-13 21:55:39 +03:00
Kolan Sh bd1ea492d2 Fix absolute icon paths 2014-12-25 19:03:01 +03:00
Kolan Sh 4092f2d7cf lightsOn.sh: Don't override DISPLAY variable. 2014-10-18 20:59:41 +04:00
Kolan Sh cfab75032d gksudo hibernate -> sudo hibernate 2014-10-18 14:50:55 +04:00
Kolan Sh 6c0efb53ab 'Halt' command added. 2014-10-18 14:46:52 +04:00
Kolan Sh 4799e07878 gksudo reboot -> sudo reboot 2014-10-16 23:29:21 +04:00
Kolan Sh bda0e9c85a Fix: $USERNAME->$USER 2014-10-14 18:55:09 +04:00
Kolan Sh e1fac67736 lightsOn.sh updated (HTML5 support added):
https://raw.github.com/hotice/lightsOn/master/lightsOn.sh
https://raw.githubusercontent.com/hotice/lightsOn/master/lightsOn.sh
2014-10-13 22:42:24 +04:00
Kolan Sh 14c950da34 Remove uncovered spaces. Especially for the terminal.
size_hints_honor = false:
https://www.linux.org.ru/forum/desktop/10903088?lastmod=1412317155381#comment-10903186
2014-10-03 12:33:50 +04:00
Kolan Sh 49e43b0cc2 Set timeout for the Mail Connections. 2014-09-26 16:53:21 +04:00
Kolan Sh 22477f02fd Fix empty names 'Name=' in *.desktop files.
For undefined reason
~/.local/share/applications/userapp-avidemux_qt4-GR53LX.desktop
was created with 'Name='. This commit should resolve the problem.
2014-09-19 07:38:18 +04:00
Kolan Sh b12ec25c8e Fix Exception for f:close() when f==nil 2014-09-18 10:28:43 +04:00
Kolan Sh 93cd5bd7c3 Layouts updated. 2014-09-16 21:43:05 +04:00
Kolan Sh 40f07a6590 Run Thunderbird on Mail's Icon/Text Mouse Button click(). 2014-09-05 10:33:37 +04:00
Kolan Sh 2e13bb1c3e Fucked NetworkManager replaced with a good Wicd. 2014-09-02 12:24:00 +04:00
Kolan Sh e52d41f0a9 Remove Geary from autostart. 2014-08-26 14:07:12 +04:00
Kolan Sh 64b89b92a5 Path to the credentials updated. 2014-08-16 15:19:58 +04:00
Kolan Sh ec35d5c8e1 Clean the config code. 2014-08-15 22:19:05 +04:00
Kolan Sh 3b1ebf63c1 Clean the config code. 2014-08-15 22:15:51 +04:00
Kolan Sh 1bdc6f55fc Clean the config code. 2014-08-15 22:13:46 +04:00
Kolan Sh 47bb829b7b Clean the config code. 2014-08-15 22:11:53 +04:00
Kolan Sh 271a7c9977 Clean the config code. 2014-08-15 22:09:19 +04:00
Kolan Sh 6433c95d6a Clean the config code. 2014-08-15 22:08:09 +04:00
Kolan Sh 41510b2ce6 Clean the config code. 2014-08-15 21:48:05 +04:00
Kolan Sh fdb7cfc635 wlan0 -> wifi0, eth0 -> wan0 2014-08-15 20:33:43 +04:00
Kolan Sh 880ec14064 Save mail counts in /tmp (tmpfs) directory. 2014-08-15 20:24:13 +04:00
Kolan Sh b1746089e1 Check mail in separate process to prevent freezing of the interface. 2014-08-15 13:44:32 +04:00
Kolan Sh d54799aece gmail/mymail scripts updated 2014-08-15 09:28:31 +04:00
Kolan Sh bd6aaeccdd Thunderbird -> 5(mail) 2014-08-15 01:10:26 +04:00
Kolan Sh e94a80e551 MyMail icon added 2014-08-15 00:40:31 +04:00
Kolan Sh a841ef8588 GMail icon added 2014-08-15 00:06:35 +04:00
Kolan Sh f5148dab24 Geary, nm-applet. 2014-08-14 22:36:40 +04:00
Kolan Sh 5e171d5ae6 lightsOn.sh added: https://github.com/iye/lightsOn 2014-02-03 16:52:15 +04:00
Kolan Sh d529981055 Remove liferea from autostart. 2014-01-26 18:00:31 +04:00
Kolan Sh 4ee66e7511 Set specific wallpaper instead of random one. 2014-01-05 13:12:13 +04:00
Kolan Sh fd27123164 Application Positions at Specific Tags of the Current Screen. 2013-12-18 12:09:30 +04:00
Kolan Sh fb48ce0b63 autostart updated 2013-12-18 00:55:44 +04:00
Kolan Sh 7d06c98475 Revert "Disable ModKey+Control+r."
This reverts commit e4ecdaff65.
2013-12-18 00:54:11 +04:00
Kolan Sh e4ecdaff65 Disable ModKey+Control+r. 2013-12-02 16:47:34 +04:00
Kolan Sh 2ca1960e55 Revert 00d89cdce 2013-11-03 15:30:43 +04:00
Kolan Sh 6f07a56e3c Liferea autostart. 2013-08-25 15:25:42 +04:00
Kolan Sh bbe18e33ad Liferea to the 2nd tag. 2013-08-25 15:08:20 +04:00
Kolan Sh bbd47fb1ae Rules for Thunderbird 2013-08-05 11:54:51 +04:00
Kolan Sh b78e96b230 Screensaver lock modkey changed to 'Win+L' 2013-06-30 05:35:43 +04:00
Kolan Sh df390aa3b9 Widget colors updated. 2013-06-18 19:59:50 +04:00
Kolan Sh 55a180e4db Firefox autostart fixed. 2013-05-09 22:56:09 +04:00
Kolan Sh 00d89cdce4 smbnetfs with umask=111 2013-05-02 09:30:39 +04:00
Kolan Sh 0aa2afb5bc Mouse scroll bindings updated. 2013-04-25 20:48:53 +04:00
Kolan Sh 11c4af84a9 PrintScreen key added (xsnap). 2013-04-16 11:11:17 +04:00
Kolan Sh 609dbd7cc9 Autostart: firefox-bin. 2013-04-15 11:58:47 +04:00
Kolan Sh 56af16c897 BugFix: Remove nvidia-settings from autostart. 2013-04-15 11:48:12 +04:00
Kolan Sh 01efb99e3c LibreOffice child window identification for other processes fixed. 2013-04-11 16:36:04 +04:00
Kolan Sh 55ff7d81ac Free disk space widget for /home added. 2013-03-28 16:18:55 +04:00
Kolan Sh 4dc9d763ba Awesome-3.5 config added. 2013-03-12 00:32:44 +04:00
157 changed files with 2263 additions and 0 deletions

BIN
Icons/16x16/battery.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 191 B

BIN
Icons/16x16/cpu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 B

BIN
Icons/16x16/down.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 298 B

BIN
Icons/16x16/down_up.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 218 B

BIN
Icons/16x16/hdd_clear.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 B

BIN
Icons/16x16/mem.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 B

BIN
Icons/16x16/net-wired.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 217 B

BIN
Icons/16x16/up.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 299 B

BIN
Icons/16x16/vol-hi.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 247 B

BIN
Icons/cpu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
Icons/mem.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

BIN
Icons/volume.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1000 B

BIN
Icons/weather.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

18
autostart.lua Normal file
View File

@ -0,0 +1,18 @@
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 &")

97
freedesktop/menu.lua Normal file
View File

@ -0,0 +1,97 @@
-- 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

258
freedesktop/utils.lua Normal file
View File

@ -0,0 +1,258 @@
-- 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

217
lightsOn.sh Executable file
View File

@ -0,0 +1,217 @@
#!/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

16
mail_loop.sh Executable file
View File

@ -0,0 +1,16 @@
#!/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

19
mail_loop_gmail.py Executable file
View File

@ -0,0 +1,19 @@
#!/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("?")

37
mail_loop_mymail.py Executable file
View File

@ -0,0 +1,37 @@
#!/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("?")

1173
rc.lua Normal file

File diff suppressed because it is too large Load Diff

9
set_wall.sh Executable file
View File

@ -0,0 +1,9 @@
#!/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

3
themes/default/README Normal file
View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 967 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 997 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 201 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 201 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 395 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 388 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 209 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 209 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 321 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 321 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 195 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 216 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 170 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 195 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 168 B

BIN
themes/default/submenu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 440 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 198 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 187 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 278 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 193 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 345 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 334 B

152
themes/default/theme.lua Normal file
View File

@ -0,0 +1,152 @@
---------------------------
-- 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.

After

Width:  |  Height:  |  Size: 666 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 905 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 598 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 623 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 876 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 614 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1013 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 829 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 816 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 774 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 758 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 756 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 833 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 663 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 677 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 986 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 820 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 740 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 866 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 932 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 917 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 932 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 305 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 601 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 727 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 897 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 938 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 783 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 803 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 669 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 722 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 956 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1013 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 731 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 936 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 888 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 737 B

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