1
1
Fork 0

Compare commits

...

2 commits

Author SHA1 Message Date
2b66daae24
screenshot: disable rounding and freezing
Signed-off-by: Myned <dev@bjork.tech>
2024-09-09 17:26:29 -05:00
ce707f193f
hyprland: disable fullscreen vrr
Signed-off-by: Myned <dev@bjork.tech>
2024-09-09 17:26:29 -05:00
2 changed files with 5 additions and 5 deletions

View file

@ -162,8 +162,8 @@ in
key_press_enables_dpms = true;
middle_click_paste = false;
# BUG: Possibly still causes hard freezes
vrr = 2; # VRR in fullscreen
# BUG: Still causes hard freezes
#// vrr = 2; # VRR in fullscreen
};
# https://wiki.hyprland.org/Configuring/Variables/#input

View file

@ -15,9 +15,9 @@ function round() {
# TODO: Use proper flags
# TODO: Add clipboard support
if [[ "${1-}" == '-e' ]]; then
grimblast --freeze save area - | round | swappy --file -
grimblast save area - | swappy --file -
elif [[ "${1-}" == '-d' ]]; then
grimblast --freeze save output - | round > "$XDG_SCREENSHOTS_DIR/$(date +'%F %H.%M.%S').png"
grimblast save output - > "$XDG_SCREENSHOTS_DIR/$(date +'%F %H-%M-%S').png"
else
grimblast --freeze save area - | round > "$XDG_SCREENSHOTS_DIR/$(date +'%F %H.%M.%S').png"
grimblast save area - > "$XDG_SCREENSHOTS_DIR/$(date +'%F %H-%M-%S').png"
fi