Skip to content

Commit c9275c3

Browse files
committed
Use grim and slurp instead of hyprshot
1 parent e4cdbcc commit c9275c3

File tree

4 files changed

+15
-2
lines changed

4 files changed

+15
-2
lines changed

home/desktop/desktop/default.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454

5555
# screenshot
5656
pkgs.grim
57+
pkgs.slurp
5758
pkgs.hyprshot
5859

5960
# clipboard

home/desktop/desktop/hyprland.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
meta,
3+
pkgs,
34
pkgs-unstable,
45
inputs,
56
...
@@ -79,8 +80,7 @@ in
7980

8081
"${mainMod}, p, exec, swaync-client -t"
8182

82-
"${mainMod}, S, exec, hyprshot -m region --clipboard-only"
83-
"${mainMod} SHIFT, S, exec, hyprshot -m active --clipboard-only"
83+
''${mainMod}, S, exec, grim -g "$(slurp -d)" - | wl-copy''
8484

8585
"${mainMod}, T, exec, ghostty"
8686

home/desktop/development.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,4 +122,8 @@
122122
source = ../../dots/jetbrains/.ideavimrc;
123123
target = ".ideavimrc";
124124
};
125+
126+
programs.pandoc = {
127+
enable = true;
128+
};
125129
}

justfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@ check:
1111
update:
1212
nix flake update
1313

14+
[group('flake')]
15+
update-unstable:
16+
nix flake update nixpkgs-unstable
17+
18+
[group('flake')]
19+
update-stable:
20+
nix flake update nixpkgs
21+
1422
[group('systems')]
1523
list:
1624
@echo "{{ available_systems }}"

0 commit comments

Comments
 (0)