refactor!: import modules recursively
This commit is contained in:
parent
f9fd542206
commit
9567cce5fa
35 changed files with 227 additions and 178 deletions
10
modules/config/bin/_sxhkdHelp.nix
Normal file
10
modules/config/bin/_sxhkdHelp.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{ 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
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue