Compare commits
No commits in common. "e9c46dabe8fb34e7583c0a82da358572114ffe5d" and "9f2e1afc34144118f84193528baadb3dd84b6731" have entirely different histories.
e9c46dabe8
...
9f2e1afc34
|
@ -90,7 +90,7 @@ in
|
||||||
fzf
|
fzf
|
||||||
ncmpcpp
|
ncmpcpp
|
||||||
acpi
|
acpi
|
||||||
unstable.joplin-desktop
|
joplin-desktop # gui
|
||||||
|
|
||||||
unstable.prusa-slicer
|
unstable.prusa-slicer
|
||||||
htop
|
htop
|
||||||
|
|
|
@ -5,9 +5,11 @@ in
|
||||||
{
|
{
|
||||||
wayland.windowManager.sway = {
|
wayland.windowManager.sway = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = pkgs.swayfx;
|
||||||
wrapperFeatures.gtk = true;
|
wrapperFeatures.gtk = true;
|
||||||
|
|
||||||
# Sway can't find wallpaper.jpg and failes to build
|
# 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
|
# https://discourse.nixos.org/t/sway-fails-with-cannot-create-gles2-renderer-after-update/45703/2
|
||||||
checkConfig = false;
|
checkConfig = false;
|
||||||
|
|
||||||
|
@ -40,12 +42,12 @@ in
|
||||||
} // lib.optionalAttrs (nixosConfig.networking.hostName == "smithers") {
|
} // lib.optionalAttrs (nixosConfig.networking.hostName == "smithers") {
|
||||||
"eDP-1" = {
|
"eDP-1" = {
|
||||||
mode = "2256x1504";
|
mode = "2256x1504";
|
||||||
scale = "1.2";
|
scale = "1.3";
|
||||||
position = "0,0";
|
position = "0,0";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
gaps = { inner = 5; };
|
gaps = { inner = 10; };
|
||||||
window.border = 2;
|
window.border = 2;
|
||||||
window.hideEdgeBorders = "smart";
|
window.hideEdgeBorders = "smart";
|
||||||
workspaceAutoBackAndForth = true;
|
workspaceAutoBackAndForth = true;
|
||||||
|
@ -96,8 +98,8 @@ in
|
||||||
{
|
{
|
||||||
command = ''${pkgs.swayidle}/bin/swayidle -w \
|
command = ''${pkgs.swayidle}/bin/swayidle -w \
|
||||||
timeout 600 "${lockCmd}" \
|
timeout 600 "${lockCmd}" \
|
||||||
timeout 900 "${pkgs.sway}/bin/swaymsg output * dpms off" \
|
timeout 900 "${pkgs.swayfx}/bin/swaymsg output * dpms off" \
|
||||||
resume "${pkgs.sway}/bin/swaymsg output * dpms on" \
|
resume "${pkgs.swayfx}/bin/swaymsg output * dpms on" \
|
||||||
before-sleep "${lockCmd}"'';
|
before-sleep "${lockCmd}"'';
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
@ -189,6 +191,13 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
extraConfig = ''
|
||||||
|
blur enable
|
||||||
|
blur_radius 10
|
||||||
|
|
||||||
|
default_dim_inactive 0.2
|
||||||
|
corner_radius 15
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -66,7 +66,6 @@
|
||||||
}
|
}
|
||||||
.modules-center {
|
.modules-center {
|
||||||
padding: 3px;
|
padding: 3px;
|
||||||
padding-right: 10px;
|
|
||||||
background-color: @dark;
|
background-color: @dark;
|
||||||
margin: 0 0 5px 0;
|
margin: 0 0 5px 0;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
|
@ -88,7 +87,6 @@
|
||||||
#pulseaudio,
|
#pulseaudio,
|
||||||
#temperature,
|
#temperature,
|
||||||
#tray,
|
#tray,
|
||||||
#idle_inhibitor,
|
|
||||||
#disk {
|
#disk {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
color: @light;
|
color: @light;
|
||||||
|
|
Loading…
Reference in a new issue