Satty crash fix

This commit is contained in:
Aleksandr Lebedev 2025-05-27 11:15:23 +02:00
parent 6ecd1dc38c
commit 11e25485ef
2 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, inputs, hwconfig, ... }: { pkgs, inputs, hwconfig, unstable-pkgs, ... }:
{ {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
#kando #kando
@ -24,7 +24,7 @@
qpwgraph qpwgraph
pwvucontrol pwvucontrol
brightnessctl brightnessctl
satty unstable-pkgs.satty #fixes crash in 0.18.0
grim grim
slurp slurp
clipse clipse

View file

@ -57,7 +57,7 @@ in {
"$menu" = "emacsclient -cF '((visibility . nil))' -e '(emacs-run-app-launcher)'"; #"${pkgs.wofi}/bin/wofi --show drun"; "$menu" = "emacsclient -cF '((visibility . nil))' -e '(emacs-run-app-launcher)'"; #"${pkgs.wofi}/bin/wofi --show drun";
"$emojiPicker" = "emacsclient -cF '((visibility . nil))' -e '(emacs-run-emoji-picker)'"; "$emojiPicker" = "emacsclient -cF '((visibility . nil))' -e '(emacs-run-emoji-picker)'";
"$clipboardManager" = "$terminal --class clipse -e 'clipse'"; "$clipboardManager" = "$terminal --class clipse -e 'clipse'";
"$makeRegionScreenshot" = "${pkgs.grim}/bin/grim -g \"$(${pkgs.slurp}/bin/slurp -w 0)\" - | ${pkgs.satty}/bin/satty --early-exit --copy-command 'wl-copy' --filename '-' --initial-tool brush"; "$makeRegionScreenshot" = "grim -g \"$(slurp -w 0)\" - | satty --early-exit --copy-command 'wl-copy' --filename '-' --initial-tool brush";
bind = [ bind = [
"$mod, T, exec, $terminal" "$mod, T, exec, $terminal"
"$mod, Q, killactive," "$mod, Q, killactive,"
@ -154,7 +154,7 @@ in {
#"GDK_SCALE,1.6" #"GDK_SCALE,1.6"
#"QT_SCALE_FACTOR,1.6" #"QT_SCALE_FACTOR,1.6"
"GSK_RENDERER,ngl" # for satty until https://github.com/NixOS/nixpkgs/issues/359069 is fixed #"GSK_RENDERER,ngl" # for satty until https://github.com/NixOS/nixpkgs/issues/359069 is fixed
]; ];
cursor = { cursor = {