summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/awesome/rc.lua37
-rwxr-xr-x.config/herbstluftwm/autostart8
2 files changed, 4 insertions, 41 deletions
diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua
index 6132386..1c6e4fe 100644
--- a/.config/awesome/rc.lua
+++ b/.config/awesome/rc.lua
@@ -59,6 +59,7 @@ modkey = "Mod4"
-- Table of layouts to cover with awful.layout.inc, order matters.
layouts =
{
+ awful.layout.suit.magnifier,
awful.layout.suit.tile,
awful.layout.suit.tile.left,
awful.layout.suit.tile.bottom,
@@ -67,7 +68,6 @@ layouts =
awful.layout.suit.fair.horizontal,
awful.layout.suit.max,
awful.layout.suit.max.fullscreen,
- awful.layout.suit.magnifier,
awful.layout.suit.floating
}
-- }}}
@@ -106,23 +106,6 @@ mytextclock = awful.widget.textclock({ align = "right" })
-- Create a systray
mysystray = widget({ type = "systray" })
--- Create a mailbox widget
-myryumailbox = oni.mailcount_widgets("ryu", "ryuslash.org", "ryuslash")
-myaethonmailbox = oni.mailcount_widgets("aet", "aethon", "aethon")
-mygmailmailbox = oni.mailcount_widgets("gmail", "gmail", "gmail")
-my9fmailbox = oni.mailcount_widgets("9f", "ninthfloor", "ninthfloor")
-
-mymailboxtimer = timer({ timeout = 60 })
-mymailboxtimer:add_signal(
- "timeout",
- function ()
- myryumailbox.count.text = string.format(" %d ", oni.mailcount("ryuslash.org"))
- myaethonmailbox.count.text = string.format(" %d ", oni.mailcount("aethon"))
- mygmailmailbox.count.text = string.format(" %d ", oni.mailcount("gmail"))
- my9fmailbox.count.text = string.format(" %d ", oni.mailcount("ninthfloor"))
- end)
-mymailboxtimer:start()
-
-- Create a wibox for each screen and add it
mywibox = {}
mypromptbox = {}
@@ -200,14 +183,6 @@ for s = 1, screen.count() do
mylayoutbox[s],
mytextclock,
s == 1 and mysystray or nil,
- s == 1 and my9fmailbox.count or nil,
- s == 1 and my9fmailbox.label or nil,
- s == 1 and mygmailmailbox.count or nil,
- s == 1 and mygmailmailbox.label or nil,
- s == 1 and myaethonmailbox.count or nil,
- s == 1 and myaethonmailbox.label or nil,
- s == 1 and myryumailbox.count or nil,
- s == 1 and myryumailbox.label or nil,
mytasklist[s],
layout = awful.widget.layout.horizontal.rightleft
}
@@ -370,15 +345,9 @@ awful.rules.rules = {
properties = { floating = true } },
{ rule = { class = "gimp" },
properties = { floating = true } },
- { rule = { class = "Emacs" },
- properties = { tag = tags[1][1] } },
-- Set Firefox to always map on tags number 2 of screen 1.
- { rule = { class = "Firefox" },
- properties = { tag = tags[2][1] } },
- { rule = { class = "Conkeror" },
- properties = { tag = tags[2][1] } },
- { rule = { class = "URxvt" },
- properties = { tag = tags[2][1] } },
+ -- { rule = { class = "Firefox" },
+ -- properties = { tag = tags[1][2] } },
}
-- }}}
diff --git a/.config/herbstluftwm/autostart b/.config/herbstluftwm/autostart
index cf9b852..aba65f3 100755
--- a/.config/herbstluftwm/autostart
+++ b/.config/herbstluftwm/autostart
@@ -49,13 +49,7 @@ hc set window_border_width 1
hc set_layout max
-hc add default2
-hc remove_monitor 1
-hc move_monitor 0 1920x1080+0+0
-hc add_monitor 1680x1050+1920+0 default2
-
-hc pad 0 20 -5 -5 -5
-hc pad 1 -5 -5 -5 -5
+hc pad 0 -5 -5 -5 -5
hc mousebind $modkey-Button1 move
hc mousebind $modkey-Button2 resize