fix: more keybind cleanup, remove hyprlock
This commit is contained in:
@@ -2,6 +2,14 @@ local function exit_submap()
|
||||
hl.dispatch(hl.dsp.submap("reset"))
|
||||
end
|
||||
|
||||
hl.bind("code:232", hl.dsp.exec_cmd(""))
|
||||
-- bind = ,code:232, exec, light -U 5 && notify-send 'Display brightness decreased by 5%'
|
||||
-- bind = ,code:233, exec, light -A 5 && notify-send 'Display brightness increased by 5%'
|
||||
|
||||
hl.bind("code:123", hl.dsp.exec_cmd("pamixer -i 5"))
|
||||
hl.bind("code:122", hl.dsp.exec_cmd("pamixer -d 5"))
|
||||
hl.bind("code:121", hl.dsp.exec_cmd("pamixer t"))
|
||||
|
||||
hl.define_submap("device", function()
|
||||
hl.bind("m", function()
|
||||
hl.dispatch(hl.dsp.exec_cmd("wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"))
|
||||
@@ -25,19 +33,19 @@ hl.define_submap("device", function()
|
||||
end)
|
||||
|
||||
-- ── DMS controls ─────────────────────────────────────────────────
|
||||
-- clipboard history
|
||||
-- clipboard history
|
||||
hl.bind("h", function()
|
||||
hl.dispatch(hl.dsp.exec_cmd("dms ipc call clipboard toggle"))
|
||||
exit_submap()
|
||||
end)
|
||||
|
||||
-- Dash
|
||||
-- Dash
|
||||
hl.bind("d", function()
|
||||
hl.dispatch(hl.dsp.exec_cmd("dms ipc call dash toggle"))
|
||||
exit_submap()
|
||||
end)
|
||||
|
||||
-- Settings
|
||||
-- Settings
|
||||
hl.bind("s", function()
|
||||
hl.dispatch(hl.dsp.exec_cmd("dms ipc call settings toggle"))
|
||||
exit_submap()
|
||||
|
||||
Reference in New Issue
Block a user