make screenshots hyprshot
This commit is contained in:
parent
a3ce0049a0
commit
ac6892bcd2
3 changed files with 29 additions and 4 deletions
21
flake.lock
generated
21
flake.lock
generated
|
|
@ -527,6 +527,26 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"hyprpicker": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1711283076,
|
||||||
|
"narHash": "sha256-Cda+XbHpvyz3HhdJ7FlXFoaazOWtdBoOWmEaj4ZFwRM=",
|
||||||
|
"owner": "hyprwm",
|
||||||
|
"repo": "hyprpicker",
|
||||||
|
"rev": "0eb49192a5cdd5e6e8e6c2c82c33857d78d6cd56",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "hyprwm",
|
||||||
|
"repo": "hyprpicker",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"lanzaboote": {
|
"lanzaboote": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"crane": "crane",
|
"crane": "crane",
|
||||||
|
|
@ -859,6 +879,7 @@
|
||||||
"disko": "disko",
|
"disko": "disko",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"hyprland": "hyprland",
|
"hyprland": "hyprland",
|
||||||
|
"hyprpicker": "hyprpicker",
|
||||||
"lazy": "lazy",
|
"lazy": "lazy",
|
||||||
"nix-colors": "nix-colors",
|
"nix-colors": "nix-colors",
|
||||||
"nixpkgs": "nixpkgs_4",
|
"nixpkgs": "nixpkgs_4",
|
||||||
|
|
|
||||||
|
|
@ -30,6 +30,11 @@
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
hyprpicker = {
|
||||||
|
url = "github:hyprwm/hyprpicker";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
|
||||||
disko = {
|
disko = {
|
||||||
url = "github:nix-community/disko";
|
url = "github:nix-community/disko";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
|
||||||
|
|
@ -41,8 +41,8 @@ in
|
||||||
libnotify # to enable the notify-send command
|
libnotify # to enable the notify-send command
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
|
|
||||||
slurp
|
inputs.hyprpicker
|
||||||
grim
|
hyprshot
|
||||||
|
|
||||||
hypridle # TODO: remove when fixed with config
|
hypridle # TODO: remove when fixed with config
|
||||||
playerctl
|
playerctl
|
||||||
|
|
@ -123,8 +123,7 @@ in
|
||||||
"$mod,F,togglefloating"
|
"$mod,F,togglefloating"
|
||||||
"$mod,X,togglespecialworkspace"
|
"$mod,X,togglespecialworkspace"
|
||||||
"SUPERSHIFT,X,movetoworkspace,special"
|
"SUPERSHIFT,X,movetoworkspace,special"
|
||||||
"$mod,Print,exec,grim - | wl-copy && notify-send 'Screenshot Copied to Clipboard'"
|
"SUPERSHIFT,S,exec,hyprshot -m region --clipboard-only"
|
||||||
"SUPERSHIFT,S,exec,slurp | grim -g - /tmp/photo && wl-copy < /tmp/photo && notify-send 'Screenshot Copied to Clipboard'"
|
|
||||||
"$mod,f11,fullscreen,0"
|
"$mod,f11,fullscreen,0"
|
||||||
",XF86AudioLowerVolume,exec,wpctl set-volume @DEFAULT_SINK@ 1%-"
|
",XF86AudioLowerVolume,exec,wpctl set-volume @DEFAULT_SINK@ 1%-"
|
||||||
",XF86AudioRaiseVolume,exec,wpctl set-volume @DEFAULT_SINK@ 1%+"
|
",XF86AudioRaiseVolume,exec,wpctl set-volume @DEFAULT_SINK@ 1%+"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue