diff --git a/home.nix b/home.nix index e895754..64c5c81 100644 --- a/home.nix +++ b/home.nix @@ -4,6 +4,18 @@ let unstable = import nixpkgs-unstable { inherit system; }; + setIcon = '' +#!/usr/bin/env bash + +dbus-send \ + --system \ + --print-reply \ + --type=method_call \ + --dest="org.freedesktop.Accounts" \ + /org/freedesktop/Accounts/User1000 \ + org.freedesktop.Accounts.User.SetIconFile \ + "string:$1" + ''; in { imports = [ ./zsh.nix ./ssh.nix ]; @@ -41,6 +53,8 @@ in wireshark picocom + + (writeShellScriptBin "set-icon" setIcon) ]; home.stateVersion = "22.05";