From 8c0b2b9f635e535d6b2217e22ef74041585616cc Mon Sep 17 00:00:00 2001 From: Saumit Dinesan Date: Thu, 23 Mar 2023 23:17:23 +0530 Subject: hypr: old sxhkd-like cleanup+addition --- .config/hypr/hyprland.conf | 64 +++++++++++++++++++++++++++++++++++----------- 1 file changed, 49 insertions(+), 15 deletions(-) (limited to '.config/hypr') diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 83d1540..01f8950 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -104,35 +104,68 @@ $MOD = SUPER # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more +############### +# Imp Utils # +############### +#Terminal bind = $MOD SHIFT, Return, exec, kitty +bind = $MOD, W, killactive +bind = $MOD CTRL SHIFT, Q, exit +bind = $MOD, F, togglefloating +bind = $MOD, Space, togglefloating +bindr= $MOD, D, exec, pkill tofi || tofi-run ################ # Applications # ################ +##(Perma Launch) # Launch Brave -bind = $MOD, Q, exec, brave +bind = $MOD, Q, exec, brave bind = $MOD CTRL, Q, exec, brave --incognito -bind = $MOD ALT, Q, exec, brave --tor +bind = $MOD ALT, Q, exec, brave --tor +# Launch wa bind = $MOD SHIFT, W, exec, whatsapp-nativefier -bind = $MOD, W, killactive, -bind = $MOD CTRL SHIFT, Q, exit, -bind = $MOD, F, togglefloating, -bind = $MOD, Space, togglefloating, -bind = $MOD, E, exec, emacs +#Launch emacs +bind = $MOD SHIFT, E, exec, emacs +# Launch ncloud +bind = $MOD SHIFT, N, exec, qutebrowser https://ncloud.draconyan.xyz +# Launch outlook +bind = $MOD SHIFT, E, exec, qutebrowser https://outlook.office365.com/mail/inbox +# Launch gmail +bind = $MOD CTRL, E, exec, qutebrowser https://mail.google.com +# Launch protonmail +bind = $MOD ALT, E, exec, qutebrowser https://mail.proton.me/u/0/inbox +# Launch teams +bind = $MOD SHIFT, E, exec, qutebrowser https://teams.microsoft.com +# Launch spotify +bind = $MOD SHIFT, M, exec, sp +# Launch discord +bind = $MOD SHIFT, D, exec, discord +# Launch telegram +bind = $MOD CTRL, E, exec, telegram-desktop + ##(Temp Launch) # Launch ranger bind = $MOD, R, exec, kitty -e ranger # Launch pulsemixer bind = $MOD, P, exec, kitty -e pulsemixer -#Launch top +#Launch top bind = $MOD SHIFT, G, exec, kitty -e gotop -bind = $MOD SHIFT, H, exec, htop -bind = $MOD SHIFT, B, exec, btop -#Launch galculator - a GTK 2/3 based scientific calculator -bindr= $MOD, D, exec, pkill tofi || tofi-run -bind = $MOD SHIFT, M, exec, sp +bind = $MOD SHIFT, H, exec, kitty -e htop +bind = $MOD SHIFT, B, exec, kitty -e btop + + +################### +# Global Hot-keys # +################### +##screenlock +bind = $MOD SHIFT, L, exec, waylock + +#screenshot +bind = ,Print, exec, grim "$GRIM_DEFAULT_DIR/"pic-full-"$(date +%y-%m-%d--%H-%M-%S)".png +bind = CTRL,Print, exec, grim -g "$(slurp)" $GRIM_DEFAULT_DIR/pic-sel-"$(date +%y-%m-%d--%H-%M-%S)".png #otherkeyb bind = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle && [[ "$(wpctl get-volume @DEFAULT_AUDIO_SINK@ | grep MUTE)" ]] && dunstify "Mute" "Volume set to 0%" -i volume-xmark -t 1000 -r 1234 @@ -141,8 +174,9 @@ binde = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%- & binde = ,XF86MonBrightnessUp, exec, brillo -s intel_backlight -A 4 && dunstify -u normal -t 3000 -r 90210 -i brightness "$(printf %.0f%% $( brillo -G) )" binde = ,XF86MonBrightnessDown, exec, brillo -s intel_backlight -U 4 && dunstify -u normal -t 3000 -r 90210 -i brightness "$(printf %.0f%% $( brillo -G) )" -bind = ,Print, exec, grim "$GRIM_DEFAULT_DIR/"pic-full-"$(date +%y-%m-%d--%H-%M-%S)".png -bind = CTRL,Print, exec, grim -g "$(slurp)" $GRIM_DEFAULT_DIR/pic-sel-"$(date +%y-%m-%d--%H-%M-%S)".png + +#Launch galculator - a GTK 2/3 based scientific calculator +bind = , XF86Calculator, exec, galculator #master-stack layout bind = $MOD, Return,layoutmsg, swapwithmaster -- cgit v1.2.3