Add nnn file browser with plugins
Hyprland: rebing caps-lock to ctrl
This commit is contained in:
parent
c68cc41915
commit
9fbda10700
|
@ -33,6 +33,10 @@
|
||||||
url = "github:folke/tokyonight.nvim";
|
url = "github:folke/tokyonight.nvim";
|
||||||
flake = false;
|
flake = false;
|
||||||
};
|
};
|
||||||
|
nnn = {
|
||||||
|
url = "https://github.com/jarun/nnn.git";
|
||||||
|
flake = false;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs =
|
outputs =
|
||||||
|
@ -73,7 +77,7 @@
|
||||||
inherit (inputs) anyrun watershot;
|
inherit (inputs) anyrun watershot;
|
||||||
};
|
};
|
||||||
extraSpecialArgs = specialArgs // {
|
extraSpecialArgs = specialArgs // {
|
||||||
inherit (inputs) crafted-emacs tokyonight-folke;
|
inherit (inputs) crafted-emacs tokyonight-folke nnn;
|
||||||
};
|
};
|
||||||
in nixpkgs.lib.nixosSystem {
|
in nixpkgs.lib.nixosSystem {
|
||||||
inherit system specialArgs;
|
inherit system specialArgs;
|
||||||
|
|
|
@ -24,21 +24,16 @@ in ''
|
||||||
exec-once = systemctl --user import-environment WAYLAND_DISPLAY QT_QPA_PLATFORMTHEME
|
exec-once = systemctl --user import-environment WAYLAND_DISPLAY QT_QPA_PLATFORMTHEME
|
||||||
exec-once = systemctl --user restart xdg-desktop-portal.service xdg-desktop-portal-hyprland.service avizo.service
|
exec-once = systemctl --user restart xdg-desktop-portal.service xdg-desktop-portal-hyprland.service avizo.service
|
||||||
|
|
||||||
misc {
|
misc:disable_autoreload = true
|
||||||
disable_autoreload = true
|
|
||||||
vrr = 2
|
|
||||||
}
|
|
||||||
|
|
||||||
gestures {
|
gestures:workspace_swipe = true
|
||||||
workspace_swipe = true
|
|
||||||
}
|
|
||||||
|
|
||||||
input {
|
input {
|
||||||
kb_layout = gb
|
kb_layout = gb
|
||||||
|
kb_options = ctrl:nocaps
|
||||||
follow_mouse = 1
|
follow_mouse = 1
|
||||||
touchpad {
|
touchpad:natural_scroll = yes
|
||||||
natural_scroll = yes
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
general {
|
general {
|
||||||
|
@ -89,9 +84,7 @@ in ''
|
||||||
animation = workspaces, 1, 6, default
|
animation = workspaces, 1, 6, default
|
||||||
}
|
}
|
||||||
|
|
||||||
XWayland {
|
xwayland:force_zero_scaling = true
|
||||||
force_zero_scaling = true
|
|
||||||
}
|
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||||
bind = SUPER, F1, exec, ${pkgs.gtklock}/bin/gtklock
|
bind = SUPER, F1, exec, ${pkgs.gtklock}/bin/gtklock
|
||||||
|
|
17
home/nnn.nix
Normal file
17
home/nnn.nix
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
{ config, lib, pkgs, nnn, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
programs.nnn = {
|
||||||
|
enable = true;
|
||||||
|
bookmarks = {
|
||||||
|
d = "~/Documents";
|
||||||
|
D = "~/Downloads";
|
||||||
|
p = "~/Pictures";
|
||||||
|
v = "~/Videos";
|
||||||
|
};
|
||||||
|
plugins = {
|
||||||
|
src = "${nnn}/plugins";
|
||||||
|
mappings = { };
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue