mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-08-09 05:14:41 -05:00
Compare commits
2 commits
bd524a279c
...
e88b50e51e
Author | SHA1 | Date | |
---|---|---|---|
![]() |
e88b50e51e | ||
![]() |
c287906c9b |
2 changed files with 26 additions and 2 deletions
11
modules/home/cli/utilities/trashCli/default.nix
Normal file
11
modules/home/cli/utilities/trashCli/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
home.packages = builtins.attrValues {
|
||||||
|
inherit (pkgs)
|
||||||
|
trash-cli
|
||||||
|
;
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,8 +1,17 @@
|
||||||
{ pkgs, ... }:
|
{
|
||||||
|
pkgs,
|
||||||
|
flake,
|
||||||
|
osConfig,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
inherit (flake.config.machines.devices) mars;
|
||||||
|
hostname = osConfig.networking.hostName;
|
||||||
|
in
|
||||||
{
|
{
|
||||||
services.espanso = {
|
services.espanso = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.espanso-wayland;
|
package = if hostname == mars.name then pkgs.espanso-wayland else pkgs.espanso;
|
||||||
matches = {
|
matches = {
|
||||||
base = {
|
base = {
|
||||||
matches = [
|
matches = [
|
||||||
|
@ -34,6 +43,10 @@
|
||||||
trigger = ":exist";
|
trigger = ":exist";
|
||||||
replace = "∃";
|
replace = "∃";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
trigger = ":em";
|
||||||
|
replace = "—";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
global_vars = {
|
global_vars = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue