Update various stuff
This commit is contained in:
parent
8d61745f9c
commit
ae4c7f06c5
5 changed files with 39 additions and 41 deletions
|
@ -8,7 +8,7 @@ local modkey = conf.modkey or "Mod4"
|
|||
local binder = binder or require("separable.binder")
|
||||
local mb = binder.modal
|
||||
|
||||
local mpd = require("separable.mpd")
|
||||
local mpd = require("mpd")
|
||||
local handy = require("handy")
|
||||
local myglobalkeys = {}
|
||||
|
||||
|
@ -27,9 +27,11 @@ local function mpdserver(host)
|
|||
end
|
||||
end
|
||||
|
||||
local terminal_handy = conf.cmd.terminal .. " " .. conf.cmd.terminal_wmclass .. " handy "
|
||||
local terminal_handy_exec = terminal_handy .. conf.cmd.terminal_exec .. " "
|
||||
|
||||
local mpdhosts = {
|
||||
{"n", mpdserver("nas"), "NAS" },
|
||||
{"b", mpdserver("berryhorst"), "Berry" },
|
||||
{"n", mpdserver("nashorn"), "NAS" },
|
||||
{"l", mpdserver("127.0.0.1"), "Local" }
|
||||
}
|
||||
|
||||
|
@ -143,15 +145,10 @@ local myglobalkeys = awful.util.table.join(
|
|||
--}}}
|
||||
|
||||
-- {{{ handy console
|
||||
awful.key({ }, "F12", nil, function ()
|
||||
handy("alacritty --class handy -e tmux", awful.placement.centered, 0.9, 0.7, nil, "handy")
|
||||
end ),
|
||||
awful.key({ modkey }, "x", function ()
|
||||
handy("alacritty --class handy -e ikhal", awful.placement.centered, 0.9, 0.7, 'single', "handy")
|
||||
end ),
|
||||
awful.key({ modkey }, "a", function ()
|
||||
handy("pavucontrol", awful.placement.centered, 0.6, 0.8, 'single')
|
||||
end ),
|
||||
awful.key({ }, "F12", nil, handy.fun(terminal_handy, awful.placement.centered, 0.9, 0.7, nil, "handy")),
|
||||
awful.key({ modkey }, "y", handy.fun(terminal_handy_exec .. "ikhal", awful.placement.centered, 0.9, 0.7, 'single', "handy")),
|
||||
awful.key({ modkey }, "a", handy.fun("pavucontrol", awful.placement.centered, 0.6, 0.8, 'single')),
|
||||
awful.key({ modkey }, "/", handy.fun("qalculate-gtk", awful.placement.centered, 0.4, 0.5, 'single')),
|
||||
-- }}}
|
||||
|
||||
--{{{ dmenu prompts
|
||||
|
@ -178,8 +175,6 @@ local myglobalkeys = awful.util.table.join(
|
|||
awful.key({ }, "XF86AudioNext", mpd.ctrl.next),
|
||||
awful.key({ }, "XF86AudioPrev", mpd.ctrl.prev),
|
||||
|
||||
awful.key({ modkey }, "y", binder.spawn("copyq toggle")),
|
||||
awful.key({ modkey }, "/", binder.spawn("rofi -show calc -modi calc -no-show-match -no-sort")),
|
||||
awful.key({ modkey }, "e", binder.spawn('rofi -show emoji')),
|
||||
awful.key( {}, "Num_Lock", lockhl("Num")),
|
||||
awful.key( {}, "Caps_Lock", lockhl("Caps"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue