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