mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-12-25 01:53:46 +01:00
randomwallpaper uses scaled mode
This commit is contained in:
parent
0a39aca85a
commit
575252dc67
1 changed files with 2 additions and 2 deletions
|
@ -40,8 +40,8 @@ void update_wallpapers(Display *d) {
|
||||||
if (heads > 0) {
|
if (heads > 0) {
|
||||||
for (int i = 0; i < heads; i++) {
|
for (int i = 0; i < heads; i++) {
|
||||||
// works as long as the user doesn't have over 999 monitors :P
|
// works as long as the user doesn't have over 999 monitors :P
|
||||||
char command[40];
|
char command[42];
|
||||||
sprintf(command, "nitrogen --random --set-zoom --head=%d", i);
|
sprintf(command, "nitrogen --random --set-scaled --head=%d", i);
|
||||||
printf("Setting wallpaper for screen %d with size %dx%d\n", i,
|
printf("Setting wallpaper for screen %d with size %dx%d\n", i,
|
||||||
info[i].width, info[i].height);
|
info[i].width, info[i].height);
|
||||||
system(command);
|
system(command);
|
||||||
|
|
Loading…
Reference in a new issue