kjaflkjsjlkf laptop almost dead

This commit is contained in:
Schrottkatze 2026-01-26 00:43:24 +01:00
commit 31eb5f813f
No known key found for this signature in database
4 changed files with 21 additions and 19 deletions

View file

@ -2,6 +2,10 @@
# else it will be ugly
{ pkgs, lib, ... }:
{
home.packages = with pkgs; [
zenity
xwayland-satellite
];
home.file."config" =
let
kdlfiles =
@ -10,23 +14,9 @@
|> lib.mapAttrsToList (filename: _value: "include \"${./kdl}/${filename}\"");
startups =
[
[
"eww"
"open-many"
"topBar"
"bottomBar"
]
[
"${pkgs.swaybg}/bin/swaybg"
"-i"
"${./wallpaper.jpg}"
"-m"
"fill"
]
[
"touch"
".config/niri/live.kdl"
]
[ "eww" "open-many" "topBar" "bottomBar" ]
[ "${pkgs.swaybg}/bin/swaybg" "-i" "${./wallpaper.jpg}" "-m" "fill" ]
[ "touch" ".config/niri/live.kdl" ]
]
|> map (map (word: "\"${word}\""))
|> map (lib.concatStringsSep " ")

View file

@ -23,10 +23,20 @@ window-rule {
}
window-rule {
match app-id="vesktop" is-floating=true title="vesktop"
geometry-corner-radius 5
match app-id="chromium-browser"
geometry-corner-radius 6 6 1 1
}
window-rule {
match app-id="vesktop" is-floating=true
geometry-corner-radius 6
}
environment {
ELECTRON_OZONE_PLATFORM_HINT "auto"
}
window-rule {
match app-id="zenity"
geometry-corner-radius 16
}

View file

@ -5,6 +5,7 @@
{
programs.btop = {
enable = true;
package = pkgs.btop-rocm;
settings = {
shown_boxes = "cpu mem net proc gpu0";
color_theme = "gruvbox_dark";