Compare commits
2 Commits
466ab42ee8
...
cc95668f6d
Author | SHA1 | Date | |
---|---|---|---|
cc95668f6d | |||
9f1d4c2bfe |
@ -315,19 +315,17 @@ in
|
|||||||
|
|
||||||
systemd.user = {
|
systemd.user = {
|
||||||
services = {
|
services = {
|
||||||
/*
|
wayland-pipewire-idle-inhibit = {
|
||||||
himalaya = {
|
Unit.Description = "inhibit sleep while audio output is active";
|
||||||
Unit.Description = "Himalaya new messages notifier";
|
|
||||||
Service = {
|
Service = {
|
||||||
ExecStart = "himalaya notify";
|
ExecStart = "${lib.getExe pkgs.wayland-pipewire-idle-inhibit}";
|
||||||
Restart = "always";
|
Restart = "always";
|
||||||
RestartSec = 10;
|
RestartSec = 10;
|
||||||
};
|
};
|
||||||
Install = {
|
Install = {
|
||||||
WantedBy = [ "multi-user.target" ];
|
WantedBy = [ "graphical-session.target" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
*/
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
12
home/zsh.nix
12
home/zsh.nix
@ -92,6 +92,18 @@
|
|||||||
ls;
|
ls;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function osc7-pwd() {
|
||||||
|
emulate -L zsh # also sets localoptions for us
|
||||||
|
setopt extendedglob
|
||||||
|
local LC_ALL=C
|
||||||
|
printf '\e]7;file://%s%s\e\' $HOST ''${PWD//(#m)([^@-Za-z&-;_~])/%''${(l:2::0:)''$(([##16]#MATCH))}}
|
||||||
|
}
|
||||||
|
|
||||||
|
function chpwd-osc7-pwd() {
|
||||||
|
(( ZSH_SUBSHELL )) || osc7-pwd
|
||||||
|
}
|
||||||
|
add-zsh-hook -Uz chpwd chpwd-osc7-pwd
|
||||||
|
|
||||||
eval "$(direnv hook zsh)"
|
eval "$(direnv hook zsh)"
|
||||||
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}'
|
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user