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 = { desktop = {
# hyprland.enable = true; hyprland.enable = true;
cosmic.enable = true; # cosmic.enable = true;
}; };
nix = { nix = {

View File

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

View File

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

View File

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