port to 25.11

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

View file

@ -1 +0,0 @@
${pkgs.rofi-wayland}/bin/rofi -matching normal -sort -show run

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,