helix fix and some useful zsh functions

This commit is contained in:
Rouven Seifert 2023-08-12 18:34:29 +02:00
parent 4964b6036b
commit 346d04e632
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
10 changed files with 206 additions and 37 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, ... }:
{ pkgs, helix, ... }:
{
home.packages = with pkgs; [
gdb
@ -24,12 +24,17 @@
];
programs.helix = {
enable = true;
# pull helix from the flake to fix random coredumps
package = helix.packages.x86_64-linux.default;
languages = {
language-server.rnix-lsp = {
command = "rnix-lsp";
};
language = [
{
name = "nix";
auto-format = true;
language-server.command = "rnix-lsp";
language-servers = [ "rnix-lsp" ];
}
];
};

View file

@ -16,6 +16,7 @@
source =
pkgs.writeShellScript "river-init.sh" ''
riverctl focus-follows-cursor always
riverctl set-cursor-warp on-focus-change
riverctl attach-mode bottom
riverctl spawn rivertile
riverctl default-layout rivertile
@ -24,6 +25,7 @@
riverctl input pointer-2-7-SynPS/2_Synaptics_TouchPad tap enabled
riverctl input pointer-2-7-SynPS/2_Synaptics_TouchPad drag enabled
riverctl input pointer-2-7-SynPS/2_Synaptics_TouchPad middle-emulation enabled
riverctl input pointer-2-7-SynPS/2_Synaptics_TouchPad accel-profile adaptive
riverctl spawn "${pkgs.swaybg}/bin/swaybg -i ${../../../../images/wallpaper.png}"