merges
This commit is contained in:
parent
5c74dc820b
commit
74ecc77048
@ -95,7 +95,6 @@ in {
|
|||||||
insert = "bar";
|
insert = "bar";
|
||||||
};
|
};
|
||||||
editor.end-of-line-diagnostics = "hint";
|
editor.end-of-line-diagnostics = "hint";
|
||||||
editor.inline-diagnostics.cursor-line = "error";
|
|
||||||
};
|
};
|
||||||
languages = {
|
languages = {
|
||||||
# Rust
|
# Rust
|
||||||
|
@ -35,6 +35,20 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
# Configure default applications
|
||||||
|
xdg.mimeApps = {
|
||||||
|
enable = true;
|
||||||
|
defaultApplications = {
|
||||||
|
"text/html" = "firefox.desktop";
|
||||||
|
"x-scheme-handler/http" = "firefox.desktop";
|
||||||
|
"x-scheme-handler/https" = "firefox.desktop";
|
||||||
|
"x-scheme-handler/about" = "firefox.desktop";
|
||||||
|
"x-scheme-handler/unknown" = "firefox.desktop";
|
||||||
|
"application/pdf" = "firefox.desktop";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
programs.niri.enable = true;
|
programs.niri.enable = true;
|
||||||
programs.niri.package = pkgs.unstable.niri;
|
programs.niri.package = pkgs.unstable.niri;
|
||||||
|
|
||||||
|
@ -35,20 +35,73 @@ in {
|
|||||||
];
|
];
|
||||||
modules-right = [
|
modules-right = [
|
||||||
"tray"
|
"tray"
|
||||||
|
"network"
|
||||||
"pulseaudio"
|
"pulseaudio"
|
||||||
|
"battery"
|
||||||
];
|
];
|
||||||
|
|
||||||
"clock" = {
|
"clock" = {
|
||||||
"format" = "{:%H:%M - %a, %d %b %Y}";
|
"format" = "{:%H:%M - %d}";
|
||||||
};
|
};
|
||||||
|
|
||||||
"tray" = {
|
"tray" = {
|
||||||
"spacing" = 8;
|
"spacing" = 8;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
"battery" = {
|
||||||
|
"bat" = "BAT1";
|
||||||
|
"interval" = 60;
|
||||||
|
"states" = {
|
||||||
|
"warning" = 30;
|
||||||
|
"critical" = 15;
|
||||||
|
};
|
||||||
|
"format" = "{icon} {capacity}%";
|
||||||
|
"format-icons" = [ "" "" "" "" "" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
"pulseaudio" = {
|
||||||
|
"format" = "{icon} {volume}%";
|
||||||
|
"format-bluetooth" = "{volume}% {icon}";
|
||||||
|
"format-muted" = "";
|
||||||
|
"format-icons" = {
|
||||||
|
"headphone" = "";
|
||||||
|
"hands-free" = "";
|
||||||
|
"headset" = "";
|
||||||
|
"phone" = "";
|
||||||
|
"portable" = "";
|
||||||
|
"car" = "";
|
||||||
|
"default" = ["" ""];
|
||||||
|
};
|
||||||
|
"scroll-step" = 1;
|
||||||
|
"on-click" = "pavucontrol";
|
||||||
|
"ignored-sinks" = ["Easy Effects Sink"];
|
||||||
|
};
|
||||||
|
|
||||||
|
"network" = {
|
||||||
|
"interface" = "wlan0";
|
||||||
|
"format" = "{ifname}";
|
||||||
|
"format-wifi" = " {essid}";
|
||||||
|
"format-ethernet" = " {ipaddr}/{cidr}";
|
||||||
|
"format-disconnected" = "";
|
||||||
|
"tooltip-format" = "{ifname} via {gwaddr}";
|
||||||
|
"tooltip-format-wifi" = "{essid} ({signalStrength}%)";
|
||||||
|
"tooltip-format-ethernet" = "{ifname}";
|
||||||
|
"tooltip-format-disconnected" = "Disconnected";
|
||||||
|
"max-length" = 50;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.waybar.style = /* css */''
|
programs.waybar.style = /* css */''
|
||||||
|
#workspaces,#window,#clock,#battery,#tray,#pulseaudio,#network {
|
||||||
|
background-color: @base01;
|
||||||
|
border-radius: 10px;
|
||||||
|
padding: 0px 10px;
|
||||||
|
margin-top: 3px;
|
||||||
|
margin-left: 5px;
|
||||||
|
margin-right: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
#workspaces button {
|
#workspaces button {
|
||||||
padding: 0 5px;
|
padding: 0 5px;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
@ -62,17 +115,13 @@ in {
|
|||||||
}
|
}
|
||||||
|
|
||||||
window#waybar {
|
window#waybar {
|
||||||
background: rgba(0,0,0,0.4);
|
background: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces button.active {
|
#workspaces button.active {
|
||||||
border-bottom: 2px solid @base05;
|
border-bottom: 2px solid @base05;
|
||||||
}
|
}
|
||||||
|
|
||||||
#tray {
|
|
||||||
padding: 0 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#network {
|
#network {
|
||||||
padding: 0 5px;
|
padding: 0 5px;
|
||||||
}
|
}
|
||||||
|
@ -26,7 +26,7 @@ in {
|
|||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
default_session = {
|
default_session = {
|
||||||
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd niri-session";
|
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --remember --cmd niri-session";
|
||||||
user = "greeter";
|
user = "greeter";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user