some laptop tweaks

This commit is contained in:
2025-03-07 18:02:53 +02:00
parent 78acefc0fb
commit fb7a0b7483
4 changed files with 21 additions and 36 deletions

View File

@ -18,8 +18,8 @@
];
desktop = {
# hyprland.enable = true;
cosmic.enable = true;
hyprland.enable = true;
# cosmic.enable = true;
};
nix = {

View File

@ -12,17 +12,17 @@
];
stylix = {
enable = true;
base16Scheme = "${pkgs.base16-schemes}/share/themes/tomorrow-night.yaml";
polarity = "dark";
base16Scheme = "${pkgs.base16-schemes}/share/themes/tomorrow.yaml";
polarity = "light";
cursor = {
package = pkgs.google-cursor;
name = "GoogleDot-Blue";
package = pkgs.bibata-cursors;
name = "Bibata-Modern-Ice";
size = 24;
};
image = builtins.fetchurl {
url = "https://w.wallhaven.cc/full/9m/wallhaven-9mwzwk.jpg";
name = "wallhaven-9mwzwk";
sha256 = "0pj2k30mfhqr02dzdj40z62awmy58s5gg5mm4xzxiialclbd5n8d";
url = "https://w.wallhaven.cc/full/d6/wallhaven-d6163o.jpg";
name = "wallhaven-d6163o";
sha256 = "c6d298be1520546c0440d64d1073e33a356043e2481a8a67e940d5262c0c2e28";
};
opacity.terminal = 0.9;
fonts = {

View File

@ -6,7 +6,7 @@
./programs.nix
./flatpak.nix
];
# desktop.hyprland.enable = true;
desktop.hyprland.enable = true;
home = {
stateVersion = "25.05";
sessionPath = [

View File

@ -384,7 +384,7 @@ in {
"$mod ALT, mouse:272, resizewindow"
];
gestures = {
workspace_swipe = false;
workspace_swipe = true;
workspace_swipe_fingers = 3;
workspace_swipe_distance = 300;
};
@ -540,7 +540,7 @@ in {
bar-0 = {
layer = "top";
position = "bottom";
height = 40;
height = 32;
spacing = 4;
margin-left = 11;
margin-right = 11;
@ -561,6 +561,7 @@ in {
"custom/separator"
"tray"
"privacy"
"power-profiles-daemon"
"idle_inhibitor"
"custom/notification"
"custom/separator"
@ -602,23 +603,12 @@ in {
};
"group/laptop" = {
orientation = "inherit";
drawer = {
transition-duration = 500;
children-class = "laptop";
transition-left-to-right = false;
};
modules = [
"battery"
"power-profiles-daemon"
# "custom/separator"
# "custom/kbd-backlight"
"custom/separator"
"backlight"
"custom/separator"
];
};
"backlight" = {
# device = "intel_backlight";
format = "{percent}% {icon}";
format-icons = ["" ""];
};
@ -791,18 +781,10 @@ in {
#clock,
#battery,
#cpu,
#memory,
#disk,
#temperature,
#backlight,
#custom-backlight,
#custom-kbd-backlight,
#workspaces,
#network,
#pulseaudio,
#wireplumber,
#custom-media,
#laptop,
#tray,
#mode,
@ -837,6 +819,9 @@ in {
padding-right: 0.1em;
} */
#battery,
#backlight,
#wireplumber,
#custom-separator {
padding: 0 0.3em;
}
@ -936,16 +921,16 @@ in {
drun-launch = true;
anchor = "bottom";
width = "50%";
height = 38;
height = 30;
padding-right = 6;
padding-left = 6;
padding-bottom = 2;
padding-top = 2;
padding-bottom = 0;
padding-top = 0;
margin-bottom = 2;
border-width = 0;
corner-radius = 16;
corner-radius = 12;
outline-width = 0;
min-input-width = 192;
min-input-width = 128;
result-spacing = 12;
require-match = false;
horizontal = true;