Compare commits
4 commits
9f2e1afc34
...
e9c46dabe8
Author | SHA1 | Date | |
---|---|---|---|
e9c46dabe8 | |||
52a39d40a2 | |||
2006a13331 | |||
d0006081fd |
|
@ -90,7 +90,7 @@ in
|
||||||
fzf
|
fzf
|
||||||
ncmpcpp
|
ncmpcpp
|
||||||
acpi
|
acpi
|
||||||
joplin-desktop # gui
|
unstable.joplin-desktop
|
||||||
|
|
||||||
unstable.prusa-slicer
|
unstable.prusa-slicer
|
||||||
htop
|
htop
|
||||||
|
|
|
@ -5,11 +5,9 @@ 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;
|
||||||
|
|
||||||
|
@ -42,12 +40,12 @@ in
|
||||||
} // lib.optionalAttrs (nixosConfig.networking.hostName == "smithers") {
|
} // lib.optionalAttrs (nixosConfig.networking.hostName == "smithers") {
|
||||||
"eDP-1" = {
|
"eDP-1" = {
|
||||||
mode = "2256x1504";
|
mode = "2256x1504";
|
||||||
scale = "1.3";
|
scale = "1.2";
|
||||||
position = "0,0";
|
position = "0,0";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
gaps = { inner = 10; };
|
gaps = { inner = 5; };
|
||||||
window.border = 2;
|
window.border = 2;
|
||||||
window.hideEdgeBorders = "smart";
|
window.hideEdgeBorders = "smart";
|
||||||
workspaceAutoBackAndForth = true;
|
workspaceAutoBackAndForth = true;
|
||||||
|
@ -98,8 +96,8 @@ in
|
||||||
{
|
{
|
||||||
command = ''${pkgs.swayidle}/bin/swayidle -w \
|
command = ''${pkgs.swayidle}/bin/swayidle -w \
|
||||||
timeout 600 "${lockCmd}" \
|
timeout 600 "${lockCmd}" \
|
||||||
timeout 900 "${pkgs.swayfx}/bin/swaymsg output * dpms off" \
|
timeout 900 "${pkgs.sway}/bin/swaymsg output * dpms off" \
|
||||||
resume "${pkgs.swayfx}/bin/swaymsg output * dpms on" \
|
resume "${pkgs.sway}/bin/swaymsg output * dpms on" \
|
||||||
before-sleep "${lockCmd}"'';
|
before-sleep "${lockCmd}"'';
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
@ -191,13 +189,6 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
extraConfig = ''
|
|
||||||
blur enable
|
|
||||||
blur_radius 10
|
|
||||||
|
|
||||||
default_dim_inactive 0.2
|
|
||||||
corner_radius 15
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -66,6 +66,7 @@
|
||||||
}
|
}
|
||||||
.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;
|
||||||
|
@ -87,6 +88,7 @@
|
||||||
#pulseaudio,
|
#pulseaudio,
|
||||||
#temperature,
|
#temperature,
|
||||||
#tray,
|
#tray,
|
||||||
|
#idle_inhibitor,
|
||||||
#disk {
|
#disk {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
color: @light;
|
color: @light;
|
||||||
|
|
Loading…
Reference in a new issue