2024-09-30 10:39:14 +05:00
|
|
|
#!/bin/bash
|
|
|
|
currentWallpaper=$(hyprctl hyprpaper listactive)
|
|
|
|
currentWallpaper=${currentWallpaper:8}
|
|
|
|
configFile=${currentWallpaper: -5:1}
|
|
|
|
configFile="/home/rafayahmad/.config/hypr/hyprlock/${configFile}.conf"
|
|
|
|
export currentWallpaper
|
2024-10-23 08:40:23 +05:00
|
|
|
echo "$configFile"
|
2024-09-30 10:39:14 +05:00
|
|
|
hyprlock -c "$configFile"
|