AutoYADM commit: 2024-11-11 15:00:02
This commit is contained in:
parent
0cbf525b9f
commit
370bc12293
2 changed files with 10 additions and 4 deletions
|
@ -49,10 +49,13 @@ bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT
|
||||||
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
|
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
|
||||||
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
|
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
|
||||||
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
|
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
|
||||||
bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
|
|
||||||
|
# separate keys to toggle spotify and other media players
|
||||||
|
bindsym XF86AudioPlay exec --no-startup-id playerctl --player=spotify play-pause
|
||||||
|
bindsym XF86AudioStop exec --no-startup-id playerctl --all-players play-pause --ignore-player=spotify
|
||||||
|
|
||||||
bindsym XF86AudioNext exec --no-startup-id playerctl next
|
bindsym XF86AudioNext exec --no-startup-id playerctl next
|
||||||
bindsym XF86AudioPrev exec --no-startup-id playerctl previous
|
bindsym XF86AudioPrev exec --no-startup-id playerctl previous
|
||||||
bindsym XF86AudioStop exec --no-startup-id playerctl stop
|
|
||||||
|
|
||||||
bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl set +5%
|
bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl set +5%
|
||||||
bindsym XF86MonBrightnessDown exec --no-startup-id brightnessctl set 5%-
|
bindsym XF86MonBrightnessDown exec --no-startup-id brightnessctl set 5%-
|
||||||
|
|
|
@ -4,8 +4,8 @@ local function retmap()
|
||||||
inline_surround_toggle_line = "<leader>mmm", -- (string|boolean) line-wise toggle inline style
|
inline_surround_toggle_line = "<leader>mmm", -- (string|boolean) line-wise toggle inline style
|
||||||
inline_surround_delete = "<leader>md", -- (string|boolean) delete emphasis surrounding cursor
|
inline_surround_delete = "<leader>md", -- (string|boolean) delete emphasis surrounding cursor
|
||||||
inline_surround_change = "<leader>mc", -- (string|boolean) change emphasis surrounding cursor
|
inline_surround_change = "<leader>mc", -- (string|boolean) change emphasis surrounding cursor
|
||||||
link_add = "<leader>ml", -- (string|boolean) add link
|
-- link_add = "<leader>ml", -- (string|boolean) add link
|
||||||
link_follow = "<leader>mx", -- (string|boolean) follow link
|
-- link_follow = "<leader>mx", -- (string|boolean) follow link
|
||||||
go_curr_heading = "<leader>mp",
|
go_curr_heading = "<leader>mp",
|
||||||
go_parent_heading = "<leader>mP",
|
go_parent_heading = "<leader>mP",
|
||||||
go_next_heading = "<M-n>",
|
go_next_heading = "<M-n>",
|
||||||
|
@ -14,6 +14,9 @@ local function retmap()
|
||||||
require("which-key").add({
|
require("which-key").add({
|
||||||
{ "<leader>m", group = "Markdown" },
|
{ "<leader>m", group = "Markdown" },
|
||||||
})
|
})
|
||||||
|
vim.keymap.set("n", "<leader>m<cr>", "<cmd>MDListItemBelow<cr>", { silent = true })
|
||||||
|
vim.keymap.set("n", "<leader>mu", "<cmd>MDListItemAbove<cr>", { silent = true })
|
||||||
|
vim.keymap.set("n", "<leader>ml", "<cmd>MDResetListNumbering<cr>", { silent = true })
|
||||||
return m
|
return m
|
||||||
end
|
end
|
||||||
local opts = {
|
local opts = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue