diff options
author | xero <x@xero.nu> | 2014-03-18 11:46:11 -0400 |
---|---|---|
committer | xero <x@xero.nu> | 2014-03-18 11:48:54 -0400 |
commit | 69ec899270a672beb0382b3e7f78a561ee482fea (patch) | |
tree | d6160c3b99caef2a0ddd2aebb53a7274c4e7879c /.config/awesome | |
parent | 0caf12bb86ebe9a91f1ef6a7c7c5b0a083398f0d (diff) | |
download | dotfiles_ascii-69ec899270a672beb0382b3e7f78a561ee482fea.tar.xz dotfiles_ascii-69ec899270a672beb0382b3e7f78a561ee482fea.zip |
updates to use compton as os composite manager. bootstraped via .xinitrc and utilized via awesomewm. also add new alias to .zshrc. tweak awesome battery widget.
Diffstat (limited to '.config/awesome')
-rw-r--r-- | .config/awesome/config.lua | 1 | ||||
-rwxr-xr-x | .config/awesome/rc.lua | 13 |
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 |