Add media keys to notion
Remove strange sections from rubocop
This commit is contained in:
parent
9d4b75d074
commit
ab837618f0
@ -61,13 +61,14 @@ ioncore.set{
|
||||
|
||||
-- Mouse focus mode; set to "sloppy" if you want the focus to follow the
|
||||
-- mouse, and to "disabled" otherwise.
|
||||
mousefocus="sloppy",
|
||||
-- mousefocus="disabled",
|
||||
-- mousefocus="sloppy",
|
||||
mousefocus="disabled",
|
||||
|
||||
-- Controls Notion's reaction to stacking requests sent by clients. Set to
|
||||
-- "ignore" to ignore these requests, and to "activate" to set the activity
|
||||
-- flag on a window that requests to be stacked "Above".
|
||||
--window_stacking_request="ignore",
|
||||
-- window_stacking_request="ignore",
|
||||
window_stacking_request="activate",
|
||||
|
||||
-- Time (in ms) that a window has to be focussed in order to be added to the
|
||||
-- focus list. Set this to <=0 (or comment it out) to disable the logic, and
|
||||
|
||||
@ -152,7 +152,7 @@ defbindings("WMPlex.toplevel", {
|
||||
-- kpress(META.."F1", "ioncore.exec_on(_, ':man notion')"),
|
||||
|
||||
bdoc("Run password menu."),
|
||||
kpress(META.."V", "ioncore.exec_on(_, '/home/kressh/scripts/passmenu.sh')"),
|
||||
kpress(META.."V", "notioncore.exec_on(_, '/home/kressh/scripts/passmenu.sh')"),
|
||||
|
||||
--bdoc("Run a terminal emulator."),
|
||||
--kpress(META.."T", "mod_query.exec_on_merr(_, XTERM or 'urxvt')"),
|
||||
@ -163,6 +163,24 @@ defbindings("WMPlex.toplevel", {
|
||||
bdoc("Query for command line to execute."),
|
||||
kpress(META.."F2", "mod_query.query_exec(_)"),
|
||||
|
||||
bdoc("Incr volume."),
|
||||
kpress(META.."KP_Add", "notioncore.exec_on(_, '/usr/local/bin/volume_control incr')"),
|
||||
|
||||
bdoc("Incr volume."),
|
||||
kpress(META.."KP_Subtract", "notioncore.exec_on(_, '/usr/local/bin/volume_control decr')"),
|
||||
|
||||
bdoc("Play/pause mpc."),
|
||||
kpress(META.."Down", "notioncore.exec_on(_, 'mpc toggle')"),
|
||||
|
||||
bdoc("Stop mpc."),
|
||||
kpress(META.."Up", "notioncore.exec_on(_, 'mpc stop')"),
|
||||
|
||||
bdoc("Play prev."),
|
||||
kpress(META.."Left", "notioncore.exec_on(_, 'mpc prev')"),
|
||||
|
||||
bdoc("Play next."),
|
||||
kpress(META.."Right", "notioncore.exec_on(_, 'mpc next')"),
|
||||
|
||||
--bdoc("Query for Lua code to execute."),
|
||||
--kpress(META.."F3", "mod_query.query_lua(_)"),
|
||||
|
||||
|
||||
@ -76,9 +76,6 @@ Style/Documentation:
|
||||
# method_call(a,
|
||||
# b)
|
||||
#
|
||||
Layout/AlignParameters:
|
||||
EnforcedStyle: with_fixed_indentation
|
||||
|
||||
Style/BlockDelimiters:
|
||||
Enabled: false
|
||||
|
||||
@ -93,12 +90,6 @@ Style/NumericLiterals:
|
||||
Style/LambdaCall:
|
||||
Enabled: false
|
||||
|
||||
Layout/MultilineMethodCallIndentation:
|
||||
EnforcedStyle: indented
|
||||
|
||||
Layout/MultilineOperationIndentation:
|
||||
EnforcedStyle: indented
|
||||
|
||||
Style/NumericPredicate:
|
||||
EnforcedStyle: comparison
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user