diff options
| author | Saumit <justsaumit@protonmail.com> | 2026-03-14 15:49:46 +0530 |
|---|---|---|
| committer | Saumit <justsaumit@protonmail.com> | 2026-03-14 15:49:46 +0530 |
| commit | 7a5562b1801c56065c8ad656314009180d987acc (patch) | |
| tree | 8535f4f06635dfe87cb6db7a8c93b74fbafe8616 /stow/hyprland | |
| parent | 7b720507b7d7f5e383741c952d73536bad692c0d (diff) | |
Diffstat (limited to 'stow/hyprland')
| -rw-r--r-- | stow/hyprland/.config/hypr/hyprland.conf | 38 |
1 files changed, 24 insertions, 14 deletions
diff --git a/stow/hyprland/.config/hypr/hyprland.conf b/stow/hyprland/.config/hypr/hyprland.conf index 47bfe78..6b6dc24 100644 --- a/stow/hyprland/.config/hypr/hyprland.conf +++ b/stow/hyprland/.config/hypr/hyprland.conf @@ -308,17 +308,18 @@ bind = $MOD CTRL, Q, exec, brave --incognito bind = $MOD SHIFT, Z, exec, zen-browser # Launch wa bind = $MOD SHIFT, W, exec, whatsapp-nativefier --no-sandbox -#Launch emacs -bind = $MOD, E, exec, emacs # Launch ncloud -bind = $MOD SHIFT, N, exec, qutebrowser https://ncloud.draconyan.xyz +bind = $MOD SHIFT, N, exec, zen-browser https://ncloud.draconyan.xyz +#Launch emacs +bind = $MOD CTRL, E, exec, emacs # Launch thunderbird bind = $MOD SHIFT, E, exec, thunderbird # Launch protonmail -bind = $MOD ALT, E, exec, qutebrowser https://mail.proton.me/u/0/inbox +bind = $MOD ALT, E, exec, zen-browser https://mail.proton.me/u/0/inbox # Launch teams # bind = $MOD SHIFT, T, exec, qutebrowser https://teams.microsoft.com -bind = $MOD SHIFT, T, exec, teams +# bind = $MOD SHIFT, T, exec, teams +bind = $MOD , T, exec, tessen # Launch spotify bind = $MOD SHIFT, M, exec, spotify # Launch memospot @@ -349,13 +350,21 @@ bind = $MOD , L, exec, swaylock #bind = ,Print, exec, IMG=pic-full-"$(date +%y-%m-%d--%H-%M-%S)".png && grim "$GRIM_DEFAULT_DIR/""$IMG" && wl-copy < "$GRIM_DEFAULT_DIR/""$IMG" #bind = CTRL,Print, exec, IMG=pic-sel-"$(date +%y-%m-%d--%H-%M-%S)".png && grim -g "$(slurp)" "$GRIM_DEFAULT_DIR/""$IMG" && wl-copy < "$GRIM_DEFAULT_DIR/""$IMG" #bind = ALT ,Print, exec, flameshot gui -bind = ,Print, exec, IMG=pic-full-"$(date +%y-%m-%d--%H-%M-%S)".png && grim - | wl-copy && wl-paste > "$GRIM_DEFAULT_DIR/""$IMG" && dunstify "Screenshot of the whole screen taken" "$IMG" -t 1000 # screenshot of whole screen +$SS_DIR = /home/justsaumit/pix/Screenshots + +# Full screen — Print or F10 +bind = , Print, exec, IMG="$SS_DIR/pic-full-$(date +%y-%m-%d--%H-%M-%S).png" && grim "$IMG" && wl-copy < "$IMG" && dunstify "Full screenshot" "$(basename $IMG)" -t 1500 +bind = , F10, exec, IMG="$SS_DIR/pic-full-$(date +%y-%m-%d--%H-%M-%S).png" && grim "$IMG" && wl-copy < "$IMG" && dunstify "Full screenshot" "$(basename $IMG)" -t 1500 + +# Region select — CTRL+Print or F11 +bind = CTRL ,Print, exec, IMG="$SS_DIR/pic-sel-$(date +%y-%m-%d--%H-%M-%S).png" && grim -g "$(slurp)" "$IMG" && wl-copy < "$IMG" && dunstify "Region screenshot" "$(basename $IMG)" -t 1500 bind = $MOD SHIFT,Print, exec, IMG=pic-sel-"$(date +%y-%m-%d--%H-%M-%S)".png && grim -g "$(slurp)" - | wl-copy && wl-paste > "$GRIM_DEFAULT_DIR/""$IMG" && dunstify "Screenshot of the region taken" "$IMG" -t 1000 # screenshot of a region +bind = ,F11, exec, IMG="$SS_DIR/pic-sel-$(date +%y-%m-%d--%H-%M-%S).png" && grim -g "$(slurp)" "$IMG" && wl-copy < "$IMG" && dunstify "Region screenshot" "$(basename $IMG)" -t 1500 + +# Flameshot (annotate/edit) — ALT+Print or F12 +bind = ALT, Print, exec, flameshot gui +bind = , F12, exec, flameshot gui bind = CTRL,Print, exec, IMG=pic-sel-"$(date +%y-%m-%d--%H-%M-%S)".png && grim -g "$(slurp)" - | wl-copy && wl-paste > "$GRIM_DEFAULT_DIR/""$IMG" && dunstify "Screenshot of the region taken" "$IMG" -t 1000 # screenshot of a region -bind = ALT,Print, exec, flameshot gui -bind = ,F10, exec, IMG=pic-full-"$(date +%y-%m-%d--%H-%M-%S)".png && grim - | wl-copy && wl-paste > "$GRIM_DEFAULT_DIR/""$IMG" && dunstify "Screenshot of the whole screen taken" "$IMG" -t 1000 # screenshot of whole screen -bind = ,F11, exec, IMG=pic-sel-"$(date +%y-%m-%d--%H-%M-%S)".png && grim -g "$(slurp)" - | wl-copy && wl-paste > "$GRIM_DEFAULT_DIR/""$IMG" && dunstify "Screenshot of the region taken" "$IMG" -t 1000 # screenshot of a region -bind = ,F12, exec, flameshot gui #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 @@ -509,10 +518,11 @@ windowrule = float on, match:class hyprland-run windowrule = workspace 9, match:class ^(spotify)$ # Obsidian opacity -windowrule = opacity 1.0 override 1.0 override, match:class ^(obsidian)$ -windowrule = opacity 1.0 override 1.0 override, match:class ^(code)$ -windowrule = opacity 1.0 override 1.0 override, match:class ^(brave)$ -windowrule = opacity 1.0 override 1.0 override, match:class ^(zen)$ +windowrule = opacity 1.0, match:class ^(obsidian)$ +windowrule = opacity 1.0, match:class ^(code)$ +windowrule = opacity 1.0, match:class ^(brave)$ +windowrule = opacity 1.0, match:class ^(mpv)$ +windowrule = opacity 1.0, match:class ^(zen)$ #windowrulev2 = no_direct_scanout, class:^(mpv)$ |
