1
0
Fork 0
mirror of https://github.com/lcpz/awesome-copycats.git synced 2024-12-22 19:22:32 +00:00

#128; add original prompt keybinding commented; list default additional software used

This commit is contained in:
copycat-killer 2016-11-05 14:09:02 +01:00
parent 756d18ca9d
commit 87fd01d654
9 changed files with 142 additions and 2 deletions

View file

@ -112,6 +112,10 @@ Every theme has a colorscheme_.
Blackburn and Dremora use Icons_: be sure to have bitmaps enabled if running under Debian_ or Ubuntu_. Blackburn and Dremora use Icons_: be sure to have bitmaps enabled if running under Debian_ or Ubuntu_.
Default additional software used: ::
unclutter firefox scrot mpd mpc dmenu xsel
.. _BY-NC-SA: http://creativecommons.org/licenses/by-nc-sa/4.0/ .. _BY-NC-SA: http://creativecommons.org/licenses/by-nc-sa/4.0/
.. _Awesome: http://github.com/awesomeWM/awesome .. _Awesome: http://github.com/awesomeWM/awesome
.. _lucamanni: https://github.com/lucamanni/awesome .. _lucamanni: https://github.com/lucamanni/awesome
@ -131,3 +135,4 @@ Blackburn and Dremora use Icons_: be sure to have bitmaps enabled if running und
.. _Icons: https://github.com/copycat-killer/dots/tree/master/.fonts .. _Icons: https://github.com/copycat-killer/dots/tree/master/.fonts
.. _Debian: http://weiwu.sdf.org/100921.html .. _Debian: http://weiwu.sdf.org/100921.html
.. _Ubuntu: https://wiki.ubuntu.com/Fonts#Enabling_Bitmapped_Fonts .. _Ubuntu: https://wiki.ubuntu.com/Fonts#Enabling_Bitmapped_Fonts
.. _screenshot: https://github.com/copycat-killer/dots/blob/master/bin/screenshot

View file

