Add and replace some hotkeys and apps and such
This commit is contained in:
parent
c13f95df8f
commit
e2b093a0bb
7 changed files with 73 additions and 87 deletions
|
@ -1,9 +1,8 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./grimedit
|
||||
./grimsnap
|
||||
./mako
|
||||
./swappy
|
||||
./swaylock
|
||||
./waybar
|
||||
./wlpicker
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ pkgs, config, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
(pkgs.writeScriptBin "grimedit" ''
|
||||
(pkgs.writeScriptBin "grimsnap" ''
|
||||
# Freeze the screen using hyprpicker
|
||||
hyprpicker -r -z &
|
||||
HYPRPICKER_PID=$!
|
||||
|
@ -22,7 +22,6 @@
|
|||
|
||||
# Save and edit screenshot
|
||||
grim -g "$GEOM" "$FILE"
|
||||
swappy -f $FILE &
|
||||
|
||||
# Notify user that the screenshot is saved
|
||||
notify-send -a grim "Screenshot" "Area saved to $FILE" -i "$FILE"
|
|
@ -1,11 +0,0 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
home = {
|
||||
packages = with pkgs; [ swappy ];
|
||||
file.".config/swappy/config".text = ''
|
||||
[Default]
|
||||
early_exit=true
|
||||
save_dir=$HOME/Pictures/Screenshots
|
||||
'';
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue