batch update

This commit is contained in:
2024-08-01 16:45:19 +02:00
parent ff79c4e21f
commit 28c0c0198f
9 changed files with 91 additions and 79 deletions

View File

@ -9,7 +9,11 @@ globalThis.cyclicLoop= function*(items){
}
Reflect.defineProperty($, "clipboard", {
get(){ return s.$().run`xclip -o -selection clipboard`; }
get(){
if($.env.XDG_SESSION_TYPE === "x11")
return s.$().run`xclip -o -selection clipboard`;
return s.$().run`wl-paste`;
}
})
// /** Custom uncaughtException function */