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
# # "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
# # 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

View File

@ -24,6 +24,7 @@ in
"$launcher2" = "hyprlauncher";
"fileManager" = "dolphin";
"$browser" = "firefox";
"$screenShot" = "hyprshot -m region";
exec-once = [
"hyprlauncher"
@ -32,65 +33,82 @@ in
# Input
input = {
kb_layout = "fr";
numlock_by_default = true;
accel_profile = "flat";
follow_mouse = "1";
numlock_by_default = true;
accel_profile = "flat";
follow_mouse = "1";
};
# Monitor config
monitor = [
"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
workspace = [
"1, monitor:HDMI-A-1, default:true"
"2, monitor:HDMI-A-1"
"3, monitor:HDMI-A-1"
"4, monitor:HDMI-A-1"
"5, monitor:HDMI-A-1"
"6, monitor:DP-1"
"7, monitor:DP-1"
"8, monitor:DP-1"
"9, monitor:DP-1"
"10, monitor:DP-1"
"2, monitor:HDMI-A-1"
"3, monitor:HDMI-A-1"
"4, monitor:HDMI-A-1"
"5, monitor:HDMI-A-1"
"6, monitor:DP-1"
"7, monitor:DP-1"
"8, monitor:DP-1"
"9, monitor:DP-1"
"10, monitor:DP-1"
];
# Keybinds
bind = workspaceBinds ++ [
# Launch binds
"$mod, Q, killactive"
"$mod, RETURN, exec, $term"
"$mod, M, exit"
"$mod, R, exec, $launcher2"
"$mod SHIFT, F, exec, $browser"
"$mod, E, exec, $fileManager"
"$mod, F, fullscreen"
"$mod, RETURN, exec, $term"
"$mod, M, exit"
"$mod, R, exec, $launcher2"
"$mod SHIFT, F, exec, $browser"
"$mod, E, exec, $fileManager"
"$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
"$mod, mouse_down, workspace, e+1"
"$mod, mouse_up, workspace, e-1"
# Focus binds
"$mod, left, movefocus, l"
"$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
bindm = [
"$mod, mouse:272, movewindow"
"$mod, mouse: 273, resizewindow"
"$mod, mouse: 273, resizewindow"
];
bindl = [
", 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
];
}