✨ Moved common home-manager config to shared/home-manager
This commit is contained in:
18
shared/home-manager/hyprland/hyprshot.nix
Normal file
18
shared/home-manager/hyprland/hyprshot.nix
Normal file
@ -0,0 +1,18 @@
|
||||
{ common, ... }:
|
||||
|
||||
{
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
"$mainMod" = "SUPER";
|
||||
"$shiftMod" = "$mainMod SHIFT";
|
||||
|
||||
env = [
|
||||
"HYPRSHOT_DIR,${common.dir.pictures}/screenshots" # Store screenshots here
|
||||
];
|
||||
|
||||
bind = [
|
||||
"$mainMod, PRINT, exec, hyprshot -m window" # Window
|
||||
", PRINT, exec, hyprshot -m output" # Monitor
|
||||
"$shiftMod, PRINT, exec, hyprshot -m region" # Region
|
||||
];
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user