From 29e388d0af511ed47684608b64e1a9a48a47afaf Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Mon, 18 Nov 2024 16:26:11 -0600 Subject: [PATCH] add flameshot --- home/private_dot_config/flameshot/flameshot.ini | 7 +++++++ home/private_dot_config/hypr/conf/keys.conf | 6 ++++-- home/private_dot_config/hypr/conf/windows.conf | 13 ++++++++----- 3 files changed, 19 insertions(+), 7 deletions(-) create mode 100644 home/private_dot_config/flameshot/flameshot.ini diff --git a/home/private_dot_config/flameshot/flameshot.ini b/home/private_dot_config/flameshot/flameshot.ini new file mode 100644 index 0000000..0de0163 --- /dev/null +++ b/home/private_dot_config/flameshot/flameshot.ini @@ -0,0 +1,7 @@ +[General] +contrastOpacity=188 +disabledGrimWarning=true +drawColor=#0000ff +jpegQuality=85 +savePath=/home/daylin/stuff/screenshots +showSelectionGeometry=0 diff --git a/home/private_dot_config/hypr/conf/keys.conf b/home/private_dot_config/hypr/conf/keys.conf index 1fe5832..416a6ad 100644 --- a/home/private_dot_config/hypr/conf/keys.conf +++ b/home/private_dot_config/hypr/conf/keys.conf @@ -13,8 +13,10 @@ bind = $mainMod, P, exec, ~/.config/rofi/bin/launcher.sh bind = $mainMod, N, exec, $termStart --class="float.editor" -e notes-commit bind = $mainMod, T, exec, $termStart --class="float.editor" -e zk ei bind = $mainMod SHIFT, L, exec, hyprlock -bind = $mainMod, S,exec, grimblast copy area -bind = $mainMod SHIFT,S, exec, grimblast edit area +bind = $mainMod, S, exec, flameshot gui +bind = $mainMod SHIFT, S, exec, flameshot screen +# bind = $mainMod, S,exec, grimblast copy area +# bind = $mainMod SHIFT,S, exec, grimblast edit area bind = $mainMod, D, exec, makoctl dismiss bind = $mainMod, C, exec, google-chrome-stable diff --git a/home/private_dot_config/hypr/conf/windows.conf b/home/private_dot_config/hypr/conf/windows.conf index 028d940..d913476 100644 --- a/home/private_dot_config/hypr/conf/windows.conf +++ b/home/private_dot_config/hypr/conf/windows.conf @@ -1,9 +1,5 @@ windowrulev2 = tile,class:(Vivaldi-stable) -# prevent flameshot from requesting fullscreen -# windowrulev2 = nofullscreenrequest,class:^(flameshot)$,title:^(flameshot) -# windowrulev2 = float,class:^(flameshot)$,title:^(flameshot) - windowrulev2 = float,class:^(MultiViewer for F1)$ # notes-editor rules @@ -13,4 +9,11 @@ windowrulev2 = size 80% 80% ,class:^(float.editor)$ windowrulev2 = dimaround, class:^(float.editor)$ windowrulev2 = animation popin 50%, class:^(float.editor)$ - +# noanim isn't necessary but animations with these rules might look bad. use at your own discretion. +windowrulev2 = noanim, class:^(flameshot)$ +windowrulev2 = float, class:^(flameshot)$ +windowrulev2 = move 0 0, class:^(flameshot)$ +windowrulev2 = pin, class:^(flameshot)$ +# set this to your leftmost monitor id, otherwise you have to move your cursor to the leftmost monitor +# before executing flameshot +windowrulev2 = monitor 1, class:^(flameshot)$