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

@ -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;