1
0
mirror of https://github.com/kmein/niveum synced 2026-03-17 10:41:06 +01:00
- fix tmux config
- add window swallowing script
- make scripts an overlay
- setup disc burning
This commit is contained in:
Kierán Meinhardt
2020-06-22 08:44:09 +02:00
parent e380f96f4c
commit 871370e7a8
8 changed files with 45 additions and 15 deletions

View File

@@ -115,12 +115,27 @@ in {
packages = [ pkgs.st pkgs.fzf pkgs.dash pkgs.bash ];
};
swallow = wrapScript {
script = ./swallow.sh;
name = "swallow";
packages = [ pkgs.xdo ];
};
ipa = wrapScript {
script = ./ipa.py;
name = "ipa";
packages = [ pkgs.python3 ];
};
betacode = pkgs.writers.writePython3Bin "betacode" {
libraries = [ pkgs.nur.repos.kmein.python3Packages.betacode ];
} ''
import betacode.conv
import sys
sys.stdout.write(betacode.conv.beta_to_uni(sys.stdin.read()))
'';
scrot-dmenu = wrapScript {
script = ./scrot-dmenu.sh;
name = "dmenu-scrot";

7
packages/scripts/swallow.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/sh
# https://github.com/salman-abedin/devour/blob/master/devour.sh
id=$(xdo id)
xdo hide
$("$@") > /dev/null 2>&1
xdo show "$id"