Skip to content

Nikolai2038/hyprland-screenshoter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hyprland-screenshoter

1. Description

This script acts as a screenshoter for Hyprland.

2. Requirements

  • Arch Linux:

    sudo pacman --noconfirm --sync --refresh --needed hyprshot hyprpicker swappy pngquant wl-clipboard

3. Installation

./install.sh

4. Usage

4.1. CLI

hyprland-screenshoter <region|window|output> <is_edit=0> <is_save=1> <is_compress=1>

Example:

hyprland-screenshoter region 1 0 0

4.2. Hyprland keybindings

Example:

# ========================================
# Hyprland Screenshoter
# (see https://github.com/Nikolai2038/hyprland-screenshoter)
# ========================================
# Screenshot a region: PRINT
bind = , PRINT, exec, hyprland-screenshoter region 0

# Screenshot a region and edit it: SHIFT + PRINT
bind = SHIFT, PRINT, exec, hyprland-screenshoter region 1

# Screenshot a window: MOD + PRINT
bind = $mainMod, PRINT, exec, hyprland-screenshoter window 0

# Screenshot a window and edit it: MOD + SHIFT + PRINT
bind = $mainMod SHIFT, PRINT, exec, hyprland-screenshoter window 1

# Screenshot a monitor: MOD + CTRL + PRINT
bind = $mainMod CTRL, PRINT, exec, hyprland-screenshoter output 0

# Screenshot a monitor and edit it: MOD + CTRL + SHIFT + PRINT
bind = $mainMod CTRL SHIFT, PRINT, exec, hyprland-screenshoter output 1
# ========================================

5. Contribution

Feel free to contribute via pull requests or issues!

About

This script acts as a screenshoter for Hyprland

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages