aboutsummaryrefslogtreecommitdiff
path: root/.config/awesome
diff options
context:
space:
mode:
Diffstat (limited to '.config/awesome')
-rw-r--r--.config/awesome/config.lua1
-rwxr-xr-x.config/awesome/rc.lua13
2 files changed, 10 insertions, 4 deletions
diff --git a/.config/awesome/config.lua b/.config/awesome/config.lua
index eeb466f..3737f56 100644
--- a/.config/awesome/config.lua
+++ b/.config/awesome/config.lua
@@ -52,3 +52,4 @@ exiter = "cb-exit"
passmanager = "keepassx"
runcmd = "gmrun"
mp3tag = "puddletag"
+blanktag = terminal.. " -T blank" \ No newline at end of file
diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua
index 7e8aba3..81ccbac 100755
--- a/.config/awesome/rc.lua
+++ b/.config/awesome/rc.lua
@@ -231,6 +231,7 @@ fun_scripts = {
{"slendy", term_exec.."bash "..home.."/code/fun/slendy"},
}
climenu = {
+ {"blank", blanktag},
{"$ terminal", terminal},
{"# terminal", rootterm},
{"file-manager", filecli},
@@ -251,6 +252,7 @@ mymainmenu = awful.menu({
{"# file manager", "gksu "..filegui},
{"web browser", webgui},
{"text editor", guieditor},
+ {"# text editor", "gksu "..guieditor},
{"music player", musicplayer},
{"media player", mediaplayer},
{"keepass", passmanager},
@@ -335,8 +337,8 @@ baticon = wibox.widget.imagebox(beautiful.widget_battery)
batwidget = lain.widgets.bat({
battery = battery_id,
settings = function()
- if bat_now.perc == "N/A" then
- widget:set_markup(" AC ")
+ widget:set_markup(" "..bat_now.perc.."% ")
+ if bat_now.perc == "N/A" or bat_now.perc == "100" then
baticon:set_image(beautiful.widget_ac)
return
elseif tonumber(bat_now.perc) <= 5 then
@@ -346,7 +348,6 @@ batwidget = lain.widgets.bat({
else
baticon:set_image(beautiful.widget_battery)
end
- widget:set_markup(" "..bat_now.perc.."% ")
end
})
@@ -794,7 +795,11 @@ awful.rules.rules = {
{ rule = { name = "File Operation Progress" },
properties = {
floating = true
- } },
+ } },
+ { rule = { name = "blank" },
+ properties = {
+ opacity = 0 -- works via composite manager
+ } },
{ rule = { name = "urxvt" },
properties = {
-- fix term sizing calculation glitches