Add 'old-conf/' from commit '62a64a79a8'
git-subtree-dir: old-conf git-subtree-mainline:4667974392git-subtree-split:62a64a79a8
This commit is contained in:
commit
83de52d5db
195 changed files with 13408 additions and 0 deletions
39
old-conf/hosts/theseus/niri.nix
Normal file
39
old-conf/hosts/theseus/niri.nix
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{ pkgs, config, lib, ... }:
|
||||
let
|
||||
floatingAppids = [
|
||||
"floating-alacritty"
|
||||
"org.pulseaudio.pavucontrol"
|
||||
"KeePassXC"
|
||||
"org.gnome.NautilusPreviewer"
|
||||
];
|
||||
matchFloat = lib.concatStringSep "\n" (map (x: ''
|
||||
window-rule {
|
||||
match app-id="${x}"
|
||||
open-floating true
|
||||
open-focused true
|
||||
}
|
||||
'') floatingAppids);
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
./waybar.nix
|
||||
./mako.nix
|
||||
];
|
||||
xyno.desktop = {
|
||||
waybar.enable = true;
|
||||
mako.enable = true;
|
||||
};
|
||||
programs.niri.enable = true;
|
||||
environment.etc."niri/config.kdl".text = ''
|
||||
screenshot-path "~/Pictures/screenshots/screenshot-%Y-%m-%d %H-%M-%S.png"
|
||||
input {
|
||||
workspace-auto-back-and-forth
|
||||
focus-follows-mouse max-scroll-amount="10%"
|
||||
touchpad {
|
||||
tap
|
||||
}
|
||||
}
|
||||
// autogenerated from here on
|
||||
${matchFloat}
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue