diff options
Diffstat (limited to '.config')
110 files changed, 601 insertions, 843 deletions
diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua deleted file mode 100644 index b71ec61..0000000 --- a/.config/awesome/rc.lua +++ /dev/null @@ -1,573 +0,0 @@ --- Standard awesome library -local gears = require("gears") -local awful = require("awful") -awful.rules = require("awful.rules") -require("awful.autofocus") --- Widget and layout library -local wibox = require("wibox") --- Theme handling library -local beautiful = require("beautiful") --- Notification library -local naughty = require("naughty") -local menubar = require("menubar") --- Vicious widget library -local vicious = require("vicious") --- lain layouts n stuff -local lain = require("lain") - --- {{{ Error handling --- Check if awesome encountered an error during startup and fell back to --- another config (This code will only ever execute for the fallback config) -if awesome.startup_errors then - naughty.notify({ preset = naughty.config.presets.critical, - title = "Oops, there were errors during startup!", - text = awesome.startup_errors }) -end - --- Handle runtime errors after startup -do - local in_error = false - awesome.connect_signal("debug::error", function (err) - -- Make sure we don't go into an endless error loop - if in_error then return end - in_error = true - - naughty.notify({ preset = naughty.config.presets.critical, - title = "Oops, an error happened!", - text = err }) - in_error = false - end) -end --- }}} - --- {{{ Variable definitions --- Themes define colours, icons, and wallpapers -beautiful.init("/home/shmibs/.config/awesome/themes/current/theme.lua") - --- This is used later as the default terminal and editor to run. -terminal = "mate-terminal" editor = "vim " - --- Default modkey. --- Usually, Mod4 is the key with a logo between Control and Alt. --- If you do not like this or do not have such a key, --- I suggest you to remap Mod4 to another key using xmodmap or other tools. --- However, you can use another modifier like Mod1, but it may interact with others. -modkey = "Mod4" - --- Table of layouts to cover with awful.layout.inc, order matters. -local layouts = -{ - awful.layout.suit.max, - lain.layout.uselessfair, -} --- }}} - --- {{{ Wallpaper -if beautiful.wallpaper then - for s = 1, screen.count() do - gears.wallpaper.maximized(beautiful.wallpaper, s, false) - end -end --- }}} - --- {{{ Tags --- Define a tag table which hold all screen tags. -tags = {} -for s = 1, screen.count() do - -- Each screen has its own tag table. - tags[s] = awful.tag({ 1, 2, 3, 4, 5 }, s, layouts[1]) -end --- }}} - --- Menubar configuration -menubar.utils.terminal = terminal -- Set the terminal for applications that require it --- }}} - --- {{{ Wibox --- Create a textclock widget -mytextclock = awful.widget.textclock(" %a %b %d, %H:%M:%S ",1) - --- Create two wiboxen for each screen and add them -mywibox = {} -mypromptbox = {} -mylayoutbox = {} -mytaglist = {} -mytaglist.buttons = awful.util.table.join( - awful.button({ }, 1, awful.tag.viewonly), - awful.button({ modkey }, 1, awful.client.movetotag), - awful.button({ }, 3, awful.tag.viewtoggle), - awful.button({ modkey }, 3, awful.client.toggletag), - awful.button({ }, 5, function(t) awful.tag.viewnext(awful.tag.getscreen(t)) end), - awful.button({ }, 4, function(t) awful.tag.viewprev(awful.tag.getscreen(t)) end) - ) -mytasklist = {} -mytasklist.buttons = awful.util.table.join( - awful.button({ }, 1, function (c) - if c == client.focus then - -- disable minimisation - --~ c.minimized = true - else - -- Without this, the following - -- :isvisible() makes no sense - c.minimized = false - if not c:isvisible() then - awful.tag.viewonly(c:tags()[1]) - end - -- This will also un-minimize - -- the client, if needed - client.focus = c - c:raise() - end - end), - -- right click closes - awful.button({ }, 3, function (c) - c:kill() - --~ if instance then - --~ instance:hide() - --~ instance = nil - --~ else - --~ instance = awful.menu.clients({ width=250 }) - --~ end - - end), - awful.button({ }, 5, function () - awful.client.focus.byidx(1) - if client.focus then client.focus:raise() end - end), - awful.button({ }, 4, function () - awful.client.focus.byidx(-1) - if client.focus then client.focus:raise() end - end)) - -mywibox2 = {} -myssid = "N/A" - --- Kernel -oswidget = wibox.widget.textbox() -vicious.register(oswidget, vicious.widgets.os, " $2", 600) --- top process -procwidget = wibox.widget.textbox() -proctimer = timer{ timeout = 0 } -proctimer:connect_signal("timeout", function() - proctimer:stop() - procwidget:set_text(" | " .. awful.util.pread("ps -e --no-header --sort -%cpu -o comm | head -1")) - proctimer.timeout = 6 - proctimer:start() -end) -proctimer:start() --- CPU TEMP -ctempwidget = wibox.widget.textbox() -vicious.register(ctempwidget, vicious.widgets.thermal, " CPU ($1° ", 4, "thermal_zone2") --- CPU -cpuwidget = wibox.widget.textbox() -vicious.register(cpuwidget, vicious.widgets.cpu, "$2% $3% $4% $5%) |", 4) --- RAM -memwidget = wibox.widget.textbox() -vicious.register(memwidget, vicious.widgets.mem, " RAM ($2 MB / $3 MB) | Swap ($6 MB / $7 MB)", 10) --- ssid -wifiwidget = wibox.widget.textbox() -vicious.register(wifiwidget, vicious.widgets.wifi, - function (widget, args) - myssid = args["{ssid}"] - return '(' .. args["{ssid}"] .. ') ' - end, - 3, "wlp7s0") --- speed ↑ ↓ -netwidget = wibox.widget.textbox() -vicious.register(netwidget, vicious.widgets.net, - function (widget, args) - --local down = tonumber(args["{enp3s0 down_kb}"]) + tonumber(args["{wpl7s0 down_kb}"]) - --local up = tonumber(args["{enp3s0 up_kb}"]) + tonumber(args["{wpl7s0 up_kb}"]) - - if myssid == "N/A" then - return '[ ↓' .. args["{enp3s0 down_kb}"] .. 'KiB, ↑' .. args["{enp3s0 up_kb}"] .. 'KiB ] ' - else - return '(' .. myssid .. ') [ ↓' .. args["{wlp7s0 down_kb}"] .. 'KiB, ↑' .. args["{wlp7s0 up_kb}"] .. 'KiB ] ' - end - end - ) - ---~ -- Weather ---~ weatherwidget = wibox.widget.textbox() ---~ vicious.register(weatherwidget, vicious.widgets.weather, "$1") - -for s = 1, screen.count() do - -- Create a promptbox for each screen - mypromptbox[s] = awful.widget.prompt() - -- Create an imagebox widget which will contains an icon indicating which layout we're using. - -- We need one layoutbox per screen. - mylayoutbox[s] = awful.widget.layoutbox(s) - mylayoutbox[s]:buttons(awful.util.table.join( - awful.button({ }, 1, function () awful.layout.inc(layouts, 1) end), - awful.button({ }, 3, function () awful.layout.inc(layouts, -1) end), - awful.button({ }, 4, function () awful.layout.inc(layouts, 1) end), - awful.button({ }, 5, function () awful.layout.inc(layouts, -1) end))) - -- Create a taglist widget - mytaglist[s] = awful.widget.taglist(s, awful.widget.taglist.filter.all, mytaglist.buttons) - - -- Create a tasklist widget - mytasklist[s] = awful.widget.tasklist(s, awful.widget.tasklist.filter.currenttags, mytasklist.buttons) - - -- Create the wibox - mywibox[s] = awful.wibox({ position = "top", screen = s, class = "Wibox" }) - if s == 1 then mywibox2 = awful.wibox({position = "bottom", screen = 1, class = "Wibox" }) end - - -- Widgets that are aligned to the left - local left_layout = wibox.layout.fixed.horizontal() - local left_layout2 = wibox.layout.fixed.horizontal() - left_layout:add(mytaglist[s]) - left_layout:add(mypromptbox[s]) - if s == 1 then - left_layout2:add(oswidget) - left_layout2:add(procwidget) - end - - -- Widgets that are aligned to the right - local right_layout = wibox.layout.fixed.horizontal() - local right_layout2 = wibox.layout.fixed.horizontal() - if s == 1 then right_layout:add(wibox.widget.systray()) end - right_layout:add(mytextclock) - right_layout:add(mylayoutbox[s]) - if s == 1 then - --~ right_layout2:add(wifiwidget) - right_layout2:add(netwidget) - end - - -- Widgets that are aligned to the bottom centre - local middle_layout2 = wibox.layout.fixed.horizontal() - if s == 1 then - middle_layout2:add(ctempwidget) - middle_layout2:add(cpuwidget) - middle_layout2:add(memwidget) - end - - -- Now bring it all together (with the tasklist in the middle) - local layout = wibox.layout.align.horizontal() - local layout2 = wibox.layout.align.horizontal() - layout:set_left(left_layout) - layout:set_middle(mytasklist[s]) - layout:set_right(right_layout) - if s == 1 then - layout2:set_left(left_layout2) - layout2:set_middle(middle_layout2) - layout2:set_right(right_layout2) - end - - mywibox[s]:set_widget(layout) - if s == 1 then mywibox2:set_widget(layout2) end -end --- }}} - --- {{{ Mouse bindings -root.buttons(awful.util.table.join( - awful.button({ }, 5, awful.tag.viewnext), - awful.button({ }, 4, awful.tag.viewprev) -)) --- }}} - --- {{{ Key bindings -globalkeys = awful.util.table.join( - awful.key({ modkey, }, "Escape", awful.tag.history.restore), - - awful.key({ modkey, }, "a", - function () - awful.client.focus.byidx(-1) - if client.focus then client.focus:raise() end - end), - awful.key({ modkey, }, "d", - function () - awful.client.focus.byidx( 1) - if client.focus then client.focus:raise() end - end), - - --~ awful.key({ modkey, }, "Tab", - --~ function () - --~ awful.client.focus.history.previous() - --~ if client.focus then - --~ client.focus:raise() - --~ end - --~ end), - - -- power button - awful.key({ }, "XF86PowerOff", function () awful.util.spawn_with_shell("mate-session-save --shutdown-dialog") end), - - -- banshee commands - awful.key({ modkey, "Shift" }, "Up", function () awful.util.spawn_with_shell("banshee --show") end), - awful.key({ modkey, "Shift" }, "Down", function () awful.util.spawn_with_shell("banshee --hide") end), - awful.key({ modkey, }, "Left", function () awful.util.spawn_with_shell("banshee --restart-or-previous") end), - awful.key({ modkey, }, "Right", function () awful.util.spawn_with_shell("banshee --next") end), - awful.key({ modkey, }, "Down", function () awful.util.spawn_with_shell("banshee --toggle-playing") end), - - -- Standard program - awful.key({ modkey, }, "Return", function () awful.util.spawn_with_shell(terminal) end), - awful.key({ modkey, "Shift" }, "f", function () awful.util.spawn_with_shell("firefox") end), - awful.key({ modkey, "Shift" }, "d", function () awful.util.spawn_with_shell("/home/shmibs/games/desura/desura") end), - awful.key({ modkey, "Shift" }, "o", function () awful.util.spawn_with_shell("/home/shmibs/stuffs/tor/start-tor-browser") end), - awful.key({ modkey, "Shift" }, "i", function () awful.util.spawn_with_shell("gimp") end), - awful.key({ modkey, "Shift" }, "w", function () awful.util.spawn_with_shell("mathematica") end), - awful.key({ modkey, "Shift" }, "c", function () awful.util.spawn_with_shell("mate-calc") end), - awful.key({ modkey, "Shift" }, "l", function () awful.util.spawn_with_shell("liferea") end), - awful.key({ modkey, "Shift" }, "v", function () awful.util.spawn_with_shell("mate-terminal -e \"vim\"") end), - awful.key({ modkey, "Shift" }, "x", function () awful.util.spawn_with_shell("mcomix") end), - awful.key({ modkey, "Shift" }, "s", function () awful.util.spawn_with_shell("pavucontrol") end), - awful.key({ modkey, "Shift" }, "t", function () awful.util.spawn_with_shell("transmission-gtk") end), - awful.key({ modkey, }, "#19", function () awful.util.spawn_with_shell("dmenu_run -fn \"TI Calc Fonts Clean-8\" -h 16 -nb \"" .. beautiful.bg_normal .. "\" -nf \"" .. beautiful.fg_normal .. "\" -sb \"" .. beautiful.bg_focus .. "\" -sf \"" .. beautiful.fg_focus .. "\"") end), - awful.key({ }, "Print", function () awful.util.spawn_with_shell("mate-screenshot") end), - - -- bindings for quick access to folders - awful.key({modkey, "Shift", "Control" }, "Return" , function () awful.util.spawn_with_shell(terminal .. " -t ranger -e \"ranger /home/shmibs\"") end), - awful.key({modkey, "Shift", "Control" }, "d" , function () awful.util.spawn_with_shell(terminal .. " -t ranger -e \"ranger /home/shmibs/downloads\"") end), - awful.key({modkey, "Shift", "Control" }, "s" , function () awful.util.spawn_with_shell(terminal .. " -t ranger -e \"ranger /home/shmibs/desktop\"") end), - awful.key({modkey, "Shift", "Control" }, "m" , function () awful.util.spawn_with_shell(terminal .. " -t ranger -e \"ranger /home/shmibs/music\"") end), - awful.key({modkey, "Shift", "Control" }, "g" , function () awful.util.spawn_with_shell(terminal .. " -t ranger -e \"ranger /home/shmibs/games\"") end), - awful.key({modkey, "Shift", "Control" }, "p" , function () awful.util.spawn_with_shell(terminal .. " -t ranger -e \"ranger /home/shmibs/projects\"") end), - awful.key({modkey, "Shift", "Control" }, "r" , function () awful.util.spawn_with_shell(terminal .. " -t ranger -e \"ranger /home/shmibs/romz\"") end), - awful.key({modkey, "Shift", "Control" }, "c" , function () awful.util.spawn_with_shell(terminal .. " -t ranger -e \"ranger /home/shmibs/comics\"") end), - awful.key({modkey, "Shift", "Control" }, "k" , function () awful.util.spawn_with_shell(terminal .. " -t ranger -e \"ranger /home/shmibs/disks\"") end), - awful.key({modkey, "Shift", "Control" }, "i" , function () awful.util.spawn_with_shell(terminal .. " -t ranger -e \"ranger /home/shmibs/images\"") end), - awful.key({modkey, "Shift", "Control" }, "b" , function () awful.util.spawn_with_shell(terminal .. " -t ranger -e \"ranger /home/shmibs/backdrops\"") end), - awful.key({modkey, "Shift", "Control" }, "t" , function () awful.util.spawn_with_shell(terminal .. " -t ranger -e \"ranger /home/shmibs/thcool\"") end), - awful.key({modkey, "Shift", "Control" }, "v" , function () awful.util.spawn_with_shell(terminal .. " -t ranger -e \"ranger /home/shmibs/videos\"") end), - - -- focus and swap by direction. - awful.key({ modkey, }, "k", function () awful.client.focus.bydirection( "up" ) - if client.focus then client.focus:raise() end - end), - awful.key({ modkey, }, "j", function () awful.client.focus.bydirection( "down" ) - if client.focus then client.focus:raise() end - end), - awful.key({ modkey, }, "h", function () awful.client.focus.bydirection( "left" ) - if client.focus then client.focus:raise() end - end), - awful.key({ modkey, }, "l", function () awful.client.focus.bydirection( "right" ) - if client.focus then client.focus:raise() end - end), - awful.key({ modkey, "Control" }, "k", function () awful.client.swap.bydirection( "up" ) end), - awful.key({ modkey, "Control" }, "j", function () awful.client.swap.bydirection( "down" ) end), - awful.key({ modkey, "Control" }, "h", function () awful.client.swap.bydirection( "left" ) end), - awful.key({ modkey, "Control" }, "l", function () awful.client.swap.bydirection( "right" ) end), - - -- switch between screens - awful.key({ modkey, }, "s", function() - awful.screen.focus_relative(1) - end), - - -- switch between window layouts - awful.key({ modkey, }, "space", function () - awful.layout.inc(layouts, 1) - end), - awful.key({ modkey, "Shift" }, "space", function () - awful.layout.inc(layouts, -1) - end), - -- restart - awful.key({ modkey, "Control" }, "r", awesome.restart) -) - -clientkeys = awful.util.table.join( - -- rotate the screen of the current client - awful.key({ modkey, "Control" }, "s", - function(c) - awful.screen.focus_relative(1) - awful.client.movetoscreen(c, mouse.screen) - awful.client.jumpto(c) - end), - - awful.key({ modkey, "Shift" }, "q", - function (c) - if c.type ~= "dock" and c.type ~= "desktop" then - c.fullscreen = not c.fullscreen - end - end), - awful.key({ modkey, }, "e", - function (c) - if c.type ~= "dock" and c.type ~= "desktop" then - if c.class ~= "Ftjerm" then - c:kill() - end - end - end), - awful.key({ modkey, }, "t", - function (c) - if c.type ~= "dock" and c.type ~= "desktop" then - c.ontop = not c.ontop - end - end), - awful.key({ modkey, }, "q", - function (c) - if c.type ~= "dock" and c.type ~= "desktop" then - if c.maximized_horizontal == true or c.maximized_vertical == true then - --~ c.border_width = beautiful.border_width - c.maximized_horizontal = false - c.maximized_vertical = false - else - --~ c.border_width = 0 - c.maximized_horizontal = true - c.maximized_vertical = true - end - end - end) -) - --- Bind all key numbers to tags. --- Be careful: we use keycodes to make it works on any keyboard layout. --- This should map on the top row of your keyboard, usually 1 to 9. -for i = 1, 5 do - globalkeys = awful.util.table.join(globalkeys, - awful.key({ modkey }, "#" .. i + 9, - function () - local screen = mouse.screen - local tag = awful.tag.gettags(screen)[i] - if tag then - awful.tag.viewonly(tag) - end - end), - awful.key({ modkey, "Control" }, "#" .. i + 9, - function () - local tag = awful.tag.gettags(client.focus.screen)[i] - if client.focus and tag then - awful.client.movetotag(tag) - end - end)) -end - -clientbuttons = awful.util.table.join( - awful.button({ }, 1, function (c) - if c.type ~= "dock" and c.type ~= "desktop" then - client.focus = c; - c:raise() - end - end), - awful.button({ "Mod1" }, 1, awful.mouse.client.move), - awful.button({ "Mod1", "Shift" }, 1, awful.mouse.client.resize)) - --- Set keys -root.keys(globalkeys) --- }}} - --- {{{ Rules -awful.rules.rules = { - -- All clients will match this rule. - { rule = { }, - properties = { border_width = beautiful.border_width, - border_color = beautiful.border_normal, - maximized_horizontal = false, - maximized_vertical = false, - focus = awful.client.focus.filter, - keys = clientkeys, - buttons = clientbuttons } }, - { rule = { type = "desktop" }, - properties = { border_width = 0, - sticky = true, - floating = true } }, - { rule = { class = "banshee" }, - properties = { floating = true, - maximized_vertical = true, - maximized_horizontal = true } }, - { rule_any = { type = { "splash" }, name = { "ftjerm", "GSdx" } }, - properties = { border_width = 0, - floating = true, - ontop = true } }, - { rule_any = { type = { "Dialog" }, name = { "plugin-container", "Firefox Preferences", "File Operation Progress" }, class = { "Wine", "M64py", "Pcsx2", "MPlayer", "pinentry", "Gimp", "pavucontrol" } }, - properties = { floating = true } }, - { rule_any = { role = { "gimp-image-window" } }, - properties = { floating = false } } -} --- }}} - --- {{{ Signals - ---~ -- Switch focus to screen upon mouse entry ---~ for s = 1, screen.count() do - --~ screen[s]:connect_signal("mouse::enter", function(s) - --~ screen.focus(s) - --~ client.focus = client.focus.history.get(s) - --~ end) ---~ end - --- Signal function to execute when a new client appears. -client.connect_signal("manage", function (c, startup) - if c.type == "desktop" then - c:unmanage() - else - -- Enable sloppy focus - --~ c:connect_signal("mouse::enter", function(c) - --~ if awful.layout.get(c.screen) ~= awful.layout.suit.magnifier - --~ and awful.client.focus.filter(c) then - --~ client.focus = c - --~ end - --~ end) - - if not startup then - -- Set the windows at the slave, - -- i.e. put it at the end of others instead of setting it master. - -- awful.client.setslave(c) - - -- Put windows in a smart way, only if they does not set an initial position. - if not c.size_hints.user_position and not c.size_hints.program_position then - awful.placement.no_overlap(c) - awful.placement.no_offscreen(c) - end - end - - local titlebars_enabled = false - if titlebars_enabled and (c.type == "normal" or c.type == "dialog") then - -- buttons for the titlebar - local buttons = awful.util.table.join( - awful.button({ }, 1, function() - client.focus = c - c:raise() - awful.mouse.client.move(c) - end), - awful.button({ }, 3, function() - client.focus = c - c:raise() - awful.mouse.client.resize(c) - end) - ) - - -- Widgets that are aligned to the left - local left_layout = wibox.layout.fixed.horizontal() - left_layout:add(awful.titlebar.widget.iconwidget(c)) - left_layout:buttons(buttons) - - -- Widgets that are aligned to the right - local right_layout = wibox.layout.fixed.horizontal() - right_layout:add(awful.titlebar.widget.floatingbutton(c)) - right_layout:add(awful.titlebar.widget.maximizedbutton(c)) - right_layout:add(awful.titlebar.widget.stickybutton(c)) - right_layout:add(awful.titlebar.widget.ontopbutton(c)) - right_layout:add(awful.titlebar.widget.closebutton(c)) - - -- The title goes in the middle - local middle_layout = wibox.layout.flex.horizontal() - local title = awful.titlebar.widget.titlewidget(c) - title:set_align("center") - middle_layout:add(title) - middle_layout:buttons(buttons) - - -- Now bring it all together - local layout = wibox.layout.align.horizontal() - layout:set_left(left_layout) - layout:set_right(right_layout) - layout:set_middle(middle_layout) - - awful.titlebar(c):set_widget(layout) - end - end -end) - -client.connect_signal("focus", function(c) - c:raise() - c.border_color = beautiful.border_focus - c.opacity = 1.0 -end) -client.connect_signal("unfocus", function(c) - c.border_color = beautiful.border_normal - -- Uncomment to make unfocused terminals transparent when not in "max" mode - --if awful.layout.getname(awful.layout.get(mouse.screen)) ~= "max" then - -- if c.class == "Mate-terminal" then - -- c.opacity = 0.8 - -- end - --end -end) --- }}} diff --git a/.config/awesome/themes/current b/.config/awesome/themes/current deleted file mode 120000 index 7403173..0000000 --- a/.config/awesome/themes/current +++ /dev/null @@ -1 +0,0 @@ -hakamichi/
\ No newline at end of file diff --git a/.config/awesome/themes/gits/awesome-icon.png b/.config/awesome/themes/gits/awesome-icon.png Binary files differdeleted file mode 100644 index ec2a22d..0000000 --- a/.config/awesome/themes/gits/awesome-icon.png +++ /dev/null diff --git a/.config/awesome/themes/gits/backdrop.jpg b/.config/awesome/themes/gits/backdrop.jpg Binary files differdeleted file mode 100644 index 15de50b..0000000 --- a/.config/awesome/themes/gits/backdrop.jpg +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/big/dwindle.png b/.config/awesome/themes/gits/layouts/big/dwindle.png Binary files differdeleted file mode 100644 index df0cbff..0000000 --- a/.config/awesome/themes/gits/layouts/big/dwindle.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/big/fairh.png b/.config/awesome/themes/gits/layouts/big/fairh.png Binary files differdeleted file mode 100644 index bf81e12..0000000 --- a/.config/awesome/themes/gits/layouts/big/fairh.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/big/fairv.png b/.config/awesome/themes/gits/layouts/big/fairv.png Binary files differdeleted file mode 100644 index 06fdde4..0000000 --- a/.config/awesome/themes/gits/layouts/big/fairv.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/big/floating.png b/.config/awesome/themes/gits/layouts/big/floating.png Binary files differdeleted file mode 100644 index 56de86b..0000000 --- a/.config/awesome/themes/gits/layouts/big/floating.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/big/fullscreen.png b/.config/awesome/themes/gits/layouts/big/fullscreen.png Binary files differdeleted file mode 100644 index 9561be8..0000000 --- a/.config/awesome/themes/gits/layouts/big/fullscreen.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/big/magnifier.png b/.config/awesome/themes/gits/layouts/big/magnifier.png Binary files differdeleted file mode 100644 index 8cc1698..0000000 --- a/.config/awesome/themes/gits/layouts/big/magnifier.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/big/max.png b/.config/awesome/themes/gits/layouts/big/max.png Binary files differdeleted file mode 100644 index e6ffd1c..0000000 --- a/.config/awesome/themes/gits/layouts/big/max.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/big/spiral.png b/.config/awesome/themes/gits/layouts/big/spiral.png Binary files differdeleted file mode 100644 index 2bb2751..0000000 --- a/.config/awesome/themes/gits/layouts/big/spiral.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/big/tile.png b/.config/awesome/themes/gits/layouts/big/tile.png Binary files differdeleted file mode 100644 index a3f4435..0000000 --- a/.config/awesome/themes/gits/layouts/big/tile.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/big/tilebottom.png b/.config/awesome/themes/gits/layouts/big/tilebottom.png Binary files differdeleted file mode 100644 index 44742a0..0000000 --- a/.config/awesome/themes/gits/layouts/big/tilebottom.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/big/tileleft.png b/.config/awesome/themes/gits/layouts/big/tileleft.png Binary files differdeleted file mode 100644 index 99220f0..0000000 --- a/.config/awesome/themes/gits/layouts/big/tileleft.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/big/tiletop.png b/.config/awesome/themes/gits/layouts/big/tiletop.png Binary files differdeleted file mode 100644 index ef7729f..0000000 --- a/.config/awesome/themes/gits/layouts/big/tiletop.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/dwindle.png b/.config/awesome/themes/gits/layouts/dwindle.png Binary files differdeleted file mode 100644 index df0cbff..0000000 --- a/.config/awesome/themes/gits/layouts/dwindle.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/fairh.png b/.config/awesome/themes/gits/layouts/fairh.png Binary files differdeleted file mode 100644 index bf81e12..0000000 --- a/.config/awesome/themes/gits/layouts/fairh.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/fairv.png b/.config/awesome/themes/gits/layouts/fairv.png Binary files differdeleted file mode 100644 index b6b15d3..0000000 --- a/.config/awesome/themes/gits/layouts/fairv.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/floating.png b/.config/awesome/themes/gits/layouts/floating.png Binary files differdeleted file mode 100644 index 56de86b..0000000 --- a/.config/awesome/themes/gits/layouts/floating.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/fullscreen.png b/.config/awesome/themes/gits/layouts/fullscreen.png Binary files differdeleted file mode 100644 index 9561be8..0000000 --- a/.config/awesome/themes/gits/layouts/fullscreen.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/magnifier.png b/.config/awesome/themes/gits/layouts/magnifier.png Binary files differdeleted file mode 100644 index 8cc1698..0000000 --- a/.config/awesome/themes/gits/layouts/magnifier.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/max.png b/.config/awesome/themes/gits/layouts/max.png Binary files differdeleted file mode 100644 index 7819398..0000000 --- a/.config/awesome/themes/gits/layouts/max.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/spiral.png b/.config/awesome/themes/gits/layouts/spiral.png Binary files differdeleted file mode 100644 index 2bb2751..0000000 --- a/.config/awesome/themes/gits/layouts/spiral.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/tile.png b/.config/awesome/themes/gits/layouts/tile.png Binary files differdeleted file mode 100644 index eaa469c..0000000 --- a/.config/awesome/themes/gits/layouts/tile.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/tilebottom.png b/.config/awesome/themes/gits/layouts/tilebottom.png Binary files differdeleted file mode 100644 index 44742a0..0000000 --- a/.config/awesome/themes/gits/layouts/tilebottom.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/tileleft.png b/.config/awesome/themes/gits/layouts/tileleft.png Binary files differdeleted file mode 100644 index 99220f0..0000000 --- a/.config/awesome/themes/gits/layouts/tileleft.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/tiletop.png b/.config/awesome/themes/gits/layouts/tiletop.png Binary files differdeleted file mode 100644 index ef7729f..0000000 --- a/.config/awesome/themes/gits/layouts/tiletop.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/uselessfair.png b/.config/awesome/themes/gits/layouts/uselessfair.png Binary files differdeleted file mode 100644 index 0182a42..0000000 --- a/.config/awesome/themes/gits/layouts/uselessfair.png +++ /dev/null diff --git a/.config/awesome/themes/gits/layouts/uselesstile.png b/.config/awesome/themes/gits/layouts/uselesstile.png Binary files differdeleted file mode 100644 index 6d4a18c..0000000 --- a/.config/awesome/themes/gits/layouts/uselesstile.png +++ /dev/null diff --git a/.config/awesome/themes/gits/submenu.png b/.config/awesome/themes/gits/submenu.png Binary files differdeleted file mode 100644 index a723e10..0000000 --- a/.config/awesome/themes/gits/submenu.png +++ /dev/null diff --git a/.config/awesome/themes/gits/taglist/squarefz.png b/.config/awesome/themes/gits/taglist/squarefz.png Binary files differdeleted file mode 100644 index 2172561..0000000 --- a/.config/awesome/themes/gits/taglist/squarefz.png +++ /dev/null diff --git a/.config/awesome/themes/gits/taglist/squarez.png b/.config/awesome/themes/gits/taglist/squarez.png Binary files differdeleted file mode 100644 index 870d6d8..0000000 --- a/.config/awesome/themes/gits/taglist/squarez.png +++ /dev/null diff --git a/.config/awesome/themes/gits/theme.lua b/.config/awesome/themes/gits/theme.lua deleted file mode 100644 index 6e9ac30..0000000 --- a/.config/awesome/themes/gits/theme.lua +++ /dev/null @@ -1,134 +0,0 @@ -------------------------------- --- "current" current theme -- --- By Adrian C. (anrxc) -- -------------------------------- - --- Alternative icon sets and widget icons: --- * http://current.naquadah.org/wiki/Nice_Icons - --- {{{ Main -theme = {} -theme.directory = "/home/shmibs/.config/awesome/themes/current/" -theme.wallpaper = theme.directory .. "backdrop.jpg" - --- }}} - --- {{{ Styles -theme.font = "TI Calc Fonts Clean 8" - --- {{{ Colors -theme.fg_focus = "#FCFCFC" -theme.fg_normal = "#FCFCFC" -theme.fg_urgent = "#FCFCFC" -theme.bg_focus = "#7a658f" -theme.bg_normal = "#333333" -theme.bg_urgent = "#df3c29" -theme.bg_systray = theme.bg_normal --- }}} - --- {{{ Borders -theme.border_width = 2 -theme.border_focus = theme.bg_focus -theme.border_normal = theme.bg_normal -theme.border_marked = theme.bg_urgent --- }}} - --- {{{ Titlebars -theme.titlebar_bg_normal = "#93A8C2" -theme.titlebar_bg_focus = "#7F91A7" --- }}} - --- There are other variable sets --- overriding the default one when --- defined, the sets are: --- [taglist|tasklist]_[bg|fg]_[focus|urgent] --- titlebar_[normal|focus] --- tooltip_[font|opacity|fg_color|bg_color|border_width|border_color] --- Example: ---theme.taglist_bg_focus = "#CC9393" --- }}} - --- {{{ Widgets --- You can add as many variables as --- you wish and access them by using --- beautiful.variable in your rc.lua ---theme.fg_widget = "#AECF96" ---theme.fg_center_widget = "#88A175" ---theme.fg_end_widget = "#FF5656" ---theme.bg_widget = "#494B4F" ---theme.border_widget = "#3F3F3F" --- }}} - --- {{{ Mouse finder -theme.mouse_finder_color = "#79412E" --- mouse_finder_[timeout|animate_timeout|radius|factor] --- }}} - --- {{{ Menu --- Variables set for theming the menu: --- menu_[bg|fg]_[normal|focus] --- menu_[border_color|border_width] -theme.menu_height = 15 -theme.menu_width = 108 --- }}} - --- {{{ lain -theme.useless_gap_width = 10 --- }}} - --- {{{ Icons --- {{{ Taglist -theme.taglist_squares_sel = theme.directory .. "taglist/squarefz.png" -theme.taglist_squares_unsel = theme.directory .. "taglist/squarez.png" ---theme.taglist_squares_resize = "false" --- }}} - --- {{{ Misc -theme.awesome_icon = theme.directory .. "awesome-icon.png" -theme.menu_submenu_icon = theme.directory .. "submenu.png" --- }}} - --- {{{ Layout -theme.layout_tile = theme.directory .. "layouts/tile.png" -theme.layout_tileleft = theme.directory .. "layouts/tileleft.png" -theme.layout_tilebottom = theme.directory .. "layouts/tilebottom.png" -theme.layout_tiletop = theme.directory .. "layouts/tiletop.png" -theme.layout_uselesstile= theme.directory .. "layouts/tile.png" -theme.layout_fairv = theme.directory .. "layouts/fairv.png" -theme.layout_fairh = theme.directory .. "layouts/fairh.png" -theme.layout_uselessfair= theme.directory .. "layouts/fairv.png" -theme.layout_spiral = theme.directory .. "layouts/spiral.png" -theme.layout_dwindle = theme.directory .. "layouts/dwindle.png" -theme.layout_max = theme.directory .. "layouts/max.png" -theme.layout_fullscreen = theme.directory .. "layouts/fullscreen.png" -theme.layout_magnifier = theme.directory .. "layouts/magnifier.png" -theme.layout_floating = theme.directory .. "layouts/floating.png" --- }}} - --- {{{ Titlebar -theme.titlebar_close_button_focus = theme.directory .. "titlebar/close_focus.png" -theme.titlebar_close_button_normal = theme.directory .. "titlebar/close_normal.png" - -theme.titlebar_ontop_button_focus_active = theme.directory .. "titlebar/ontop_focus_active.png" -theme.titlebar_ontop_button_normal_active = theme.directory .. "titlebar/ontop_normal_active.png" -theme.titlebar_ontop_button_focus_inactive = theme.directory .. "titlebar/ontop_focus_inactive.png" -theme.titlebar_ontop_button_normal_inactive = theme.directory .. "titlebar/ontop_normal_inactive.png" - -theme.titlebar_sticky_button_focus_active = theme.directory .. "titlebar/sticky_focus_active.png" -theme.titlebar_sticky_button_normal_active = theme.directory .. "titlebar/sticky_normal_active.png" -theme.titlebar_sticky_button_focus_inactive = theme.directory .. "titlebar/sticky_focus_inactive.png" -theme.titlebar_sticky_button_normal_inactive = theme.directory .. "titlebar/sticky_normal_inactive.png" - -theme.titlebar_floating_button_focus_active = theme.directory .. "titlebar/floating_focus_active.png" -theme.titlebar_floating_button_normal_active = theme.directory .. "titlebar/floating_normal_active.png" -theme.titlebar_floating_button_focus_inactive = theme.directory .. "titlebar/floating_focus_inactive.png" -theme.titlebar_floating_button_normal_inactive = theme.directory .. "titlebar/floating_normal_inactive.png" - -theme.titlebar_maximized_button_focus_active = theme.directory .. "titlebar/maximized_focus_active.png" -theme.titlebar_maximized_button_normal_active = theme.directory .. "titlebar/maximized_normal_active.png" -theme.titlebar_maximized_button_focus_inactive = theme.directory .. "titlebar/maximized_focus_inactive.png" -theme.titlebar_maximized_button_normal_inactive = theme.directory .. "titlebar/maximized_normal_inactive.png" --- }}} --- }}} - -return theme diff --git a/.config/awesome/themes/gits/titlebar/close_focus.png b/.config/awesome/themes/gits/titlebar/close_focus.png Binary files differdeleted file mode 100644 index e9b4179..0000000 --- a/.config/awesome/themes/gits/titlebar/close_focus.png +++ /dev/null diff --git a/.config/awesome/themes/gits/titlebar/close_normal.png b/.config/awesome/themes/gits/titlebar/close_normal.png Binary files differdeleted file mode 100644 index 9c8d3ba..0000000 --- a/.config/awesome/themes/gits/titlebar/close_normal.png +++ /dev/null diff --git a/.config/awesome/themes/gits/titlebar/floating_focus_active.png b/.config/awesome/themes/gits/titlebar/floating_focus_active.png Binary files differdeleted file mode 100644 index 0f9ee0d..0000000 --- a/.config/awesome/themes/gits/titlebar/floating_focus_active.png +++ /dev/null diff --git a/.config/awesome/themes/gits/titlebar/floating_focus_inactive.png b/.config/awesome/themes/gits/titlebar/floating_focus_inactive.png Binary files differdeleted file mode 100644 index 7973f6a..0000000 --- a/.config/awesome/themes/gits/titlebar/floating_focus_inactive.png +++ /dev/null diff --git a/.config/awesome/themes/gits/titlebar/floating_normal_active.png b/.config/awesome/themes/gits/titlebar/floating_normal_active.png Binary files differdeleted file mode 100644 index 403b2e9..0000000 --- a/.config/awesome/themes/gits/titlebar/floating_normal_active.png +++ /dev/null diff --git a/.config/awesome/themes/gits/titlebar/floating_normal_inactive.png b/.config/awesome/themes/gits/titlebar/floating_normal_inactive.png Binary files differdeleted file mode 100644 index 829e223..0000000 --- a/.config/awesome/themes/gits/titlebar/floating_normal_inactive.png +++ /dev/null diff --git a/.config/awesome/themes/gits/titlebar/maximized_focus_active.png b/.config/awesome/themes/gits/titlebar/maximized_focus_active.png Binary files differdeleted file mode 100644 index 7e8498a..0000000 --- a/.config/awesome/themes/gits/titlebar/maximized_focus_active.png +++ /dev/null diff --git a/.config/awesome/themes/gits/titlebar/maximized_focus_inactive.png b/.config/awesome/themes/gits/titlebar/maximized_focus_inactive.png Binary files differdeleted file mode 100644 index 46d3f96..0000000 --- a/.config/awesome/themes/gits/titlebar/maximized_focus_inactive.png +++ /dev/null diff --git a/.config/awesome/themes/gits/titlebar/maximized_normal_active.png b/.config/awesome/themes/gits/titlebar/maximized_normal_active.png Binary files differdeleted file mode 100644 index 2ebf811..0000000 --- a/.config/awesome/themes/gits/titlebar/maximized_normal_active.png +++ /dev/null diff --git a/.config/awesome/themes/gits/titlebar/maximized_normal_inactive.png b/.config/awesome/themes/gits/titlebar/maximized_normal_inactive.png Binary files differdeleted file mode 100644 index 524fc5c..0000000 --- a/.config/awesome/themes/gits/titlebar/maximized_normal_inactive.png +++ /dev/null diff --git a/.config/awesome/themes/gits/titlebar/ontop_focus_active.png b/.config/awesome/themes/gits/titlebar/ontop_focus_active.png Binary files differdeleted file mode 100644 index 86e61b7..0000000 --- a/.config/awesome/themes/gits/titlebar/ontop_focus_active.png +++ /dev/null diff --git a/.config/awesome/themes/gits/titlebar/ontop_focus_inactive.png b/.config/awesome/themes/gits/titlebar/ontop_focus_inactive.png Binary files differdeleted file mode 100644 index 3bee67e..0000000 --- a/.config/awesome/themes/gits/titlebar/ontop_focus_inactive.png +++ /dev/null diff --git a/.config/awesome/themes/gits/titlebar/ontop_normal_active.png b/.config/awesome/themes/gits/titlebar/ontop_normal_active.png Binary files differdeleted file mode 100644 index 4d78f44..0000000 --- a/.config/awesome/themes/gits/titlebar/ontop_normal_active.png +++ /dev/null diff --git a/.config/awesome/themes/gits/titlebar/ontop_normal_inactive.png b/.config/awesome/themes/gits/titlebar/ontop_normal_inactive.png Binary files differdeleted file mode 100644 index 9809c2c..0000000 --- a/.config/awesome/themes/gits/titlebar/ontop_normal_inactive.png +++ /dev/null diff --git a/.config/awesome/themes/gits/titlebar/sticky_focus_active.png b/.config/awesome/themes/gits/titlebar/sticky_focus_active.png Binary files differdeleted file mode 100644 index b10e604..0000000 --- a/.config/awesome/themes/gits/titlebar/sticky_focus_active.png +++ /dev/null diff --git a/.config/awesome/themes/gits/titlebar/sticky_focus_inactive.png b/.config/awesome/themes/gits/titlebar/sticky_focus_inactive.png Binary files differdeleted file mode 100644 index cf953c4..0000000 --- a/.config/awesome/themes/gits/titlebar/sticky_focus_inactive.png +++ /dev/null diff --git a/.config/awesome/themes/gits/titlebar/sticky_normal_active.png b/.config/awesome/themes/gits/titlebar/sticky_normal_active.png Binary files differdeleted file mode 100644 index 607a55c..0000000 --- a/.config/awesome/themes/gits/titlebar/sticky_normal_active.png +++ /dev/null diff --git a/.config/awesome/themes/gits/titlebar/sticky_normal_inactive.png b/.config/awesome/themes/gits/titlebar/sticky_normal_inactive.png Binary files differdeleted file mode 100644 index 82161e9..0000000 --- a/.config/awesome/themes/gits/titlebar/sticky_normal_inactive.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/awesome-icon.png b/.config/awesome/themes/hakamichi/awesome-icon.png Binary files differdeleted file mode 100644 index ec2a22d..0000000 --- a/.config/awesome/themes/hakamichi/awesome-icon.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/backdrop.jpg b/.config/awesome/themes/hakamichi/backdrop.jpg Binary files differdeleted file mode 100644 index 105aecd..0000000 --- a/.config/awesome/themes/hakamichi/backdrop.jpg +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/gits b/.config/awesome/themes/hakamichi/gits deleted file mode 120000 index d70bf98..0000000 --- a/.config/awesome/themes/hakamichi/gits +++ /dev/null @@ -1 +0,0 @@ -.config/awesome/themes/gits/
\ No newline at end of file diff --git a/.config/awesome/themes/hakamichi/layouts/big/dwindle.png b/.config/awesome/themes/hakamichi/layouts/big/dwindle.png Binary files differdeleted file mode 100644 index df0cbff..0000000 --- a/.config/awesome/themes/hakamichi/layouts/big/dwindle.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/big/fairh.png b/.config/awesome/themes/hakamichi/layouts/big/fairh.png Binary files differdeleted file mode 100644 index bf81e12..0000000 --- a/.config/awesome/themes/hakamichi/layouts/big/fairh.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/big/fairv.png b/.config/awesome/themes/hakamichi/layouts/big/fairv.png Binary files differdeleted file mode 100644 index 06fdde4..0000000 --- a/.config/awesome/themes/hakamichi/layouts/big/fairv.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/big/floating.png b/.config/awesome/themes/hakamichi/layouts/big/floating.png Binary files differdeleted file mode 100644 index 56de86b..0000000 --- a/.config/awesome/themes/hakamichi/layouts/big/floating.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/big/fullscreen.png b/.config/awesome/themes/hakamichi/layouts/big/fullscreen.png Binary files differdeleted file mode 100644 index 9561be8..0000000 --- a/.config/awesome/themes/hakamichi/layouts/big/fullscreen.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/big/magnifier.png b/.config/awesome/themes/hakamichi/layouts/big/magnifier.png Binary files differdeleted file mode 100644 index 8cc1698..0000000 --- a/.config/awesome/themes/hakamichi/layouts/big/magnifier.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/big/max.png b/.config/awesome/themes/hakamichi/layouts/big/max.png Binary files differdeleted file mode 100644 index e6ffd1c..0000000 --- a/.config/awesome/themes/hakamichi/layouts/big/max.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/big/spiral.png b/.config/awesome/themes/hakamichi/layouts/big/spiral.png Binary files differdeleted file mode 100644 index 2bb2751..0000000 --- a/.config/awesome/themes/hakamichi/layouts/big/spiral.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/big/tile.png b/.config/awesome/themes/hakamichi/layouts/big/tile.png Binary files differdeleted file mode 100644 index a3f4435..0000000 --- a/.config/awesome/themes/hakamichi/layouts/big/tile.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/big/tilebottom.png b/.config/awesome/themes/hakamichi/layouts/big/tilebottom.png Binary files differdeleted file mode 100644 index 44742a0..0000000 --- a/.config/awesome/themes/hakamichi/layouts/big/tilebottom.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/big/tileleft.png b/.config/awesome/themes/hakamichi/layouts/big/tileleft.png Binary files differdeleted file mode 100644 index 99220f0..0000000 --- a/.config/awesome/themes/hakamichi/layouts/big/tileleft.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/big/tiletop.png b/.config/awesome/themes/hakamichi/layouts/big/tiletop.png Binary files differdeleted file mode 100644 index ef7729f..0000000 --- a/.config/awesome/themes/hakamichi/layouts/big/tiletop.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/dwindle.png b/.config/awesome/themes/hakamichi/layouts/dwindle.png Binary files differdeleted file mode 100644 index df0cbff..0000000 --- a/.config/awesome/themes/hakamichi/layouts/dwindle.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/fairh.png b/.config/awesome/themes/hakamichi/layouts/fairh.png Binary files differdeleted file mode 100644 index bf81e12..0000000 --- a/.config/awesome/themes/hakamichi/layouts/fairh.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/fairv.png b/.config/awesome/themes/hakamichi/layouts/fairv.png Binary files differdeleted file mode 100644 index b6b15d3..0000000 --- a/.config/awesome/themes/hakamichi/layouts/fairv.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/floating.png b/.config/awesome/themes/hakamichi/layouts/floating.png Binary files differdeleted file mode 100644 index 56de86b..0000000 --- a/.config/awesome/themes/hakamichi/layouts/floating.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/fullscreen.png b/.config/awesome/themes/hakamichi/layouts/fullscreen.png Binary files differdeleted file mode 100644 index 9561be8..0000000 --- a/.config/awesome/themes/hakamichi/layouts/fullscreen.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/magnifier.png b/.config/awesome/themes/hakamichi/layouts/magnifier.png Binary files differdeleted file mode 100644 index 8cc1698..0000000 --- a/.config/awesome/themes/hakamichi/layouts/magnifier.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/max.png b/.config/awesome/themes/hakamichi/layouts/max.png Binary files differdeleted file mode 100644 index 7819398..0000000 --- a/.config/awesome/themes/hakamichi/layouts/max.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/spiral.png b/.config/awesome/themes/hakamichi/layouts/spiral.png Binary files differdeleted file mode 100644 index 2bb2751..0000000 --- a/.config/awesome/themes/hakamichi/layouts/spiral.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/tile.png b/.config/awesome/themes/hakamichi/layouts/tile.png Binary files differdeleted file mode 100644 index eaa469c..0000000 --- a/.config/awesome/themes/hakamichi/layouts/tile.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/tilebottom.png b/.config/awesome/themes/hakamichi/layouts/tilebottom.png Binary files differdeleted file mode 100644 index 44742a0..0000000 --- a/.config/awesome/themes/hakamichi/layouts/tilebottom.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/tileleft.png b/.config/awesome/themes/hakamichi/layouts/tileleft.png Binary files differdeleted file mode 100644 index 99220f0..0000000 --- a/.config/awesome/themes/hakamichi/layouts/tileleft.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/tiletop.png b/.config/awesome/themes/hakamichi/layouts/tiletop.png Binary files differdeleted file mode 100644 index ef7729f..0000000 --- a/.config/awesome/themes/hakamichi/layouts/tiletop.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/uselessfair.png b/.config/awesome/themes/hakamichi/layouts/uselessfair.png Binary files differdeleted file mode 100644 index 0182a42..0000000 --- a/.config/awesome/themes/hakamichi/layouts/uselessfair.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/layouts/uselesstile.png b/.config/awesome/themes/hakamichi/layouts/uselesstile.png Binary files differdeleted file mode 100644 index 6d4a18c..0000000 --- a/.config/awesome/themes/hakamichi/layouts/uselesstile.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/submenu.png b/.config/awesome/themes/hakamichi/submenu.png Binary files differdeleted file mode 100644 index a723e10..0000000 --- a/.config/awesome/themes/hakamichi/submenu.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/taglist/squarefz.png b/.config/awesome/themes/hakamichi/taglist/squarefz.png Binary files differdeleted file mode 100644 index 2172561..0000000 --- a/.config/awesome/themes/hakamichi/taglist/squarefz.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/taglist/squarez.png b/.config/awesome/themes/hakamichi/taglist/squarez.png Binary files differdeleted file mode 100644 index 870d6d8..0000000 --- a/.config/awesome/themes/hakamichi/taglist/squarez.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/theme.lua b/.config/awesome/themes/hakamichi/theme.lua deleted file mode 100644 index 3bdf612..0000000 --- a/.config/awesome/themes/hakamichi/theme.lua +++ /dev/null @@ -1,134 +0,0 @@ -------------------------------- --- "current" current theme -- --- By Adrian C. (anrxc) -- -------------------------------- - --- Alternative icon sets and widget icons: --- * http://current.naquadah.org/wiki/Nice_Icons - --- {{{ Main -theme = {} -theme.directory = "/home/shmibs/.config/awesome/themes/current/" -theme.wallpaper = theme.directory .. "backdrop.jpg" - --- }}} - --- {{{ Styles -theme.font = "TI Calc Fonts Clean 8" - --- {{{ Colors -theme.fg_focus = "#fcfcfc" -theme.fg_normal = "#dcdcdc" -theme.fg_urgent = "#fcfcfc" -theme.bg_focus = "#d64937" -theme.bg_normal = "#2d2d2d" -theme.bg_urgent = "#ffd100" -theme.bg_systray = theme.bg_normal --- }}} - --- {{{ Borders -theme.border_width = 2 -theme.border_focus = theme.bg_focus -theme.border_normal = theme.bg_normal -theme.border_marked = theme.bg_urgent --- }}} - --- {{{ Titlebars -theme.titlebar_bg_normal = "#93A8C2" -theme.titlebar_bg_focus = "#7F91A7" --- }}} - --- There are other variable sets --- overriding the default one when --- defined, the sets are: --- [taglist|tasklist]_[bg|fg]_[focus|urgent] --- titlebar_[normal|focus] --- tooltip_[font|opacity|fg_color|bg_color|border_width|border_color] --- Example: ---theme.taglist_bg_focus = "#CC9393" --- }}} - --- {{{ Widgets --- You can add as many variables as --- you wish and access them by using --- beautiful.variable in your rc.lua ---theme.fg_widget = "#AECF96" ---theme.fg_center_widget = "#88A175" ---theme.fg_end_widget = "#FF5656" ---theme.bg_widget = "#494B4F" ---theme.border_widget = "#3F3F3F" --- }}} - --- {{{ Mouse finder -theme.mouse_finder_color = "#79412E" --- mouse_finder_[timeout|animate_timeout|radius|factor] --- }}} - --- {{{ Menu --- Variables set for theming the menu: --- menu_[bg|fg]_[normal|focus] --- menu_[border_color|border_width] -theme.menu_height = 15 -theme.menu_width = 108 --- }}} - --- {{{ lain -theme.useless_gap_width = 10 --- }}} - --- {{{ Icons --- {{{ Taglist -theme.taglist_squares_sel = theme.directory .. "taglist/squarefz.png" -theme.taglist_squares_unsel = theme.directory .. "taglist/squarez.png" ---theme.taglist_squares_resize = "false" --- }}} - --- {{{ Misc -theme.awesome_icon = theme.directory .. "awesome-icon.png" -theme.menu_submenu_icon = theme.directory .. "submenu.png" --- }}} - --- {{{ Layout -theme.layout_tile = theme.directory .. "layouts/tile.png" -theme.layout_tileleft = theme.directory .. "layouts/tileleft.png" -theme.layout_tilebottom = theme.directory .. "layouts/tilebottom.png" -theme.layout_tiletop = theme.directory .. "layouts/tiletop.png" -theme.layout_uselesstile= theme.directory .. "layouts/tile.png" -theme.layout_fairv = theme.directory .. "layouts/fairv.png" -theme.layout_fairh = theme.directory .. "layouts/fairh.png" -theme.layout_uselessfair= theme.directory .. "layouts/fairv.png" -theme.layout_spiral = theme.directory .. "layouts/spiral.png" -theme.layout_dwindle = theme.directory .. "layouts/dwindle.png" -theme.layout_max = theme.directory .. "layouts/max.png" -theme.layout_fullscreen = theme.directory .. "layouts/fullscreen.png" -theme.layout_magnifier = theme.directory .. "layouts/magnifier.png" -theme.layout_floating = theme.directory .. "layouts/floating.png" --- }}} - --- {{{ Titlebar -theme.titlebar_close_button_focus = theme.directory .. "titlebar/close_focus.png" -theme.titlebar_close_button_normal = theme.directory .. "titlebar/close_normal.png" - -theme.titlebar_ontop_button_focus_active = theme.directory .. "titlebar/ontop_focus_active.png" -theme.titlebar_ontop_button_normal_active = theme.directory .. "titlebar/ontop_normal_active.png" -theme.titlebar_ontop_button_focus_inactive = theme.directory .. "titlebar/ontop_focus_inactive.png" -theme.titlebar_ontop_button_normal_inactive = theme.directory .. "titlebar/ontop_normal_inactive.png" - -theme.titlebar_sticky_button_focus_active = theme.directory .. "titlebar/sticky_focus_active.png" -theme.titlebar_sticky_button_normal_active = theme.directory .. "titlebar/sticky_normal_active.png" -theme.titlebar_sticky_button_focus_inactive = theme.directory .. "titlebar/sticky_focus_inactive.png" -theme.titlebar_sticky_button_normal_inactive = theme.directory .. "titlebar/sticky_normal_inactive.png" - -theme.titlebar_floating_button_focus_active = theme.directory .. "titlebar/floating_focus_active.png" -theme.titlebar_floating_button_normal_active = theme.directory .. "titlebar/floating_normal_active.png" -theme.titlebar_floating_button_focus_inactive = theme.directory .. "titlebar/floating_focus_inactive.png" -theme.titlebar_floating_button_normal_inactive = theme.directory .. "titlebar/floating_normal_inactive.png" - -theme.titlebar_maximized_button_focus_active = theme.directory .. "titlebar/maximized_focus_active.png" -theme.titlebar_maximized_button_normal_active = theme.directory .. "titlebar/maximized_normal_active.png" -theme.titlebar_maximized_button_focus_inactive = theme.directory .. "titlebar/maximized_focus_inactive.png" -theme.titlebar_maximized_button_normal_inactive = theme.directory .. "titlebar/maximized_normal_inactive.png" --- }}} --- }}} - -return theme diff --git a/.config/awesome/themes/hakamichi/titlebar/close_focus.png b/.config/awesome/themes/hakamichi/titlebar/close_focus.png Binary files differdeleted file mode 100644 index e9b4179..0000000 --- a/.config/awesome/themes/hakamichi/titlebar/close_focus.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/titlebar/close_normal.png b/.config/awesome/themes/hakamichi/titlebar/close_normal.png Binary files differdeleted file mode 100644 index 9c8d3ba..0000000 --- a/.config/awesome/themes/hakamichi/titlebar/close_normal.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/titlebar/floating_focus_active.png b/.config/awesome/themes/hakamichi/titlebar/floating_focus_active.png Binary files differdeleted file mode 100644 index 0f9ee0d..0000000 --- a/.config/awesome/themes/hakamichi/titlebar/floating_focus_active.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/titlebar/floating_focus_inactive.png b/.config/awesome/themes/hakamichi/titlebar/floating_focus_inactive.png Binary files differdeleted file mode 100644 index 7973f6a..0000000 --- a/.config/awesome/themes/hakamichi/titlebar/floating_focus_inactive.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/titlebar/floating_normal_active.png b/.config/awesome/themes/hakamichi/titlebar/floating_normal_active.png Binary files differdeleted file mode 100644 index 403b2e9..0000000 --- a/.config/awesome/themes/hakamichi/titlebar/floating_normal_active.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/titlebar/floating_normal_inactive.png b/.config/awesome/themes/hakamichi/titlebar/floating_normal_inactive.png Binary files differdeleted file mode 100644 index 829e223..0000000 --- a/.config/awesome/themes/hakamichi/titlebar/floating_normal_inactive.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/titlebar/maximized_focus_active.png b/.config/awesome/themes/hakamichi/titlebar/maximized_focus_active.png Binary files differdeleted file mode 100644 index 7e8498a..0000000 --- a/.config/awesome/themes/hakamichi/titlebar/maximized_focus_active.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/titlebar/maximized_focus_inactive.png b/.config/awesome/themes/hakamichi/titlebar/maximized_focus_inactive.png Binary files differdeleted file mode 100644 index 46d3f96..0000000 --- a/.config/awesome/themes/hakamichi/titlebar/maximized_focus_inactive.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/titlebar/maximized_normal_active.png b/.config/awesome/themes/hakamichi/titlebar/maximized_normal_active.png Binary files differdeleted file mode 100644 index 2ebf811..0000000 --- a/.config/awesome/themes/hakamichi/titlebar/maximized_normal_active.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/titlebar/maximized_normal_inactive.png b/.config/awesome/themes/hakamichi/titlebar/maximized_normal_inactive.png Binary files differdeleted file mode 100644 index 524fc5c..0000000 --- a/.config/awesome/themes/hakamichi/titlebar/maximized_normal_inactive.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/titlebar/ontop_focus_active.png b/.config/awesome/themes/hakamichi/titlebar/ontop_focus_active.png Binary files differdeleted file mode 100644 index 86e61b7..0000000 --- a/.config/awesome/themes/hakamichi/titlebar/ontop_focus_active.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/titlebar/ontop_focus_inactive.png b/.config/awesome/themes/hakamichi/titlebar/ontop_focus_inactive.png Binary files differdeleted file mode 100644 index 3bee67e..0000000 --- a/.config/awesome/themes/hakamichi/titlebar/ontop_focus_inactive.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/titlebar/ontop_normal_active.png b/.config/awesome/themes/hakamichi/titlebar/ontop_normal_active.png Binary files differdeleted file mode 100644 index 4d78f44..0000000 --- a/.config/awesome/themes/hakamichi/titlebar/ontop_normal_active.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/titlebar/ontop_normal_inactive.png b/.config/awesome/themes/hakamichi/titlebar/ontop_normal_inactive.png Binary files differdeleted file mode 100644 index 9809c2c..0000000 --- a/.config/awesome/themes/hakamichi/titlebar/ontop_normal_inactive.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/titlebar/sticky_focus_active.png b/.config/awesome/themes/hakamichi/titlebar/sticky_focus_active.png Binary files differdeleted file mode 100644 index b10e604..0000000 --- a/.config/awesome/themes/hakamichi/titlebar/sticky_focus_active.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/titlebar/sticky_focus_inactive.png b/.config/awesome/themes/hakamichi/titlebar/sticky_focus_inactive.png Binary files differdeleted file mode 100644 index cf953c4..0000000 --- a/.config/awesome/themes/hakamichi/titlebar/sticky_focus_inactive.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/titlebar/sticky_normal_active.png b/.config/awesome/themes/hakamichi/titlebar/sticky_normal_active.png Binary files differdeleted file mode 100644 index 607a55c..0000000 --- a/.config/awesome/themes/hakamichi/titlebar/sticky_normal_active.png +++ /dev/null diff --git a/.config/awesome/themes/hakamichi/titlebar/sticky_normal_inactive.png b/.config/awesome/themes/hakamichi/titlebar/sticky_normal_inactive.png Binary files differdeleted file mode 100644 index 82161e9..0000000 --- a/.config/awesome/themes/hakamichi/titlebar/sticky_normal_inactive.png +++ /dev/null diff --git a/.config/herbstluftwm/autostart b/.config/herbstluftwm/autostart new file mode 100755 index 0000000..1f18392 --- /dev/null +++ b/.config/herbstluftwm/autostart @@ -0,0 +1,191 @@ +#!/bin/bash + +# define colours +bg_normal='#2d2d2d' +fg_normal='#dcdcdc' +bg_focus='#d64937' +fg_focus='#fcfcfc' + +hc() { + herbstclient "$@" +} + +# always start frames max (pt. 1) +hc set default_frame_layout 2 + +hc emit_hook reload + +xsetroot -solid '#5A8E3A' + +# remove all existing keybindings +hc keyunbind --all + +# keybindings +# if you have a super key you will be much happier with Mod set to Mod4 +#Mod=Mod1 # Use alt as the main modifier +Mod=Mod4 # Use the super key as the main modifier + +hc keybind $Mod-Shift-r reload +hc keybind $Mod-e close_or_remove + +# basic movement +# focusing clients +hc keybind $Mod-h focus left +hc keybind $Mod-j focus down +hc keybind $Mod-k focus up +hc keybind $Mod-l focus right + +# moving clients +hc keybind $Mod-Shift-h shift left +hc keybind $Mod-Shift-j shift down +hc keybind $Mod-Shift-k shift up +hc keybind $Mod-Shift-l shift right + +# cycle through clients +hc keybind $Mod-d cycle 1 +hc keybind $Mod-a cycle -1 + +# splitting frames +# create an empty frame at the specified direction +hc keybind $Mod-s chain .-. lock .-. split bottom 0.5 .-. focus -e d .-. unlock +hc keybind $Mod-v chain .-. lock .-. split right 0.5 .-. focus -e r .-. unlock +# let the current frame explode into subframes +hc keybind $Mod-Shift-space split explode + +# resizing frames +resizestep=0.05 +hc keybind $Mod-Control-h resize left +$resizestep +hc keybind $Mod-Control-j resize down +$resizestep +hc keybind $Mod-Control-k resize up +$resizestep +hc keybind $Mod-Control-l resize right +$resizestep + +# tags +tag_names=( {1..5} ) +tag_keys=( {1..5} 0 ) + +hc rename default "${tag_names[0]}" || true +for i in ${!tag_names[@]} ; do + hc add "${tag_names[$i]}" + key="${tag_keys[$i]}" + if ! [ -z "$key" ] ; then + hc keybind "$Mod-$key" use_index "$i" + hc keybind "$Mod-Control-$key" move_index "$i" + fi +done + +# always start frames max (pt. 2) +hc set_layout max + +# cycle through tags +hc keybind $Mod-period use_index +1 --skip-visible +hc keybind $Mod-comma use_index -1 --skip-visible + +# layouting +hc keybind $Mod-r remove +hc keybind $Mod-f fullscreen toggle +hc keybind $Mod-p pseudotile toggle + +# mouse +hc mouseunbind --all +hc mousebind $Mod-Button1 move +hc mousebind $Mod-Button2 zoom +hc mousebind $Mod-Button3 resize + +# focus +hc keybind $Mod-BackSpace cycle_monitor +hc keybind $Mod-i jumpto urgent + +################ launchers ################ +hc keybind XF86PowerOff spawn mate-session-save --shutdown-dialog + +# ranger +hc keybind $Mod-Shift-Control-Return spawn urxvt -e ranger /home/shmibs +hc keybind $Mod-Shift-Control-b spawn urxvt -e ranger /home/shmibs/backdrops +hc keybind $Mod-Shift-Control-c spawn urxvt -e ranger /home/shmibs/comics +hc keybind $Mod-Shift-Control-d spawn urxvt -e ranger /home/shmibs/downloads +hc keybind $Mod-Shift-Control-s spawn urxvt -e ranger /home/shmibs/desktop +hc keybind $Mod-Shift-Control-m spawn urxvt -e ranger /home/shmibs/music +hc keybind $Mod-Shift-Control-g spawn urxvt -e ranger /home/shmibs/games +hc keybind $Mod-Shift-Control-p spawn urxvt -e ranger /home/shmibs/projects +hc keybind $Mod-Shift-Control-i spawn urxvt -e ranger /home/shmibs/images +hc keybind $Mod-Shift-Control-t spawn urxvt -e ranger /home/shmibs/thcool +hc keybind $Mod-Shift-Control-v spawn urxvt -e ranger /home/shmibs/videos + +# spawn +hc keybind $Mod-Return spawn urxvt +hc keybind $Mod-Shift-c spawn mate-calc +hc keybind $Mod-Shift-d spawn ~/games/desura/desura +hc keybind $Mod-Shift-f spawn firefox +hc keybind $Mod-Shift-i spawn gimp +hc keybind $Mod-Shift-m spawn mathematica +hc keybind $Mod-Shift-o spawn ~/stuffs/tor/start-tor-browser +hc keybind $Mod-Shift-t spawn transmission-gtk +hc keybind $Mod-Shift-v spawn urxvt -e vim +hc keybind $Mod-Shift-w spawn urxvt -e weechat + +# banshee +hc keybind $Mod-Shift-Up spawn banshee --show +hc keybind $Mod-Shift-Down spawn banshee --hide +hc keybind $Mod-Left spawn banshee --restart-or-previous +hc keybind $Mod-Right spawn banshee --next +hc keybind $Mod-Down spawn banshee --toggle-playing + +# dmenu +hc keybind $Mod-0 spawn dmenu_run -h 18 -nb $bg_normal -nf $fg_normal -sb $bg_focus -sf $fg_focus + +############## end launchers ############## + + +# borders +hc set frame_border_normal_color $bg_normal +hc set frame_border_active_color $bg_focus +hc set frame_bg_normal_color $bg_normal +hc set frame_bg_active_color $bg_focus +hc set window_border_normal_color $bg_normal +hc set window_border_active_color $bg_focus +hc set frame_border_width 2 +hc set frame_border_inner_width 0 +hc set window_border_width 2 +hc set window_border_inner_width 0 +hc set always_show_frame 0 +hc set frame_bg_transparent 1 +hc set frame_normal_opacity 100 +hc set frame_active_opacity 100 +hc set frame_transparent_width 0 +hc set frame_gap 0 +hc set frame_padding 0 +hc set smart_frame_surroundings 1 +hc set smart_window_surroundings 1 + +# rules +hc unrule -F +hc rule focus=on +# unmanage docs, dropdowns, etc +hc rule windowtype~'_NET_WM_WINDOW_TYPE_(NOTIFICATION|DOCK)' manage=off +# set apppropriate things to pseudotile +hc rule windowtype~'_NET_WM_WINDOW_TYPE_(DIALOG|UTILITY|SPLASH)' pseudotile=on +hc rule class~'(Mate-calc|Pcsx2)' pseudotile=on + +# unlock, just to be sure +hc unlock + +herbstclient set tree_style '╾│ ├└╼─┐' + +# do multi monitor setup here, e.g.: +# hc set_monitors 1280x1024+0+0 1280x1024+1280+0 +# or simply: +# hc detect_monitors + +# find the panel +panel=~/.config/herbstluftwm/panel.sh +[ -x "$panel" ] || panel=/etc/xdg/herbstluftwm/panel.sh +for monitor in $(herbstclient list_monitors | cut -d: -f1) ; do + # start it on each monitor + "$panel" $monitor & +done + +# add a tray +tray=~/.config/herbstluftwm/tray.sh +if [ -x "$tray" ]; then + "$tray" +fi diff --git a/.config/herbstluftwm/panel.sh b/.config/herbstluftwm/panel.sh new file mode 100755 index 0000000..5b365af --- /dev/null +++ b/.config/herbstluftwm/panel.sh @@ -0,0 +1,184 @@ +#!/bin/bash + +hc() { "${herbstclient_command[@]:-herbstclient}" "$@" ;} +monitor=${1:-0} +geometry=( $(herbstclient monitor_rect "$monitor") ) +if [ -z "$geometry" ] ;then + echo "Invalid monitor $monitor" + exit 1 +fi +# geometry has the format W H X Y +x=${geometry[0]} +y=${geometry[1]} +panel_width=${geometry[2]} +panel_height=18 +font="-*-fixed-medium-*-*-*-12-*-*-*-*-*-*-*" +bgcolor=$(hc get frame_border_normal_color) +selbg=$(hc get window_border_active_color) +selfg='#101010' + +#### +# Try to find textwidth binary. +# In e.g. Ubuntu, this is named dzen2-textwidth. +if which textwidth &> /dev/null ; then + textwidth="textwidth"; +elif which dzen2-textwidth &> /dev/null ; then + textwidth="dzen2-textwidth"; +else + echo "This script requires the textwidth tool of the dzen2 project." + exit 1 +fi +#### +# true if we are using the svn version of dzen2 +# depending on version/distribution, this seems to have version strings like +# "dzen-" or "dzen-x.x.x-svn" +if dzen2 -v 2>&1 | head -n 1 | grep -q '^dzen-\([^,]*-svn\|\),'; then + dzen2_svn="true" +else + dzen2_svn="" +fi + +if awk -Wv 2>/dev/null | head -1 | grep -q '^mawk'; then + # mawk needs "-W interactive" to line-buffer stdout correctly + # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=593504 + uniq_linebuffered() { + awk -W interactive '$0 != l { print ; l=$0 ; fflush(); }' "$@" + } +else + # other awk versions (e.g. gawk) issue a warning with "-W interactive", so + # we don't want to use it there. + uniq_linebuffered() { + awk '$0 != l { print ; l=$0 ; fflush(); }' "$@" + } +fi + +hc pad $monitor $panel_height + +{ + ### Event generator ### + # based on different input data (mpc, date, hlwm hooks, ...) this generates events, formed like this: + # <eventname>\t<data> [...] + # e.g. + # date ^fg(#efefef)18:33^fg(#909090), 2013-10-^fg(#efefef)29 + + #mpc idleloop player & + while true ; do + # "date" output is checked once a second, but an event is only + # generated if the output changed compared to the previous run. + date +$'date\t^fg(#efefef)%a, %b %d, %H:%M:%S' + sleep 1 || break + done > >(uniq_linebuffered) & + childpid=$! + hc --idle + kill $childpid +} 2> /dev/null | { + IFS=$'\t' read -ra tags <<< "$(hc tag_status $monitor)" + visible=true + date="" + windowtitle="" + while true ; do + + ### Output ### + # This part prints dzen data based on the _previous_ data handling run, + # and then waits for the next event to happen. + + bordercolor="#26221C" + separator="^bg()^fg($selbg)|" + # draw tags + for i in "${tags[@]}" ; do + case ${i:0:1} in + '#') + echo -n "^bg($selbg)^fg($selfg)" + ;; + '+') + echo -n "^bg(#9CA668)^fg(#141414)" + ;; + ':') + echo -n "^bg()^fg(#ffffff)" + ;; + '!') + echo -n "^bg(#FF0675)^fg(#141414)" + ;; + *) + echo -n "^bg()^fg(#ababab)" + ;; + esac + if [ ! -z "$dzen2_svn" ] ; then + # clickable tags if using SVN dzen + echo -n "^ca(1,\"${herbstclient_command[@]:-herbstclient}\" " + echo -n "focus_monitor \"$monitor\" && " + echo -n "\"${herbstclient_command[@]:-herbstclient}\" " + echo -n "use \"${i:1}\") ${i:1} ^ca()" + else + # non-clickable tags if using older dzen + echo -n " ${i:1} " + fi + done + echo -n "$separator" + echo -n "^bg()^fg() ${windowtitle//^/^^}" + # small adjustments + right="$separator^bg() $date $separator" + right_text_only=$(echo -n "$right" | sed 's.\^[^(]*([^)]*)..g') + # get width of right aligned text.. and add some space.. + width=$($textwidth "$font" "$right_text_only ") + echo -n "^pa($(($panel_width - $width)))$right" + echo + + ### Data handling ### + # This part handles the events generated in the event loop, and sets + # internal variables based on them. The event and its arguments are + # read into the array cmd, then action is taken depending on the event + # name. + # "Special" events (quit_panel/togglehidepanel/reload) are also handled + # here. + + # wait for next event + IFS=$'\t' read -ra cmd || break + # find out event origin + case "${cmd[0]}" in + tag*) + #echo "resetting tags" >&2 + IFS=$'\t' read -ra tags <<< "$(hc tag_status $monitor)" + ;; + date) + #echo "resetting date" >&2 + date="${cmd[@]:1}" + ;; + quit_panel) + exit + ;; + togglehidepanel) + currentmonidx=$(hc list_monitors | sed -n '/\[FOCUS\]$/s/:.*//p') + if [ "${cmd[1]}" -ne "$monitor" ] ; then + continue + fi + if [ "${cmd[1]}" = "current" ] && [ "$currentmonidx" -ne "$monitor" ] ; then + continue + fi + echo "^togglehide()" + if $visible ; then + visible=false + hc pad $monitor 0 + else + visible=true + hc pad $monitor $panel_height + fi + ;; + reload) + exit + ;; + focus_changed|window_title_changed) + windowtitle="${cmd[@]:2}" + ;; + #player) + # ;; + esac + done + + ### dzen2 ### + # After the data is gathered and processed, the output of the previous block + # gets piped to dzen2. + +} 2> /dev/null | dzen2 -w $panel_width -x $x -y $y -fn "$font" -h $panel_height \ + -e 'button3=' \ + -ta l -bg "$bgcolor" -fg '#efefef' diff --git a/.config/herbstluftwm/panel.sh.bak b/.config/herbstluftwm/panel.sh.bak new file mode 100755 index 0000000..8c75b5c --- /dev/null +++ b/.config/herbstluftwm/panel.sh.bak @@ -0,0 +1,184 @@ +#!/bin/bash + +hc() { "${herbstclient_command[@]:-herbstclient}" "$@" ;} +monitor=${1:-0} +geometry=( $(herbstclient monitor_rect "$monitor") ) +if [ -z "$geometry" ] ;then + echo "Invalid monitor $monitor" + exit 1 +fi +# geometry has the format W H X Y +x=${geometry[0]} +y=${geometry[1]} +panel_width=${geometry[2]} +panel_height=18 +font="-*-fixed-medium-*-*-*-12-*-*-*-*-*-*-*" +bgcolor=$(hc get frame_border_normal_color) +selbg=$(hc get window_border_active_color) +selfg='#101010' + +#### +# Try to find textwidth binary. +# In e.g. Ubuntu, this is named dzen2-textwidth. +if which textwidth &> /dev/null ; then + textwidth="textwidth"; +elif which dzen2-textwidth &> /dev/null ; then + textwidth="dzen2-textwidth"; +else + echo "This script requires the textwidth tool of the dzen2 project." + exit 1 +fi +#### +# true if we are using the svn version of dzen2 +# depending on version/distribution, this seems to have version strings like +# "dzen-" or "dzen-x.x.x-svn" +if dzen2 -v 2>&1 | head -n 1 | grep -q '^dzen-\([^,]*-svn\|\),'; then + dzen2_svn="true" +else + dzen2_svn="" +fi + +if awk -Wv 2>/dev/null | head -1 | grep -q '^mawk'; then + # mawk needs "-W interactive" to line-buffer stdout correctly + # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=593504 + uniq_linebuffered() { + awk -W interactive '$0 != l { print ; l=$0 ; fflush(); }' "$@" + } +else + # other awk versions (e.g. gawk) issue a warning with "-W interactive", so + # we don't want to use it there. + uniq_linebuffered() { + awk '$0 != l { print ; l=$0 ; fflush(); }' "$@" + } +fi + +hc pad $monitor $panel_height + +{ + ### Event generator ### + # based on different input data (mpc, date, hlwm hooks, ...) this generates events, formed like this: + # <eventname>\t<data> [...] + # e.g. + # date ^fg(#efefef)18:33^fg(#909090), 2013-10-^fg(#efefef)29 + + #mpc idleloop player & + while true ; do + # "date" output is checked once a second, but an event is only + # generated if the output changed compared to the previous run. + date +$'date\t^fg(#efefef)%H:%M^fg(#909090), %Y-%m-^fg(#efefef)%d' + sleep 1 || break + done > >(uniq_linebuffered) & + childpid=$! + hc --idle + kill $childpid +} 2> /dev/null | { + IFS=$'\t' read -ra tags <<< "$(hc tag_status $monitor)" + visible=true + date="" + windowtitle="" + while true ; do + + ### Output ### + # This part prints dzen data based on the _previous_ data handling run, + # and then waits for the next event to happen. + + bordercolor="#26221C" + separator="^bg()^fg($selbg)|" + # draw tags + for i in "${tags[@]}" ; do + case ${i:0:1} in + '#') + echo -n "^bg($selbg)^fg($selfg)" + ;; + '+') + echo -n "^bg(#9CA668)^fg(#141414)" + ;; + ':') + echo -n "^bg()^fg(#ffffff)" + ;; + '!') + echo -n "^bg(#FF0675)^fg(#141414)" + ;; + *) + echo -n "^bg()^fg(#ababab)" + ;; + esac + if [ ! -z "$dzen2_svn" ] ; then + # clickable tags if using SVN dzen + echo -n "^ca(1,\"${herbstclient_command[@]:-herbstclient}\" " + echo -n "focus_monitor \"$monitor\" && " + echo -n "\"${herbstclient_command[@]:-herbstclient}\" " + echo -n "use \"${i:1}\") ${i:1} ^ca()" + else + # non-clickable tags if using older dzen + echo -n " ${i:1} " + fi + done + echo -n "$separator" + echo -n "^bg()^fg() ${windowtitle//^/^^}" + # small adjustments + right="$separator^bg() $date $separator" + right_text_only=$(echo -n "$right" | sed 's.\^[^(]*([^)]*)..g') + # get width of right aligned text.. and add some space.. + width=$($textwidth "$font" "$right_text_only ") + echo -n "^pa($(($panel_width - $width)))$right" + echo + + ### Data handling ### + # This part handles the events generated in the event loop, and sets + # internal variables based on them. The event and its arguments are + # read into the array cmd, then action is taken depending on the event + # name. + # "Special" events (quit_panel/togglehidepanel/reload) are also handled + # here. + + # wait for next event + IFS=$'\t' read -ra cmd || break + # find out event origin + case "${cmd[0]}" in + tag*) + #echo "resetting tags" >&2 + IFS=$'\t' read -ra tags <<< "$(hc tag_status $monitor)" + ;; + date) + #echo "resetting date" >&2 + date="${cmd[@]:1}" + ;; + quit_panel) + exit + ;; + togglehidepanel) + currentmonidx=$(hc list_monitors | sed -n '/\[FOCUS\]$/s/:.*//p') + if [ "${cmd[1]}" -ne "$monitor" ] ; then + continue + fi + if [ "${cmd[1]}" = "current" ] && [ "$currentmonidx" -ne "$monitor" ] ; then + continue + fi + echo "^togglehide()" + if $visible ; then + visible=false + hc pad $monitor 0 + else + visible=true + hc pad $monitor $panel_height + fi + ;; + reload) + exit + ;; + focus_changed|window_title_changed) + windowtitle="${cmd[@]:2}" + ;; + #player) + # ;; + esac + done + + ### dzen2 ### + # After the data is gathered and processed, the output of the previous block + # gets piped to dzen2. + +} 2> /dev/null | dzen2 -w $panel_width -x $x -y $y -fn "$font" -h $panel_height \ + -e 'button3=' \ + -ta l -bg "$bgcolor" -fg '#efefef' diff --git a/.config/herbstluftwm/restartpanels.sh b/.config/herbstluftwm/restartpanels.sh new file mode 100755 index 0000000..9d9110c --- /dev/null +++ b/.config/herbstluftwm/restartpanels.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +installdir=/ + +XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}" +defaultpanel="$XDG_CONFIG_HOME/herbstluftwm/panel.sh" + +[ -x "$defaultpanel" ] || defaultpanel="$installdir/etc/xdg/herbstluftwm/panel.sh" + +panelcmd="${1:-$defaultpanel}" + +herbstclient emit_hook quit_panel + +for i in $(herbstclient list_monitors | cut -d':' -f1) ; do + "$panelcmd" $i & +done diff --git a/.config/herbstluftwm/tray.sh b/.config/herbstluftwm/tray.sh new file mode 100755 index 0000000..7a7ee01 --- /dev/null +++ b/.config/herbstluftwm/tray.sh @@ -0,0 +1,12 @@ +#!/bin/bash +hc() { "${herbstclient_command[@]:-herbstclient}" "$@" ;} +bgcolor=$(hc get frame_border_normal_color) + +run="" +while [ -z "$run" ]; do + sleep .5 + run=$(ps -e | grep dzen2) + echo "$run" +done + +stalonetray -bg "$bgcolor" --window-layer top --geometry 1x1+1752+1 --max-geometry 1752x18 --grow-gravity E -i 16 --kludges force_icons_size diff --git a/.config/nitrogen/bg-saved.cfg b/.config/nitrogen/bg-saved.cfg new file mode 100644 index 0000000..fc0c8b6 --- /dev/null +++ b/.config/nitrogen/bg-saved.cfg @@ -0,0 +1,4 @@ +[:0.0] +file=/home/shmibs/backdrops/hachimaka.jpg +mode=5 +bgcolor=#000000 diff --git a/.config/nitrogen/nitrogen.cfg b/.config/nitrogen/nitrogen.cfg new file mode 100644 index 0000000..33f9902 --- /dev/null +++ b/.config/nitrogen/nitrogen.cfg @@ -0,0 +1,10 @@ +[geometry] +posx=0 +posy=18 +sizex=1916 +sizey=1058 + +[nitrogen] +view=icon +icon_caps=false +dirs=/home/shmibs/backdrops; |