diff --git a/.config/config b/.config/config new file mode 100644 index 0000000..40a1a50 --- /dev/null +++ b/.config/config @@ -0,0 +1,4 @@ +[Default] +save_dir=$HOME/Pictures/screenshots +save_filename_format=swappy-%Y%m%d-%H%M%S.png + diff --git a/.config/hypr/config/binds.conf b/.config/hypr/config/binds.conf index 40eee63..e522373 100644 --- a/.config/hypr/config/binds.conf +++ b/.config/hypr/config/binds.conf @@ -16,10 +16,11 @@ bind = $mainMod, D, exec, $discord bind = $mainMod, B, exec, $browser bind = $mainMod, L, exec, $hyprlock bind = $mainMod, M, exec, $spotify + # also make sure you created a directory called screenshots in Pictures/ otherwise the screenshots won't appear anywhere bind = $mainMod, S, exec, grim -o DP-3 "${HOME}/Pictures/screenshots/screenshot-$(date +%F-%T).png" # screenshot + crop keybind -bind = $mainMod SHIFT, S, exec, grim -g "$(slurp)" "${HOME}/Pictures/screenshots/screenshot-$(date +%F-%T).png" +bind = $mainMod SHIFT, S, exec, grim -g "$(slurp)" - | swappy -f - # Move focus with mainMod + arrow keys # Maybe H J K L @@ -53,8 +54,8 @@ bind = $mainMod SHIFT, 9, movetoworkspace, 9 bind = $mainMod SHIFT, 0, movetoworkspace, 10 # Example special workspace (scratchpad) -bind = $mainMod, S, togglespecialworkspace, magic -bind = $mainMod SHIFT, S, movetoworkspace, special:magic +# bind = $mainMod, S, togglespecialworkspace, magic +# bind = $mainMod SHIFT, S, movetoworkspace, special:magic # Scroll through existing workspaces with mainMod + scroll bind = $mainMod, mouse_down, workspace, e+1 diff --git a/.config/hypr/config/rules.conf b/.config/hypr/config/rules.conf index c4fd397..d033973 100644 --- a/.config/hypr/config/rules.conf +++ b/.config/hypr/config/rules.conf @@ -10,3 +10,6 @@ workspace=7,monitor:DP-2,persistent:true workspace=8,monitor:DP-2,persistent:true workspace=9,monitor:DP-2,persistent:true workspace=0,monitor:DP-2,persistent:true + +windowrulev2 = stayfocused, class:(swappy) +