Add media keys to notion

Remove strange sections from rubocop
This commit is contained in:
Sergey 2017-09-13 18:11:33 +03:00
parent 9d4b75d074
commit ab837618f0
3 changed files with 23 additions and 13 deletions

View File

@ -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

View File

@ -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(_)"),

View File

@ -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