add hyprshot and use it with screenshot shortcut
All checks were successful
Build iso when a new version is pushed / test (push) Successful in 2m28s
All checks were successful
Build iso when a new version is pushed / test (push) Successful in 2m28s
This commit is contained in:
2
Makefile
2
Makefile
@ -27,5 +27,5 @@ cleanup :
|
||||
nix-env --delete-generations +1
|
||||
sudo nix-collect-garbage -d
|
||||
|
||||
optimise :
|
||||
optimize :
|
||||
nix-store --optimize -vv
|
||||
|
||||
@ -10,12 +10,14 @@
|
||||
config = lib.mkIf config.mods.hyprland.enable {
|
||||
wayland.windowManager.hyprland.systemd.variables = [ "--all" ];
|
||||
|
||||
programs.hyprshot.enable = true;
|
||||
|
||||
wayland.windowManager.hyprland.enable = true;
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
"$mainMod" = "SUPER";
|
||||
bind = [
|
||||
" , Print, exec, grim -t png -g \"$(slurp)\" /dev/stdout | tee ~/screenshots/$(date +%Y-%m-%d_%H-%m-%s).png | wl-copy -t image/png"
|
||||
" SHIFT, Print, exec, grim -t png /dev/stdout | tee ~/screenshots/$(date +%Y-%m-%d_%H-%m-%s).png | wl-copy -t image/png"
|
||||
" , Print, exec, hyprshot -m region -o ~/screenshots -f $(date +%Y-%m-%d_%H-%M-%S).png"
|
||||
" SHIFT, Print, exec, hyprshot -m output -m active -o ~/screenshots -f $(date +%Y-%m-%d_%H-%M-%S).png"
|
||||
"$mainMod, Return, exec, alacritty"
|
||||
"CTRL_ALT, Q, killactive,"
|
||||
"CTRL_ALT_SHIFT, Q, forcekillactive,"
|
||||
@ -165,6 +167,8 @@
|
||||
allow_tearing = false;
|
||||
layout = "dwindle";
|
||||
};
|
||||
|
||||
layerrule = "noanim, selection";
|
||||
|
||||
cursor.no_warps = true;
|
||||
|
||||
|
||||
@ -6,11 +6,11 @@
|
||||
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
|
||||
# +#+#+#+#+#+ +#+ #
|
||||
# Created: 2025/09/06 00:56:57 by tomoron #+# #+# #
|
||||
# Updated: 2025/10/04 22:23:34 by tomoron ### ########.fr #
|
||||
# Updated: 2025/10/11 00:23:01 by tomoron ### ########.fr #
|
||||
# #
|
||||
# **************************************************************************** #
|
||||
|
||||
{ config, pkgs, ... }:
|
||||
{ lib, config, pkgs, ... }:
|
||||
|
||||
{
|
||||
boot.initrd.luks.yubikeySupport = true;
|
||||
@ -65,6 +65,7 @@
|
||||
SUBSYSTEM=="kvmfr", OWNER="tom", GROUP="kvm", MODE="0660"
|
||||
'';
|
||||
environment.systemPackages = with pkgs; [ looking-glass-client ];
|
||||
services.supergfxd.settings.mode = "Vfio";
|
||||
};
|
||||
|
||||
networking.dhcpcd.enable = false;
|
||||
@ -105,7 +106,7 @@
|
||||
|
||||
services.supergfxd.enable = true;
|
||||
services.supergfxd.settings = {
|
||||
mode = "Integrated";
|
||||
mode = lib.mkDefault "Integrated";
|
||||
vfio_enable = true;
|
||||
vfio_save = true;
|
||||
always_reboot = false;
|
||||
|
||||
Reference in New Issue
Block a user