port to 25.11 UNFINISHED
Some checks failed
/ build-all (push) Failing after 1h46m27s

This commit is contained in:
ant 2025-11-27 18:39:56 +01:00 committed by Antoine Vaure
parent 00bebbe34a
commit f427907563
13 changed files with 95 additions and 71 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, ... }:
{ config, pkgs, ... }:
pkgs.writers.writePython3 "screenshot" { flakeIgnore = [ "E501" ];} ''
import subprocess
import re
@ -13,7 +13,7 @@ full screen
viewer
"""
cmd = '${pkgs.rofi-wayland}/bin/rofi -dmenu -location 2 -l 7 -i -p "Screenshot which area?"'
cmd = '${config.programs.rofi.package}/bin/rofi -dmenu -location 2 -l 7 -i -p "Screenshot which area?"'
result = subprocess.run(cmd,
input=options,
stdout=subprocess.PIPE,