Compare commits

..

No commits in common. "e9c46dabe8fb34e7583c0a82da358572114ffe5d" and "9f2e1afc34144118f84193528baadb3dd84b6731" have entirely different histories.

3 changed files with 14 additions and 7 deletions

View file

@ -90,7 +90,7 @@ in
fzf
ncmpcpp
acpi
unstable.joplin-desktop
joplin-desktop # gui
unstable.prusa-slicer
htop

View file

@ -5,9 +5,11 @@ in
{
wayland.windowManager.sway = {
enable = true;
package = pkgs.swayfx;
wrapperFeatures.gtk = true;
# Sway can't find wallpaper.jpg and failes to build
# swayfx also has some problems:
# https://discourse.nixos.org/t/sway-fails-with-cannot-create-gles2-renderer-after-update/45703/2
checkConfig = false;
@ -40,12 +42,12 @@ in
} // lib.optionalAttrs (nixosConfig.networking.hostName == "smithers") {
"eDP-1" = {
mode = "2256x1504";
scale = "1.2";
scale = "1.3";
position = "0,0";
};
};
gaps = { inner = 5; };
gaps = { inner = 10; };
window.border = 2;
window.hideEdgeBorders = "smart";
workspaceAutoBackAndForth = true;
@ -96,8 +98,8 @@ in
{
command = ''${pkgs.swayidle}/bin/swayidle -w \
timeout 600 "${lockCmd}" \
timeout 900 "${pkgs.sway}/bin/swaymsg output * dpms off" \
resume "${pkgs.sway}/bin/swaymsg output * dpms on" \
timeout 900 "${pkgs.swayfx}/bin/swaymsg output * dpms off" \
resume "${pkgs.swayfx}/bin/swaymsg output * dpms on" \
before-sleep "${lockCmd}"'';
}
];
@ -189,6 +191,13 @@ in
};
};
extraConfig = ''
blur enable
blur_radius 10
default_dim_inactive 0.2
corner_radius 15
'';
};
}

View file

@ -66,7 +66,6 @@
}
.modules-center {
padding: 3px;
padding-right: 10px;
background-color: @dark;
margin: 0 0 5px 0;
border-radius: 10px;
@ -88,7 +87,6 @@
#pulseaudio,
#temperature,
#tray,
#idle_inhibitor,
#disk {
background: transparent;
color: @light;