niri config sorta working
This commit is contained in:
parent
61ab22169b
commit
4b84b88dc4
5 changed files with 18 additions and 3 deletions
|
@ -15,6 +15,8 @@
|
||||||
./virt.nix
|
./virt.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||||
|
|
||||||
networking.extraHosts =
|
networking.extraHosts =
|
||||||
''
|
''
|
||||||
10.10.11.245 surveillance.htb
|
10.10.11.245 surveillance.htb
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
./gdb
|
./gdb
|
||||||
./git
|
./git
|
||||||
./media
|
./media
|
||||||
|
./niri-setup
|
||||||
./notes
|
./notes
|
||||||
./shell
|
./shell
|
||||||
./terminal
|
./terminal
|
||||||
|
|
5
modules/system/home/niri-setup/default.nix
Normal file
5
modules/system/home/niri-setup/default.nix
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{ pkgs, ... }: {
|
||||||
|
programs.fuzzel= {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
}
|
|
@ -7,6 +7,9 @@
|
||||||
|
|
||||||
gtk = {
|
gtk = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
gtk3.extraConfig = {
|
||||||
|
gtk-application-prefer-dark-theme = true;
|
||||||
|
};
|
||||||
theme.name = "Adwaita Dark";
|
theme.name = "Adwaita Dark";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,8 +2,10 @@
|
||||||
// "/-" comments out the following node.
|
// "/-" comments out the following node.
|
||||||
|
|
||||||
input {
|
input {
|
||||||
// If this line is omitted, holding down a key won't work anymore
|
// If this section is omitted, holding down a key won't work anymore
|
||||||
keyboard { xkb { } }
|
keyboard {
|
||||||
|
xkb { }
|
||||||
|
}
|
||||||
touchpad {
|
touchpad {
|
||||||
tap
|
tap
|
||||||
natural-scroll
|
natural-scroll
|
||||||
|
@ -19,7 +21,7 @@ input {
|
||||||
|
|
||||||
// `niri msg outputs` to list available outputs with options
|
// `niri msg outputs` to list available outputs with options
|
||||||
output "eDP-1" {
|
output "eDP-1" {
|
||||||
scale 2.0
|
scale 1.0
|
||||||
|
|
||||||
mode "1920x1080@60"
|
mode "1920x1080@60"
|
||||||
|
|
||||||
|
@ -68,6 +70,8 @@ binds {
|
||||||
Mod+T { spawn "alacritty"; }
|
Mod+T { spawn "alacritty"; }
|
||||||
Mod+B { spawn "firefox"; }
|
Mod+B { spawn "firefox"; }
|
||||||
|
|
||||||
|
Mod+S { spawn "fuzzel"; }
|
||||||
|
|
||||||
|
|
||||||
XF86AudioRaiseVolume { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.1+"; }
|
XF86AudioRaiseVolume { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.1+"; }
|
||||||
XF86AudioLowerVolume { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.1-"; }
|
XF86AudioLowerVolume { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.1-"; }
|
||||||
|
|
Loading…
Add table
Reference in a new issue