more niri config
This commit is contained in:
parent
c5ec082fc2
commit
f437f44897
|
@ -25,6 +25,7 @@
|
||||||
home-manager.users.vinzenz.imports = [
|
home-manager.users.vinzenz.imports = [
|
||||||
./configuration.nix
|
./configuration.nix
|
||||||
./editorconfig.nix
|
./editorconfig.nix
|
||||||
|
./fuzzel.nix
|
||||||
./git.nix
|
./git.nix
|
||||||
./gnome.nix
|
./gnome.nix
|
||||||
./niri.nix
|
./niri.nix
|
||||||
|
|
31
home/vinzenz/fuzzel.nix
Normal file
31
home/vinzenz/fuzzel.nix
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
config.programs.fuzzel = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
main = {
|
||||||
|
terminal = "${pkgs.alacritty}/bin/alacritty";
|
||||||
|
icon-theme = "Adwaita";
|
||||||
|
counter = true;
|
||||||
|
font = "sans:size=10";
|
||||||
|
};
|
||||||
|
colors = {
|
||||||
|
border = "0003B3FF";
|
||||||
|
background = "0F0F0FFF";
|
||||||
|
text = "657b83ff";
|
||||||
|
prompt = "586e75ff";
|
||||||
|
placeholder = "93a1a1ff";
|
||||||
|
input = "657b83ff";
|
||||||
|
match = "cb4b16ff";
|
||||||
|
selection = "eee8d5ff";
|
||||||
|
selection-text = "586e75ff";
|
||||||
|
selection-match = "cb4b16ff";
|
||||||
|
counter = "93a1a1ff";
|
||||||
|
};
|
||||||
|
border = {
|
||||||
|
radius = 30;
|
||||||
|
width = 3;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -28,35 +28,6 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.fuzzel = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
main = {
|
|
||||||
terminal = "${pkgs.alacritty}/bin/alacritty";
|
|
||||||
icon-theme = "Adwaita";
|
|
||||||
counter = true;
|
|
||||||
font = "sans:size=10";
|
|
||||||
};
|
|
||||||
colors = {
|
|
||||||
border = "0003B3FF";
|
|
||||||
background = "0F0F0FFF";
|
|
||||||
text = "657b83ff";
|
|
||||||
prompt = "586e75ff";
|
|
||||||
placeholder = "93a1a1ff";
|
|
||||||
input = "657b83ff";
|
|
||||||
match = "cb4b16ff";
|
|
||||||
selection = "eee8d5ff";
|
|
||||||
selection-text = "586e75ff";
|
|
||||||
selection-match = "cb4b16ff";
|
|
||||||
counter = "93a1a1ff";
|
|
||||||
};
|
|
||||||
border = {
|
|
||||||
radius = 30;
|
|
||||||
width = 3;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.niri.settings = {
|
programs.niri.settings = {
|
||||||
input.keyboard.xkb.layout = "de";
|
input.keyboard.xkb.layout = "de";
|
||||||
|
|
||||||
|
|
|
@ -25,15 +25,26 @@
|
||||||
|
|
||||||
services.swayidle = {
|
services.swayidle = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
systemdTarget = "graphical-session.target";
|
||||||
timeouts = [
|
timeouts = [
|
||||||
{
|
{
|
||||||
timeout = 60;
|
timeout = 30;
|
||||||
|
command = "${config.programs.swaylock.package}/bin/swaylock";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
timeout = 60 * 10;
|
||||||
|
command = "${pkgs.systemd}/bin/systemctl suspend";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
events = [
|
||||||
|
{
|
||||||
|
event = "before-sleep";
|
||||||
|
command = "${pkgs.playerctl}/bin/playerctl pause; ${config.programs.swaylock.package}/bin/swaylock";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
event = "lock";
|
||||||
command = "${config.programs.swaylock.package}/bin/swaylock";
|
command = "${config.programs.swaylock.package}/bin/swaylock";
|
||||||
}
|
}
|
||||||
#{
|
|
||||||
# timeout = 90;
|
|
||||||
# command = "${pkgs.systemd}/bin/systemctl suspend";
|
|
||||||
#}
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
waybar
|
|
||||||
playerctl
|
playerctl
|
||||||
cava
|
cava
|
||||||
];
|
];
|
||||||
|
@ -14,6 +13,7 @@
|
||||||
programs.waybar = {
|
programs.waybar = {
|
||||||
enable = true;
|
enable = true;
|
||||||
systemd.enable = true;
|
systemd.enable = true;
|
||||||
|
systemd.target = "graphical-session.target";
|
||||||
settings = {
|
settings = {
|
||||||
mainBar = {
|
mainBar = {
|
||||||
layer = "top";
|
layer = "top";
|
||||||
|
|
Loading…
Reference in a new issue