Added a screenshot way

This commit is contained in:
Alexandre1a 2026-01-27 17:31:54 +01:00
parent 9d5a736a79
commit b5b5b82dc1
No known key found for this signature in database
GPG Key ID: CE01C28FBC5EEF10
2 changed files with 48 additions and 41 deletions

View File

@ -21,17 +21,6 @@
# # Adds the 'hello' command to your environment. It prints a friendly # # Adds the 'hello' command to your environment. It prints a friendly
# # "Hello, world!" when run. # # "Hello, world!" when run.
# Hyprland related (rice, etc...)
wofi
alacritty
firefox
cava
# File manager
kdePackages.dolphin
kdePackages.gwenview
# Hypr* ecosystem
hyprlauncher
# # It is sometimes useful to fine-tune packages, for example, by applying # # It is sometimes useful to fine-tune packages, for example, by applying
# # overrides. You can do that directly here, just don't forget the # # overrides. You can do that directly here, just don't forget the
# # parentheses. Maybe you want to install Nerd Fonts with a limited number of # # parentheses. Maybe you want to install Nerd Fonts with a limited number of

View File

@ -24,6 +24,7 @@ in
"$launcher2" = "hyprlauncher"; "$launcher2" = "hyprlauncher";
"fileManager" = "dolphin"; "fileManager" = "dolphin";
"$browser" = "firefox"; "$browser" = "firefox";
"$screenShot" = "hyprshot -m region";
exec-once = [ exec-once = [
"hyprlauncher" "hyprlauncher"
@ -32,65 +33,82 @@ in
# Input # Input
input = { input = {
kb_layout = "fr"; kb_layout = "fr";
numlock_by_default = true; numlock_by_default = true;
accel_profile = "flat"; accel_profile = "flat";
follow_mouse = "1"; follow_mouse = "1";
}; };
# Monitor config # Monitor config
monitor = [ monitor = [
"HDMI-A-1, 1920x1080@144, 1440x0, 1" "HDMI-A-1, 1920x1080@144, 1440x0, 1"
"DP-1, 1440x900@59.89, 0x0, 1" "DP-1, 1440x900@59.89, 0x0, 1"
]; ];
# Assign workspaces to monitors # Assign workspaces to monitors
workspace = [ workspace = [
"1, monitor:HDMI-A-1, default:true" "1, monitor:HDMI-A-1, default:true"
"2, monitor:HDMI-A-1" "2, monitor:HDMI-A-1"
"3, monitor:HDMI-A-1" "3, monitor:HDMI-A-1"
"4, monitor:HDMI-A-1" "4, monitor:HDMI-A-1"
"5, monitor:HDMI-A-1" "5, monitor:HDMI-A-1"
"6, monitor:DP-1" "6, monitor:DP-1"
"7, monitor:DP-1" "7, monitor:DP-1"
"8, monitor:DP-1" "8, monitor:DP-1"
"9, monitor:DP-1" "9, monitor:DP-1"
"10, monitor:DP-1" "10, monitor:DP-1"
]; ];
# Keybinds # Keybinds
bind = workspaceBinds ++ [ bind = workspaceBinds ++ [
# Launch binds # Launch binds
"$mod, Q, killactive" "$mod, Q, killactive"
"$mod, RETURN, exec, $term" "$mod, RETURN, exec, $term"
"$mod, M, exit" "$mod, M, exit"
"$mod, R, exec, $launcher2" "$mod, R, exec, $launcher2"
"$mod SHIFT, F, exec, $browser" "$mod SHIFT, F, exec, $browser"
"$mod, E, exec, $fileManager" "$mod, E, exec, $fileManager"
"$mod, F, fullscreen" "$mod, F, fullscreen"
"$mod, PRINT, exec, $screenShot"
# Focus binds
"$mod, left, movefocus, l"
"$mod, right, movefocus, r"
"$mod, up, movefocus, u"
"$mod, down, movefocus, d"
# Scroll through workspaces with mouse scroll # Focus binds
"$mod, mouse_down, workspace, e+1" "$mod, left, movefocus, l"
"$mod, mouse_up, workspace, e-1" "$mod, right, movefocus, r"
"$mod, up, movefocus, u"
"$mod, down, movefocus, d"
# Scroll through workspaces with mouse scroll
"$mod, mouse_down, workspace, e+1"
"$mod, mouse_up, workspace, e-1"
]; ];
# Mouse binds # Mouse binds
bindm = [ bindm = [
"$mod, mouse:272, movewindow" "$mod, mouse:272, movewindow"
"$mod, mouse: 273, resizewindow" "$mod, mouse: 273, resizewindow"
]; ];
bindl = [ bindl = [
", XF86AudioPause, exec, playerctl play-pause" ", XF86AudioPause, exec, playerctl play-pause"
", XF86AudioPlay, exec, playerctl play-pause" ", XF86AudioPlay, exec, playerctl play-pause"
]; ];
}; };
}; };
home.packages = with pkgs; [
# Hyprland related (rice, etc...)
wofi
alacritty
firefox
cava
# File manager
kdePackages.dolphin
kdePackages.gwenview
# Hypr* ecosystem
hyprlauncher
hyprshot
];
} }