diff --git a/.config/i3/config##hostname.dpad b/.config/i3/config##hostname.dpad index 361a94e6..c8b92674 100644 --- a/.config/i3/config##hostname.dpad +++ b/.config/i3/config##hostname.dpad @@ -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 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 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 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 XF86MonBrightnessDown exec --no-startup-id brightnessctl set 5%- diff --git a/.config/nvim/lua/plugins/markdown.lua b/.config/nvim/lua/plugins/markdown.lua index 07bf33a4..551537ef 100644 --- a/.config/nvim/lua/plugins/markdown.lua +++ b/.config/nvim/lua/plugins/markdown.lua @@ -4,8 +4,8 @@ local function retmap() inline_surround_toggle_line = "mmm", -- (string|boolean) line-wise toggle inline style inline_surround_delete = "md", -- (string|boolean) delete emphasis surrounding cursor inline_surround_change = "mc", -- (string|boolean) change emphasis surrounding cursor - link_add = "ml", -- (string|boolean) add link - link_follow = "mx", -- (string|boolean) follow link + -- link_add = "ml", -- (string|boolean) add link + -- link_follow = "mx", -- (string|boolean) follow link go_curr_heading = "mp", go_parent_heading = "mP", go_next_heading = "", @@ -14,6 +14,9 @@ local function retmap() require("which-key").add({ { "m", group = "Markdown" }, }) + vim.keymap.set("n", "m", "MDListItemBelow", { silent = true }) + vim.keymap.set("n", "mu", "MDListItemAbove", { silent = true }) + vim.keymap.set("n", "ml", "MDResetListNumbering", { silent = true }) return m end local opts = {