mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
funny tmux
This commit is contained in:
parent
4a98c00cea
commit
af3b10930a
3 changed files with 19 additions and 4 deletions
|
|
@ -96,10 +96,9 @@
|
||||||
vesktop
|
vesktop
|
||||||
gh
|
gh
|
||||||
nixfmt-rfc-style
|
nixfmt-rfc-style
|
||||||
|
tmux
|
||||||
# QMK configuration
|
# QMK configuration
|
||||||
|
|
||||||
#via
|
#via
|
||||||
|
|
||||||
#qmk
|
#qmk
|
||||||
|
|
||||||
;
|
;
|
||||||
|
|
|
||||||
|
|
@ -68,7 +68,24 @@
|
||||||
};
|
};
|
||||||
environment = {
|
environment = {
|
||||||
systemPackages = builtins.attrValues {
|
systemPackages = builtins.attrValues {
|
||||||
inherit (suckless.packages) dmenu dwm st;
|
inherit (suckless.packages) dmenu dwm;
|
||||||
|
st =
|
||||||
|
let
|
||||||
|
wrap = pkgs.writeShellScript "st" ''
|
||||||
|
ARGS="''${@:1}"
|
||||||
|
exec ${lib.getExe suckless.packages.st} "''${ARGS:-tmux}"
|
||||||
|
'';
|
||||||
|
in
|
||||||
|
pkgs.symlinkJoin {
|
||||||
|
name = "st";
|
||||||
|
paths = [ suckless.packages.st ];
|
||||||
|
nativeBuildInputs = [ pkgs.makeBinaryWrapper ];
|
||||||
|
postBuild = ''
|
||||||
|
unlink "$out/bin/st"
|
||||||
|
ln -s "${wrap}" "$out/bin/st"
|
||||||
|
|
||||||
|
'';
|
||||||
|
};
|
||||||
inherit (pkgs)
|
inherit (pkgs)
|
||||||
maim
|
maim
|
||||||
playerctl
|
playerctl
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,6 @@
|
||||||
inputs,
|
inputs,
|
||||||
lib,
|
lib,
|
||||||
config,
|
config,
|
||||||
pkgs,
|
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
#
|
#
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue