Awesome 4: App properties added.

This commit is contained in:
Kolan Sh 2017-07-13 21:45:30 +03:00
parent 1a746e7938
commit a7594831df
1 changed files with 212 additions and 1 deletions

213
rc.lua
View File

@ -25,7 +25,7 @@ local terminal = "urxvt -tr +sb"
local editor = os.getenv("EDITOR") or "vim" local editor = os.getenv("EDITOR") or "vim"
local editor_cmd = terminal .. " -e " .. editor local editor_cmd = terminal .. " -e " .. editor
local modkey = "Mod1" local modkey = "Mod1"
local titlebars_enabled = true local titlebars_enabled = false
----< Theme >--------------------------------------------------------- ----< Theme >---------------------------------------------------------
-- --
@ -457,6 +457,7 @@ awful.rules.rules = {
focus = awful.client.focus.filter, focus = awful.client.focus.filter,
raise = true, raise = true,
keys = clientkeys, keys = clientkeys,
size_hints_honor = false,
buttons = clientbuttons, buttons = clientbuttons,
screen = awful.screen.preferred, screen = awful.screen.preferred,
placement = awful.placement.no_overlap+awful.placement.no_offscreen placement = awful.placement.no_overlap+awful.placement.no_offscreen
@ -497,6 +498,216 @@ awful.rules.rules = {
-- Set Firefox to always map on the tag named "2" on screen 1. -- Set Firefox to always map on the tag named "2" on screen 1.
-- { rule = { class = "Firefox" }, -- { rule = { class = "Firefox" },
-- properties = { screen = 1, tag = "2" } }, -- properties = { screen = 1, tag = "2" } },
{ rule = { class = "URxvt" },
properties = { tag = "2" } },
{ rule = { class = "Firefox" },
properties = { tag = "1" } },
{ rule = { class = "Opera" },
properties = { tag = "1" } },
{ rule = { class = "Thunderbird" },
properties = { tag = "1" } },
{ rule = { class = "Geary" },
properties = { tag = "1" } },
{ rule = { class = "Liferea" },
properties = { tag = "1" } },
{ rule = { class = "VirtualBox" },
properties = { tag = "3" } },
{ rule = { class = "Remmina" },
properties = { tag = "3" } },
{ rule = { class = "Spicy" },
properties = { tag = "3" } },
{ rule = { class = "Aqemu" },
properties = { tag = "3" } },
{ rule = { name = "Instances - Vimperator" },
properties = { tag = "3" } },
{ rule = { name = "VMs - .* - Vimperator" },
properties = { tag = "3" } },
{ rule = { name = "noVNC - .* - Vimperator" },
properties = { tag = "3" } },
{ rule = { class = "Soffice" },
properties = { tag = "4" } },
{ rule = { class = "LibreOffice" },
properties = { tag = "4" } },
{ rule = { class = "libreoffice-writer" },
properties = { tag = "4" } },
{ rule = { class = "libreoffice-calc" },
properties = { tag = "4" } },
{ rule = { class = "libreoffice-draw" },
properties = { tag = "4" } },
{ rule = { class = "libreoffice-base" },
properties = { tag = "4" } },
{ rule = { class = "libreoffice-math" },
properties = { tag = "4" } },
{ rule = { class = "libreoffice-impress" },
properties = { tag = "4" } },
{ rule = { class = "libreoffice-startcenter" },
properties = { tag = "4" } },
{ rule = { class = "Okular" },
properties = { tag = "4" } },
{ rule = { class = "Lyx" },
properties = { tag = "4" } },
{ rule = { class = "Evince" },
properties = { tag = "4" } },
{ rule = { class = "Qt Jambi application" },
properties = { tag = "1" } },
{ rule = { class = "Pidgin" },
properties = { tag = "9" } },
{ rule = { class = "Stardict" },
properties = { tag = "8" } },
{ rule = { class = "MPlayer" },
properties = { floating = true } },
{ rule = { class = "Texreport-gtk" },
properties = { floating = true } },
{ rule = { class = "etr" },
properties = { tag = "6" } },
{ rule = { class = "Eboard" },
properties = { tag = "6" } },
{ rule = { class = "charleygame-bin" },
properties = { tag = "6" } },
{ rule = { class = "lincity-ng" },
properties = { tag = "6" } },
{ rule = { class = "Kodi" },
properties = { tag = "6" } },
{ rule = { class = "Vlc" },
properties = { tag = "6" } },
{ rule = { class = "Audacious" },
properties = { tag = "6" } },
{ rule = { class = "Audacity" },
properties = { tag = "6" } },
{ rule = { class = "Gimp" },
properties = { tag = "7" } },
{ rule = { class = "Blender" },
properties = { tag = "7" } },
{ rule = { class = "Anjuta" },
properties = { tag = "5" } },
{ rule = { class = "Android SDK Manager" },
properties = { tag = "5" } },
{ rule = { class = "DDMS" },
properties = { tag = "5" } },
{ rule = { class = "Gucharmap" },
properties = { tag = "5" } },
{ rule = { class = "Pcmanfm" },
properties = { tag = "4" } },
{ rule = { class = "Fm" },
properties = { tag = "4" } },
{ rule = { class = "File-roller" },
properties = { tag = "4" } },
{ rule = { class = "Clamtk" },
properties = { tag = "4" } },
{ rule = { class = "Assistant" },
properties = { tag = "5" } },
{ rule = { class = "Bluefish" },
properties = { tag = "5" } },
{ rule = { class = "Designer" },
properties = { tag = "5" } },
{ rule = { class = "Glade" },
properties = { tag = "5" } },
{ rule = { class = "Geany" },
properties = { tag = "5" } },
{ rule = { class = "Gvim" },
properties = { tag = "5" } },
{ rule = { class = "Qtcreator" },
properties = { tag = "5" } },
{ rule = { class = "Kcachegrind" },
properties = { tag = "5" } },
{ rule = { class = "Wxmaxima" },
properties = { tag = "5" } },
{ rule = { class = "0ad" },
properties = { tag = "6" } },
{ rule = { class = "dosbox" },
properties = { tag = "3" } },
{ rule = { class = "Steam" },
properties = { tag = "6" } },
{ rule = { class = "supertux" },
properties = { tag = "6" } },
{ rule = { name = "Minetest" },
properties = { tag = "6" } },
{ rule = { name = "glxgears" },
properties = { tag = "6" } },
{ rule = { class = "urbanterror" },
properties = { tag = "6" } },
{ rule = { class = "warzone2100" },
properties = { tag = "6" } },
{ rule = { class = "xonotic-sdl" },
properties = { tag = "6" } },
{ rule = { class = "DarkPlaces" },
properties = { tag = "6" } },
{ rule = { class = "Camorama" },
properties = { tag = "6" } },
{ rule = { class = "Dia" },
properties = { tag = "7" } },
{ rule = { class = "feh" },
properties = { tag = "7" } },
{ rule = { class = "FreeCAD" },
properties = { tag = "7" } },
{ rule = { class = "Gcolor2" },
properties = { tag = "7" } },
{ rule = { class = "GQview" },
properties = { tag = "7" } },
{ rule = { class = "Inkscape" },
properties = { tag = "7" } },
{ rule = { class = "Shotwell" },
properties = { tag = "7" } },
{ rule = { name = "Xdvi" },
properties = { tag = "4" } },
{ rule = { class = "Deluge" },
properties = { tag = "1" } },
{ rule = { class = "Eiskaltdcpp" },
properties = { tag = "1" } },
{ rule = { class = "Ekiga" },
properties = { tag = "9" } },
{ rule = { class = "Googleearth-bin" },
properties = { tag = "1" } },
{ rule = { class = "Links" },
properties = { tag = "1" } },
{ rule = { class = "Linphone" },
properties = { tag = "1" } },
{ rule = { class = "psi" },
properties = { tag = "9" } },
{ rule = { class = "Transmission" },
properties = { tag = "1" } },
{ rule = { class = "Vncviewer" },
properties = { tag = "3" } },
{ rule = { class = "Avidemux" },
properties = { tag = "6" } },
{ rule = { class = "Xfburn" },
properties = { tag = "6" } },
{ rule = { class = "Gtk-recordMyDesktop" },
properties = { tag = "6" } },
{ rule = { class = "Qv4l2" },
properties = { tag = "6" } },
{ rule = { class = "V4l2ucp" },
properties = { tag = "6" } },
{ rule = { class = "TiMidity" },
properties = { tag = "6" } },
{ rule = { class = "Gnumeric" },
properties = { tag = "4" } },
{ rule = { class = "Yagf" },
properties = { tag = "4" } },
{ rule = { class = "Xchm" },
properties = { tag = "4" } },
{ rule = { class = "Flash-player-properties" },
properties = { tag = "1" } },
{ rule = { class = "Libfm-pref-apps" },
properties = { tag = "4" } },
{ rule = { class = "Qtconfig" },
properties = { tag = "5" } },
{ rule = { class = "Baobab" },
properties = { tag = "4" } },
{ rule = { class = "Gcdemu" },
properties = { tag = "3" } },
{ rule = { class = "Wireshark" },
properties = { tag = "1" } },
{ rule = { name = "Frozen-.*Bubble" },
properties = { tag = "6" } },
{ rule = { class = "d-feet" },
properties = { tag = "5" } },
{ rule = { class = "Cinelerra" },
properties = { tag = "6" } },
{ rule = { class = "Kdenlive" },
properties = { tag = "6" } },
{ rule = { class = "Dconf-editor" },
properties = { tag = "5" } },
} }
----< Signals >------------------------------------------------------ ----< Signals >------------------------------------------------------