aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.config/awesome/config.lua1
-rwxr-xr-x.config/awesome/rc.lua13
-rw-r--r--.xinitrc3
-rw-r--r--.zshrc1
4 files changed, 14 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
diff --git a/.xinitrc b/.xinitrc
index 0be6c9d..3abd5c3 100644
--- a/.xinitrc
+++ b/.xinitrc
@@ -40,6 +40,9 @@ eval $(gnome-keyring-daemon -s --components=pkcs11,secrets,ssh,gpg) &
# enable backlight
(sleep 2s && xbacklight -inc 100) &
+# compositing manager
+compton -b &
+
# start thunar daemon
thunar --daemon &
diff --git a/.zshrc b/.zshrc
index cad4b5c..1d7ded7 100644
--- a/.zshrc
+++ b/.zshrc
@@ -49,6 +49,7 @@ alias tempwatch="while :; do sensors|while read x; do printf '% .23s\n' "$x"; do
alias term='urxvtc -hold -e '
alias fixcursor='xsetroot -cursor_name left_ptr'
alias hashcompare='bash ~/code/sys/hash-compare.sh '
+alias apachereload='sudo /etc/init.d/apache2 restart'
#█▓▒░ ssh
export SSH_KEY_PATH="~/.ssh/id_rsa"