@ -14,6 +14,7 @@ local wibox = require("wibox")
local beautiful = require("beautiful") local beautiful = require("beautiful")
local naughty = require("naughty") local naughty = require("naughty")
local lain = require("lain") local lain = require("lain")
--local menubar = require("menubar")
-- }}} -- }}}
-- {{{ Error handling -- {{{ Error handling
@ -104,6 +105,8 @@ end
-- {{{ Menu -- {{{ Menu
mymainmenu = awful.menu.new({ items = require("menugen").build_menu(), mymainmenu = awful.menu.new({ items = require("menugen").build_menu(),
theme = { height = 16, width = 130 }}) theme = { height = 16, width = 130 }})
-- Menubar configuration
--menubar.utils.terminal = terminal -- Set the terminal for applications that require it
-- }}} -- }}}
-- {{{ Wibox -- {{{ Wibox
@ -475,7 +478,22 @@ globalkeys = awful.util.table.join(
awful.key({ modkey }, "s", function () awful.util.spawn(gui_editor) end), awful.key({ modkey }, "s", function () awful.util.spawn(gui_editor) end),
awful.key({ modkey }, "g", function () awful.util.spawn(graphics) end), awful.key({ modkey }, "g", function () awful.util.spawn(graphics) end),
--[[ Default
-- Prompt -- Prompt
awful.key({ modkey }, "r", function () mypromptbox[mouse.screen]:run() end),
awful.key({ modkey }, "x",
function ()
awful.prompt.run({ prompt = "Run Lua code: " },
mypromptbox[mouse.screen].widget,
awful.util.eval, nil,
awful.util.getdir("cache") .. "/history_eval")
end),
-- Menubar
awful.key({ modkey }, "p", function() menubar.show() end)
--]]
-- dmenu
awful.key({ modkey }, "x", function () awful.key({ modkey }, "x", function ()
awful.util.spawn(string.format("dmenu_run -i -fn 'Tamsyn' -nb '%s' -nf '%s' -sb '%s' -sf '%s'", awful.util.spawn(string.format("dmenu_run -i -fn 'Tamsyn' -nb '%s' -nf '%s' -sb '%s' -sf '%s'",
beautiful.bg_normal, beautiful.fg_normal, beautiful.bg_focus, beautiful.fg_focus)) beautiful.bg_normal, beautiful.fg_normal, beautiful.bg_focus, beautiful.fg_focus))
@ -563,6 +581,7 @@ awful.rules.rules = {
properties = { border_width = beautiful.border_width, properties = { border_width = beautiful.border_width,
border_color = beautiful.border_normal, border_color = beautiful.border_normal,
focus = awful.client.focus.filter, focus = awful.client.focus.filter,
raise = true,
keys = clientkeys, keys = clientkeys,
buttons = clientbuttons, buttons = clientbuttons,
size_hints_honor = false } }, size_hints_honor = false } },

View file

@ -15,6 +15,7 @@ local beautiful = require("beautiful")
local naughty = require("naughty") local naughty = require("naughty")
local lain = require("lain") local lain = require("lain")
local eminent = require("eminent") local eminent = require("eminent")
--local menubar = require("menubar")
-- }}} -- }}}
-- {{{ Error handling -- {{{ Error handling
@ -115,6 +116,8 @@ end
-- {{{ Menu -- {{{ Menu
mymainmenu = awful.menu.new({ items = require("menugen").build_menu(), mymainmenu = awful.menu.new({ items = require("menugen").build_menu(),
theme = { height = 16, width = 130 }}) theme = { height = 16, width = 130 }})
-- Menubar configuration
--menubar.utils.terminal = terminal -- Set the terminal for applications that require it
-- }}} -- }}}
-- {{{ Wibox -- {{{ Wibox
@ -547,7 +550,22 @@ globalkeys = awful.util.table.join(
awful.key({ modkey }, "s", function () awful.util.spawn(gui_editor) end), awful.key({ modkey }, "s", function () awful.util.spawn(gui_editor) end),
awful.key({ modkey }, "g", function () awful.util.spawn(graphics) end), awful.key({ modkey }, "g", function () awful.util.spawn(graphics) end),
--[[ Default
-- Prompt -- Prompt
awful.key({ modkey }, "r", function () mypromptbox[mouse.screen]:run() end),
awful.key({ modkey }, "x",
function ()
awful.prompt.run({ prompt = "Run Lua code: " },
mypromptbox[mouse.screen].widget,
awful.util.eval, nil,
awful.util.getdir("cache") .. "/history_eval")
end),
-- Menubar
awful.key({ modkey }, "p", function() menubar.show() end)
--]]
-- dmenu
awful.key({ modkey }, "x", function () awful.key({ modkey }, "x", function ()
awful.util.spawn(string.format("dmenu_run -i -fn 'Tamsyn' -nb '%s' -nf '%s' -sb '%s' -sf '%s'", awful.util.spawn(string.format("dmenu_run -i -fn 'Tamsyn' -nb '%s' -nf '%s' -sb '%s' -sf '%s'",
beautiful.bg_normal, beautiful.fg_normal, beautiful.bg_focus, beautiful.fg_focus)) beautiful.bg_normal, beautiful.fg_normal, beautiful.bg_focus, beautiful.fg_focus))
@ -636,6 +654,7 @@ awful.rules.rules = {
properties = { border_width = beautiful.border_width, properties = { border_width = beautiful.border_width,
border_color = beautiful.border_normal, border_color = beautiful.border_normal,
focus = awful.client.focus.filter, focus = awful.client.focus.filter,
raise = true,
keys = clientkeys, keys = clientkeys,
buttons = clientbuttons, buttons = clientbuttons,
size_hints_honor = false } }, size_hints_honor = false } },

View file

@ -14,6 +14,7 @@ local wibox = require("wibox")
local beautiful = require("beautiful") local beautiful = require("beautiful")
local naughty = require("naughty") local naughty = require("naughty")
local lain = require("lain") local lain = require("lain")
--local menubar = require("menubar")
-- }}} -- }}}
-- {{{ Error handling -- {{{ Error handling
@ -104,6 +105,8 @@ end
-- {{{ Menu -- {{{ Menu
mymainmenu = awful.menu.new({ items = require("menugen").build_menu(), mymainmenu = awful.menu.new({ items = require("menugen").build_menu(),
theme = { height = 16, width = 130 }}) theme = { height = 16, width = 130 }})
-- Menubar configuration
--menubar.utils.terminal = terminal -- Set the terminal for applications that require it
-- }}} -- }}}
-- {{{ Wibox -- {{{ Wibox
@ -474,7 +477,22 @@ globalkeys = awful.util.table.join(
awful.key({ modkey }, "s", function () awful.util.spawn(gui_editor) end), awful.key({ modkey }, "s", function () awful.util.spawn(gui_editor) end),
awful.key({ modkey }, "g", function () awful.util.spawn(graphics) end), awful.key({ modkey }, "g", function () awful.util.spawn(graphics) end),
--[[ Default
-- Prompt -- Prompt
awful.key({ modkey }, "r", function () mypromptbox[mouse.screen]:run() end),
awful.key({ modkey }, "x",
function ()
awful.prompt.run({ prompt = "Run Lua code: " },
mypromptbox[mouse.screen].widget,
awful.util.eval, nil,
awful.util.getdir("cache") .. "/history_eval")
end),
-- Menubar
awful.key({ modkey }, "p", function() menubar.show() end)
--]]
-- dmenu
awful.key({ modkey }, "x", function () awful.key({ modkey }, "x", function ()
awful.util.spawn(string.format("dmenu_run -i -fn 'Tamsyn' -nb '%s' -nf '%s' -sb '%s' -sf '%s'", awful.util.spawn(string.format("dmenu_run -i -fn 'Tamsyn' -nb '%s' -nf '%s' -sb '%s' -sf '%s'",
beautiful.bg_normal, beautiful.fg_normal, beautiful.bg_focus, beautiful.fg_focus)) beautiful.bg_normal, beautiful.fg_normal, beautiful.bg_focus, beautiful.fg_focus))
@ -562,6 +580,7 @@ awful.rules.rules = {
properties = { border_width = beautiful.border_width, properties = { border_width = beautiful.border_width,
border_color = beautiful.border_normal, border_color = beautiful.border_normal,
focus = awful.client.focus.filter, focus = awful.client.focus.filter,
raise = true,
keys = clientkeys, keys = clientkeys,
buttons = clientbuttons, buttons = clientbuttons,
size_hints_honor = false } }, size_hints_honor = false } },

View file

@ -14,6 +14,7 @@ local wibox = require("wibox")
local beautiful = require("beautiful") local beautiful = require("beautiful")
local naughty = require("naughty") local naughty = require("naughty")
local lain = require("lain") local lain = require("lain")
--local menubar = require("menubar")
-- }}} -- }}}
-- {{{ Error handling -- {{{ Error handling
@ -107,6 +108,8 @@ mymainmenu = awful.menu.new({ items = require("menugen").build_menu(),
theme = { height = 16, width = 130 }}) theme = { height = 16, width = 130 }})
mylauncher = awful.widget.launcher({ image = beautiful.awesome_icon, mylauncher = awful.widget.launcher({ image = beautiful.awesome_icon,
menu = mymainmenu }) menu = mymainmenu })
-- Menubar configuration
--menubar.utils.terminal = terminal -- Set the terminal for applications that require it
-- }}} -- }}}
-- {{{ Wibox -- {{{ Wibox
@ -613,7 +616,22 @@ globalkeys = awful.util.table.join(
awful.key({ modkey }, "s", function () awful.util.spawn(gui_editor) end), awful.key({ modkey }, "s", function () awful.util.spawn(gui_editor) end),
awful.key({ modkey }, "g", function () awful.util.spawn(graphics) end), awful.key({ modkey }, "g", function () awful.util.spawn(graphics) end),
--[[ Default
-- Prompt -- Prompt
awful.key({ modkey }, "r", function () mypromptbox[mouse.screen]:run() end),
awful.key({ modkey }, "x",
function ()
awful.prompt.run({ prompt = "Run Lua code: " },
mypromptbox[mouse.screen].widget,
awful.util.eval, nil,
awful.util.getdir("cache") .. "/history_eval")
end),
-- Menubar
awful.key({ modkey }, "p", function() menubar.show() end)
--]]
-- dmenu
awful.key({ modkey }, "x", function () awful.key({ modkey }, "x", function ()
awful.util.spawn(string.format("dmenu_run -i -fn 'Tamsyn' -nb '%s' -nf '%s' -sb '%s' -sf '%s'", awful.util.spawn(string.format("dmenu_run -i -fn 'Tamsyn' -nb '%s' -nf '%s' -sb '%s' -sf '%s'",
beautiful.bg_normal, beautiful.fg_normal, beautiful.bg_focus, beautiful.fg_focus)) beautiful.bg_normal, beautiful.fg_normal, beautiful.bg_focus, beautiful.fg_focus))
@ -701,6 +719,7 @@ awful.rules.rules = {
properties = { border_width = beautiful.border_width, properties = { border_width = beautiful.border_width,
border_color = beautiful.border_normal, border_color = beautiful.border_normal,
focus = awful.client.focus.filter, focus = awful.client.focus.filter,
raise = true,
keys = clientkeys, keys = clientkeys,
buttons = clientbuttons, buttons = clientbuttons,
size_hints_honor = false } }, size_hints_honor = false } },

View file

@ -14,6 +14,7 @@ local wibox = require("wibox")
local beautiful = require("beautiful") local beautiful = require("beautiful")
local naughty = require("naughty") local naughty = require("naughty")
local lain = require("lain") local lain = require("lain")
--local menubar = require("menubar")
-- }}} -- }}}
-- {{{ Error handling -- {{{ Error handling
@ -108,9 +109,11 @@ if beautiful.wallpaper then
end end
-- }}} -- }}}
-- {{{ Freedesktop Menu -- {{{ Menu
mymainmenu = awful.menu.new({ items = require("menugen").build_menu(), mymainmenu = awful.menu.new({ items = require("menugen").build_menu(),
theme = { height = 16, width = 130 }}) theme = { height = 16, width = 130 }})
-- Menubar configuration
--menubar.utils.terminal = terminal -- Set the terminal for applications that require it
-- }}} -- }}}
-- {{{ Wibox -- {{{ Wibox
@ -566,7 +569,22 @@ globalkeys = awful.util.table.join(
awful.key({ modkey }, "s", function () awful.util.spawn(gui_editor) end), awful.key({ modkey }, "s", function () awful.util.spawn(gui_editor) end),
awful.key({ modkey }, "g", function () awful.util.spawn(graphics) end), awful.key({ modkey }, "g", function () awful.util.spawn(graphics) end),
--[[ Default
-- Prompt -- Prompt
awful.key({ modkey }, "r", function () mypromptbox[mouse.screen]:run() end),
awful.key({ modkey }, "x",
function ()
awful.prompt.run({ prompt = "Run Lua code: " },
mypromptbox[mouse.screen].widget,
awful.util.eval, nil,
awful.util.getdir("cache") .. "/history_eval")
end),
-- Menubar
awful.key({ modkey }, "p", function() menubar.show() end)
--]]
-- dmenu
awful.key({ modkey }, "x", function () awful.key({ modkey }, "x", function ()
awful.util.spawn(string.format("dmenu_run -i -fn 'Tamsyn' -nb '%s' -nf '%s' -sb '%s' -sf '%s'", awful.util.spawn(string.format("dmenu_run -i -fn 'Tamsyn' -nb '%s' -nf '%s' -sb '%s' -sf '%s'",
beautiful.bg_normal, beautiful.fg_normal, beautiful.bg_focus, beautiful.fg_focus)) beautiful.bg_normal, beautiful.fg_normal, beautiful.bg_focus, beautiful.fg_focus))
@ -654,6 +672,7 @@ awful.rules.rules = {
properties = { border_width = beautiful.border_width, properties = { border_width = beautiful.border_width,
border_color = beautiful.border_normal, border_color = beautiful.border_normal,
focus = awful.client.focus.filter, focus = awful.client.focus.filter,
raise = true,
keys = clientkeys, keys = clientkeys,
buttons = clientbuttons, buttons = clientbuttons,
size_hints_honor = false } }, size_hints_honor = false } },

View file

@ -14,6 +14,7 @@ local wibox = require("wibox")
local beautiful = require("beautiful") local beautiful = require("beautiful")
local naughty = require("naughty") local naughty = require("naughty")
local lain = require("lain") local lain = require("lain")
--local menubar = require("menubar")
-- }}} -- }}}
-- {{{ Error handling -- {{{ Error handling
@ -108,6 +109,8 @@ end
-- {{{ Menu -- {{{ Menu
mymainmenu = awful.menu.new({ items = require("menugen").build_menu(), mymainmenu = awful.menu.new({ items = require("menugen").build_menu(),
theme = { height = 16, width = 130 }}) theme = { height = 16, width = 130 }})
-- Menubar configuration
--menubar.utils.terminal = terminal -- Set the terminal for applications that require it
-- }}} -- }}}
-- {{{ Wibox -- {{{ Wibox
@ -333,7 +336,7 @@ for s = 1, screen.count() do
-- Widgets that are aligned to the upper left -- Widgets that are aligned to the upper left
local left_layout = wibox.layout.fixed.horizontal() local left_layout = wibox.layout.fixed.horizontal()
left_layout:add(spr) --left_layout:add(spr)
left_layout:add(mytaglist[s]) left_layout:add(mytaglist[s])
left_layout:add(mypromptbox[s]) left_layout:add(mypromptbox[s])
left_layout:add(spr) left_layout:add(spr)
@ -536,7 +539,22 @@ globalkeys = awful.util.table.join(
awful.key({ modkey }, "s", function () awful.util.spawn(gui_editor) end), awful.key({ modkey }, "s", function () awful.util.spawn(gui_editor) end),
awful.key({ modkey }, "g", function () awful.util.spawn(graphics) end), awful.key({ modkey }, "g", function () awful.util.spawn(graphics) end),
--[[ Default
-- Prompt -- Prompt
awful.key({ modkey }, "r", function () mypromptbox[mouse.screen]:run() end),
awful.key({ modkey }, "x",
function ()
awful.prompt.run({ prompt = "Run Lua code: " },
mypromptbox[mouse.screen].widget,
awful.util.eval, nil,
awful.util.getdir("cache") .. "/history_eval")
end),
-- Menubar
awful.key({ modkey }, "p", function() menubar.show() end)
--]]
-- dmenu
awful.key({ modkey }, "x", function () awful.key({ modkey }, "x", function ()
awful.util.spawn(string.format("dmenu_run -i -fn 'Tamsyn' -nb '%s' -nf '%s' -sb '%s' -sf '%s'", awful.util.spawn(string.format("dmenu_run -i -fn 'Tamsyn' -nb '%s' -nf '%s' -sb '%s' -sf '%s'",
beautiful.bg_normal, beautiful.fg_normal, beautiful.bg_focus, beautiful.fg_focus)) beautiful.bg_normal, beautiful.fg_normal, beautiful.bg_focus, beautiful.fg_focus))
@ -624,6 +642,7 @@ awful.rules.rules = {
properties = { border_width = beautiful.border_width, properties = { border_width = beautiful.border_width,
border_color = beautiful.border_normal, border_color = beautiful.border_normal,
focus = awful.client.focus.filter, focus = awful.client.focus.filter,
raise = true,
keys = clientkeys, keys = clientkeys,
buttons = clientbuttons, buttons = clientbuttons,
size_hints_honor = false } }, size_hints_honor = false } },

View file

@ -111,6 +111,8 @@ end
-- {{{ Menu -- {{{ Menu
mymainmenu = awful.menu.new({ items = require("menugen").build_menu(), mymainmenu = awful.menu.new({ items = require("menugen").build_menu(),
theme = { height = 16, width = 130 }}) theme = { height = 16, width = 130 }})
-- Menubar configuration
--menubar.utils.terminal = terminal -- Set the terminal for applications that require it
-- }}} -- }}}
-- {{{ Wibox -- {{{ Wibox

View file

@ -14,6 +14,7 @@ local wibox = require("wibox")
local beautiful = require("beautiful") local beautiful = require("beautiful")
local naughty = require("naughty") local naughty = require("naughty")
local lain = require("lain") local lain = require("lain")
--local menubar = require("menubar")
-- }}} -- }}}
-- {{{ Error handling -- {{{ Error handling
@ -109,6 +110,8 @@ end
-- {{{ Menu -- {{{ Menu
mymainmenu = awful.menu.new({ items = require("menugen").build_menu(), mymainmenu = awful.menu.new({ items = require("menugen").build_menu(),
theme = { height = 16, width = 130 }}) theme = { height = 16, width = 130 }})
-- Menubar configuration
--menubar.utils.terminal = terminal -- Set the terminal for applications that require it
-- }}} -- }}}
-- {{{ Wibox -- {{{ Wibox
@ -490,7 +493,22 @@ globalkeys = awful.util.table.join(
awful.key({ modkey }, "s", function () awful.util.spawn(gui_editor) end), awful.key({ modkey }, "s", function () awful.util.spawn(gui_editor) end),
awful.key({ modkey }, "g", function () awful.util.spawn(graphics) end), awful.key({ modkey }, "g", function () awful.util.spawn(graphics) end),
--[[ Default
-- Prompt -- Prompt
awful.key({ modkey }, "r", function () mypromptbox[mouse.screen]:run() end),
awful.key({ modkey }, "x",
function ()
awful.prompt.run({ prompt = "Run Lua code: " },
mypromptbox[mouse.screen].widget,
awful.util.eval, nil,
awful.util.getdir("cache") .. "/history_eval")
end),
-- Menubar
awful.key({ modkey }, "p", function() menubar.show() end)
--]]
-- dmenu
awful.key({ modkey }, "x", function () awful.key({ modkey }, "x", function ()
awful.util.spawn(string.format("dmenu_run -i -fn 'Tamsyn' -nb '%s' -nf '%s' -sb '%s' -sf '%s'", awful.util.spawn(string.format("dmenu_run -i -fn 'Tamsyn' -nb '%s' -nf '%s' -sb '%s' -sf '%s'",
beautiful.bg_normal, beautiful.fg_normal, beautiful.bg_focus, beautiful.fg_focus)) beautiful.bg_normal, beautiful.fg_normal, beautiful.bg_focus, beautiful.fg_focus))
@ -578,6 +596,7 @@ awful.rules.rules = {
properties = { border_width = beautiful.border_width, properties = { border_width = beautiful.border_width,
border_color = beautiful.border_normal, border_color = beautiful.border_normal,
focus = awful.client.focus.filter, focus = awful.client.focus.filter,
raise = true,
keys = clientkeys, keys = clientkeys,
buttons = clientbuttons, buttons = clientbuttons,
size_hints_honor = false } }, size_hints_honor = false } },