Updates to awesome with fennel
This commit is contained in:
parent
ebf15f2270
commit
3d48649971
7 changed files with 63 additions and 78 deletions
25
awesome/keys.fnl
Normal file
25
awesome/keys.fnl
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
(local awful (require "awful"))
|
||||
(local beautiful (require "beautiful"))
|
||||
(local hotkeys_popup (require "awful.hotkeys_popup"))
|
||||
|
||||
|
||||
(local modifiers {
|
||||
:mod "Mod4"
|
||||
:shift "Shift"
|
||||
:ctrl "Control"
|
||||
:alt "Mod1"
|
||||
})
|
||||
|
||||
(local globalkeys (gears.table.join
|
||||
(key [:mod :alt] "m" (awful.spawn "mpv --player-operation-mode=pseudo-gui"))
|
||||
(key [:mod] "s" hotkeys_popup.show_help)
|
||||
))
|
||||
|
||||
(root.keys globalkeys)
|
||||
keys
|
||||
|
||||
|
||||
|
||||
;; -- mpv
|
||||
;; awful.key({ modkey, altkey }, "m", function () awful.spawn("mpv --player-operation-mode=pseudo-gui") end,
|
||||
;; {description = "open mpv", group = "apps"}),
|
||||
Loading…
Add table
Add a link
Reference in a new issue