| @@ -45,7 +45,7 @@ hl.bind("PRINT", hl.dsp.exec_cmd("hypr_screenshot.sh")) |
| 45 | 45 | | hl.bind(mainMod .. " + SHIFT + P", hl.dsp.exec_cmd("hypr_screenshot.sh")) |
| 46 | 46 | | |
| 47 | 47 | | -- Music Controls |
| 48 | | − | hl.bind(mainMod .. " + m", hl.dsp.exec_cmd(terminal .. " -e zsh -i -c \"ncmpcpp\"")) |
| 48 | + | hl.bind(mainMod .. " + m", hl.dsp.exec_cmd(terminal .. " -e zsh -i -c \"rmptui\"")) |
| 49 | 49 | | hl.bind(mainMod .. " + p", hl.dsp.exec_cmd("mpc toggle")) |
| 50 | 50 | | hl.bind(mainMod .. " + period", hl.dsp.exec_cmd("mpc seek +10"), { repeating = true }) |
| 51 | 51 | | hl.bind(mainMod .. " + comma", hl.dsp.exec_cmd("mpc seek -10"), { repeating = true }) |
| @@ -62,7 +62,8 @@ hl.bind(mainMod .. " + k", hl.dsp.window.resize({ x = 0, y = -30, relative = tru |
| 62 | 62 | | hl.bind(mainMod .. " + j", hl.dsp.window.resize({ x = 0, y = 30, relative = true }), { repeating = true }) |
| 63 | 63 | | |
| 64 | 64 | | -- Clipboard menu (cliphist) |
| 65 | | − | hl.bind(mainMod .. " + v", hl.dsp.exec_cmd("sh -c \"cliphist list | fuzzel --dmenu --with-nth 2 | cliphist decode | wl-copy\"")) |
| 65 | + | -- hl.bind(mainMod .. " + v", hl.dsp.exec_cmd("sh -c \"cliphist list | fuzzel --dmenu --with-nth 2 | cliphist decode | wl-copy\"")) |
| 66 | + | hl.bind(mainMod .. " + v", hl.dsp.exec_cmd("qs -c aurora ipc call shell clip")) |
| 66 | 67 | | |
| 67 | 68 | | -- ----------------------------------------------------- |
| 68 | 69 | | -- Workspace switching |
| @@ -136,13 +137,13 @@ hl.bind(mainMod .. " + mouse_up", hl.dsp.focus({ workspace = "e-1" })) |
| 136 | 137 | | hl.bind(mainMod .. " + mouse:272", hl.dsp.window.drag(), { mouse = true }) |
| 137 | 138 | | hl.bind(mainMod .. " + mouse:273", hl.dsp.window.resize(), { mouse = true }) |
| 138 | 139 | | |
| 139 | | − | -- Laptop multimedia keys for volume and LCD brightness |
| 140 | + | -- Laptop multimedia keys for volume and LCD brightness (brightness goes through aurora for the OSD; it runs ~/.local/bin/brictl) |
| 140 | 141 | | hl.bind("XF86AudioRaiseVolume", hl.dsp.exec_cmd("wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+"), { locked = true, repeating = true }) |
| 141 | 142 | | hl.bind("XF86AudioLowerVolume", hl.dsp.exec_cmd("wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"), { locked = true, repeating = true }) |
| 142 | 143 | | hl.bind("XF86AudioMute", hl.dsp.exec_cmd("wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"), { locked = true, repeating = true }) |
| 143 | 144 | | hl.bind("XF86AudioMicMute", hl.dsp.exec_cmd("wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"), { locked = true, repeating = true }) |
| 144 | | − | hl.bind("XF86MonBrightnessDown", hl.dsp.exec_cmd("~/.local/bin/brictl -"), { locked = true, repeating = true }) |
| 145 | | − | hl.bind("XF86MonBrightnessUp", hl.dsp.exec_cmd("~/.local/bin/brictl +"), { locked = true, repeating = true }) |
| 145 | + | hl.bind("XF86MonBrightnessDown", hl.dsp.exec_cmd("qs -c aurora ipc call shell bright down"), { locked = true, repeating = true }) |
| 146 | + | hl.bind("XF86MonBrightnessUp", hl.dsp.exec_cmd("qs -c aurora ipc call shell bright up"), { locked = true, repeating = true }) |
| 146 | 147 | | |
| 147 | 148 | | -- Requires playerctl |
| 148 | 149 | | hl.bind("XF86AudioNext", hl.dsp.exec_cmd("playerctl next"), { locked = true }) |