mirror of
https://github.com/srid/nixos-config.git
synced 2025-12-28 08:14:58 +08:00
* Import my old xmonad config * import taffybar as well * xmonad working * break features into individual files * break features into individual files * Add fonts, and enable taffybar * trackpad behaviour
13 lines
276 B
Nix
13 lines
276 B
Nix
{ config, pkgs, ... }:
|
|
let
|
|
screenshot = pkgs.writeScriptBin "screenshot"
|
|
''
|
|
#!${pkgs.runtimeShell}
|
|
${pkgs.maim}/bin/maim -s | ${pkgs.xclip}/bin/xclip -selection clipboard -t image/png
|
|
'';
|
|
in
|
|
{
|
|
environment.systemPackages = with pkgs; [
|
|
screenshot
|
|
];
|
|
}
|