Update .config/matugen/config.toml

Update .config/sway/config
Update .config/sway/scripts/wallpaper_rotate.py
Update .config/waybar/modules.jsonc
This commit is contained in:
Yarne Coppens 2026-02-12 13:00:57 +01:00
parent d1ea31ce30
commit 0e2d89e836
4 changed files with 11 additions and 9 deletions

View file

@ -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'

View file

@ -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/*

View file

@ -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}'

View file

@ -42,7 +42,7 @@
"markup": "pango"
},
"disk": {
"interval": 30,
"interval": 10,
"format": "{percentage_used:3d}% 󰋊",
"unit": "GB"
},