diff --git a/private_dot_config/matugen/config.toml b/private_dot_config/matugen/config.toml index 0dfead2..41593f8 100644 --- a/private_dot_config/matugen/config.toml +++ b/private_dot_config/matugen/config.toml @@ -2,8 +2,8 @@ [config.wallpaper] set = true -command = "swaybg" -arguments = ["-m", "fill", "-i"] +command = "awww" +arguments = ["img", "--transition-type", "wipe", "--transition-fps", "144"] [templates.waybar] input_path = 'templates/waybar.css' diff --git a/private_dot_config/sway/config b/private_dot_config/sway/config index 5bc39ad..baa4c69 100644 --- a/private_dot_config/sway/config +++ b/private_dot_config/sway/config @@ -22,6 +22,8 @@ set $windowsearch rofi -show window set $wallpaper ~/Pictures/Wallpapers/door.jpg +exec awww-daemon + input * xkb_numlock enabled default_border pixel @@ -43,7 +45,8 @@ bindsym XF86AudioPrev exec playerctl previous # Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/) #output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill #output * bg $wallpaper fill -exec matugen image ~/Pictures/Wallpapers/door.jpg --mode dark +#exec matugen image ~/Pictures/Wallpapers/door.jpg --mode dark +output * color_profile icc /home/yarne/lg_icc.icm # @@ -52,7 +55,9 @@ exec matugen image ~/Pictures/Wallpapers/door.jpg --mode dark # output HDMI-A-1 resolution 1920x1080 position 1920,0 # # You can get the names of your outputs by running: swaymsg -t get_outputs - +exec python3 ~/.config/sway/scripts/wallpaper_rotate.py +output DP-2 resolution 2560x1440 position 2560,0 +output DP-3 resolution 2560x1440 position 0,0 ### Idle configuration # @@ -266,12 +271,9 @@ bar { #} } -#exec python3 ~/.config/sway/scripts/wallpaper_rotate.py exec mako exec steam exec ticktick exec vesktop -m -exec firefox -exec feishin include /etc/sway/config.d/* diff --git a/private_dot_config/sway/scripts/wallpaper_rotate.py b/private_dot_config/sway/scripts/wallpaper_rotate.py index 250e81b..0dc0f42 100644 --- a/private_dot_config/sway/scripts/wallpaper_rotate.py +++ b/private_dot_config/sway/scripts/wallpaper_rotate.py @@ -9,7 +9,7 @@ unused_wallpapers = os.listdir(wallpaper_location) used_wallpapers = [] while True: - random_wallpaper_index = random.randint(0,len(unused_wallpapers)) + random_wallpaper_index = random.randint(0,len(unused_wallpapers) - 1) random_wallpaper = unused_wallpapers.pop(random_wallpaper_index) used_wallpapers.append(random_wallpaper) random_wallpaper_location = f'{wallpaper_location}/{random_wallpaper}' diff --git a/private_dot_config/waybar/modules.jsonc b/private_dot_config/waybar/modules.jsonc index 8beb953..c96e4d5 100644 --- a/private_dot_config/waybar/modules.jsonc +++ b/private_dot_config/waybar/modules.jsonc @@ -42,7 +42,7 @@ "markup": "pango" }, "disk": { - "interval": 30, + "interval": 10, "format": "{percentage_used:3d}% 󰋊", "unit": "GB" },