mirror of
https://github.com/adrlau/nix-dotfiles.git
synced 2026-07-20 13:00:28 +02:00
sway updates
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
home.packages = with pkgs; [
|
||||
nerdfonts
|
||||
noto-fonts
|
||||
noto-fonts-cjk
|
||||
noto-fonts-cjk-sans
|
||||
noto-fonts-emoji
|
||||
liberation_ttf
|
||||
fira-code
|
||||
|
||||
+14
-2
@@ -86,7 +86,7 @@ in
|
||||
#fonts
|
||||
nerdfonts
|
||||
noto-fonts
|
||||
noto-fonts-cjk
|
||||
noto-fonts-cjk-sans
|
||||
noto-fonts-emoji
|
||||
liberation_ttf
|
||||
fira-code
|
||||
@@ -156,7 +156,19 @@ in {
|
||||
|
||||
#wallpaper
|
||||
{command = "swww-daemon";}
|
||||
{command = "while true; do for wallpaper in $WALLPAPER_DIR/*; do swww img $wallpaper; sleep 15; done; done;";}
|
||||
{command = ''sleep 3 \
|
||||
wallpapers=("/home/gunalx/Pictures/wallpapers"/*.{jpg,jpeg,png,gif}) \
|
||||
transitions=(fade left right top bottom wipe wave grow center outer) \
|
||||
i=0 \
|
||||
while true; do \
|
||||
img="''${wallpapers[i % ''${#wallpapers[@]}]}" \
|
||||
trans="''${transitions[i % ''${#transitions[@]}]}" \
|
||||
swww img "$img" --transition-type "$trans" --transition-fps 60 --transition-duration 3 \
|
||||
((i++)) \
|
||||
sleep 15m \
|
||||
done
|
||||
'';}
|
||||
#{command = "while true; do for wallpaper in $WALLPAPER_DIR/*; do swww img $wallpaper; sleep 15; done; done;";}
|
||||
|
||||
#idlelock
|
||||
{command = ''swayidle \
|
||||
|
||||
+29
-22
@@ -3,33 +3,40 @@ let
|
||||
palette = config.colorScheme.palette;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
];
|
||||
|
||||
programs.swaylock = {
|
||||
enable = true;
|
||||
package = pkgs.swaylock-effects;
|
||||
settings = {
|
||||
color = palette.base00;
|
||||
screenshots = true;
|
||||
grace = 15;
|
||||
clock = true;
|
||||
submit-on-touch = true;
|
||||
indicator-idle-visible = true;
|
||||
indicator-radius = 100;
|
||||
indicator-thickness = 7;
|
||||
ring-color = palette.base05;
|
||||
key-hl-color = palette.base03;
|
||||
tect-color = palette.base00;
|
||||
line-colot = palette.base00;
|
||||
innside-color = palette.base04;
|
||||
seperator-color = palette.base00;
|
||||
fade-in = 0.1;
|
||||
effect-scale = 0.6;
|
||||
effect-blur = "7x3";
|
||||
# screen & indicator
|
||||
color = palette.base00; # --color
|
||||
screenshots = true; # --screenshots
|
||||
fade-in = 0.1; # --fade-in
|
||||
scaling = "fill"; # e.g. --scaling=fill
|
||||
|
||||
# authentication grace
|
||||
grace = 15; # --grace
|
||||
submit-on-touch = true; # --submit-on-touch
|
||||
|
||||
# clock
|
||||
clock = true; # --clock
|
||||
|
||||
# indicator visuals
|
||||
indicator-idle-visible = true; # --indicator-idle-visible
|
||||
indicator-radius = 100; # --indicator-radius
|
||||
indicator-thickness = 7; # --indicator-thickness
|
||||
|
||||
# indicator colors
|
||||
ring-color = palette.base05; # --ring-color
|
||||
key-hl-color = palette.base03; # --key-hl-color
|
||||
text-color = palette.base00; # --text-color
|
||||
inside-color = palette.base04; # --inside-color
|
||||
line-color = palette.base00; # --line-color
|
||||
separator-color = palette.base00; # --separator-color
|
||||
|
||||
# effects
|
||||
effect-scale = 0.6; # --effect-scale
|
||||
effect-blur = "7x3"; # --effect-blur
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
home.packages = with pkgs; [
|
||||
nerdfonts
|
||||
noto-fonts
|
||||
noto-fonts-cjk
|
||||
noto-fonts-cjk-sans
|
||||
noto-fonts-emoji
|
||||
liberation_ttf
|
||||
fira-code
|
||||
|
||||
Reference in New Issue
Block a user