add screenshots

This commit is contained in:
2024-11-19 18:25:54 +01:00
parent 10ddb3abdc
commit 9bbcd7308b
2 changed files with 5 additions and 1 deletions

View File

@ -6,7 +6,7 @@
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ # # By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ # # +#+#+#+#+#+ +#+ #
# Created: 2024/10/17 18:15:38 by tomoron #+# #+# # # Created: 2024/10/17 18:15:38 by tomoron #+# #+# #
# Updated: 2024/11/04 17:43:28 by tomoron ### ########.fr # # Updated: 2024/11/19 18:22:41 by tomoron ### ########.fr #
# # # #
# **************************************************************************** # # **************************************************************************** #
@ -50,6 +50,9 @@
hyprlock hyprlock
python3 python3
vlc vlc
grim
slurp
]; ];
home.file = { home.file = {

View File

@ -6,6 +6,7 @@
wayland.windowManager.hyprland.settings = { wayland.windowManager.hyprland.settings = {
"$mainMod" = "SUPER"; "$mainMod" = "SUPER";
bind = [ bind = [
" , Print, exec, grim -t jpeg -g \"$(slurp)\" ~/screenshots/$(date +%Y-%m-%d_%H-%m-%s).jpg"
"$mainMod, Return, exec, alacritty" "$mainMod, Return, exec, alacritty"
"CTRL_ALT, Q, killactive," "CTRL_ALT, Q, killactive,"
"SUPER_ALT, Q, exit," "SUPER_ALT, Q, exit,"