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
|
||||
gh
|
||||
nixfmt-rfc-style
|
||||
tmux
|
||||
# QMK configuration
|
||||
|
||||
#via
|
||||
|
||||
#qmk
|
||||
|
||||
;
|
||||
|
|
|
|||
|
|
@ -68,7 +68,24 @@
|
|||
};
|
||||
environment = {
|
||||
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)
|
||||
maim
|
||||
playerctl
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
inputs,
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
}:
|
||||
{
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue