more niri config
This commit is contained in:
parent
c5ec082fc2
commit
f437f44897
|
@ -25,6 +25,7 @@
|
|||
home-manager.users.vinzenz.imports = [
|
||||
./configuration.nix
|
||||
./editorconfig.nix
|
||||
./fuzzel.nix
|
||||
./git.nix
|
||||
./gnome.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 = {
|
||||
input.keyboard.xkb.layout = "de";
|
||||
|
||||
|
|
|
@ -25,15 +25,26 @@
|
|||
|
||||
services.swayidle = {
|
||||
enable = true;
|
||||
systemdTarget = "graphical-session.target";
|
||||
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";
|
||||
}
|
||||
#{
|
||||
# timeout = 90;
|
||||
# command = "${pkgs.systemd}/bin/systemctl suspend";
|
||||
#}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
}:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
waybar
|
||||
playerctl
|
||||
cava
|
||||
];
|
||||
|
@ -14,6 +13,7 @@
|
|||
programs.waybar = {
|
||||
enable = true;
|
||||
systemd.enable = true;
|
||||
systemd.target = "graphical-session.target";
|
||||
settings = {
|
||||
mainBar = {
|
||||
layer = "top";
|
||||
|
|
Loading…
Reference in a new issue