2021-12-26 23:34:42 +01:00
|
|
|
{ pkgs }:
|
|
|
|
pkgs.writeShellApplication {
|
|
|
|
name = "sxhkd-help";
|
|
|
|
runtimeInputs = with pkgs; [ rofi ];
|
|
|
|
text = ''
|
|
|
|
awk '/^[a-z]/ && last {print "<small>",$0,"\t",last,"</small>"} {last=""} /^#/{last=$0}' ~/.config/sxhkd/sxhkdrc |
|
|
|
|
column -t -s $'\t' |
|
|
|
|
rofi -dmenu -i -markup-rows -no-show-icons -width 1000 -lines 15 -yoffset 40
|
2022-02-07 15:30:54 +01:00
|
|
|
'';
|
2021-12-26 23:34:42 +01:00
|
|
|
}
|