From 1ed329a2a7b9ed5aa39c20b002bf7811921edefa Mon Sep 17 00:00:00 2001 From: Mark Hoekveen Date: Sun, 29 Jan 2023 12:04:05 +0100 Subject: [PATCH] updated keybinds for spotify, discord, lock, bar, etc --- .config/hypr/hyprland.conf | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 6674624..9d6b6f9 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -111,36 +111,40 @@ bind = $Mod, Return, exec, $term bind = $Mod, A, exec, $term -e cava bind = $Mod SHIFT, A, exec, $term -e pulsemixer bind = $Mod, D, exec, $launcher -bind = $Mod SHIFT, D, exec, discord --enable-gpu-rasterization +bind = $Mod SHIFT, D, exec, discord --enable-gpu-rasterization --ozone-platform-hint=auto bind = $Mod CTRL, D, exec, dolphin bind = $Mod SHIFT, E, exec, steam bind = $Mod, E, exec, $term -e ranger bind = $Mod, I, exec, $term -e btop -bind = $Mod, M, exec, spotify +bind = $Mod, M, exec, pgrep spotifyd || spotifyd +bind = $Mod, M, exec, $term -e spt bind = $Mod, P, exec, pass clip -r bind = $Mod SHIFT, T, exec, teams bind = $Mod SHIFT, W, exec, firefox # Spotify control -bind = $Mod ALT, L, exec, dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next -bind = $Mod ALT, H, exec, dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous -bind = $Mod CTRL, Space, exec, dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause -bind = $Mod ALT, Space, exec, dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause +bind = $Mod ALT, L, exec, ~/.scripts/mpris.sh next +bind = $Mod ALT, H, exec, ~/.scripts/mpris.sh previous +bind = $Mod ALT, Space, exec, ~/.scripts/mpris.sh play-pause # Control bindings bind = $Mod, V, togglesplit, bind = $Mod SHIFT, V, togglegroup, bind = $Mod, F, fullscreen, +bind = $Mod SHIFT, F, fullscreen, 1 bind = $Mod, Space, togglefloating, bind = $Mod, Q, killactive, -bind = $Mod SHIFT, Backspace, exit, +bind = $Mod SHIFT, Backspace, exec, swaylock -f -C ~/.cache/wal/swaylock +bind = $Mod SHIFT CTRL, Backspace, exit bind = $Mod, O, exec, ~/.scripts/wallpaper; $bar bind = $Mod SHIFT, O, exec, ~/.scripts/wallpaper-upload +bind = $Mod, B, exec, killall -9 waybar; $bar bind = , Print, exec, grim -g "$(slurp)" - | wl-copy bind = CTRL, Print, exec, grim -g "$(slurp)" ~/screenshot.png && notify-send -i ~/screenshot.png "Screenshot saved" -bindr = SHIFT, Print, exec, killall -s SIGINT wf-recorder || $record +bindr = CTRL SHIFT, Print, exec, killall -s SIGINT wf-recorder || $record +bind = SHIFT, Print, exec, grim -g "$(slurp)" - | swappy -f - bind = $Mod, h, movefocus, l bind = $Mod, l, movefocus, r