3 things for running in sway. For i3, change?

This commit is contained in:
Sir 2nd Stage Boss Garbagetruck 2021-01-31 03:00:29 +02:00
parent 5dedfd1262
commit 041afcbee3
3 changed files with 17 additions and 0 deletions

6
bemenu-run-mine Executable file
View file

@ -0,0 +1,6 @@
#!/bin/sh
BEMENU_BACKEND=wayland bemenu-run \
-m -1 \
--fn 'Berkelium 64 16' \
$@

6
mybemenu Executable file
View file

@ -0,0 +1,6 @@
#!/bin/sh
FONT=$(for i in 'Giana' 'Athene' 'Torrance' 'Fairfax HD' 'Pet Me 128 2Y' 'Curtain Call,Curtain Call';
do echo $i; done | sort --sort=random | head -1 )
bemenu -i -p Menu -P '->' -l 8 -m -1 --fn "${FONT} 16" $@

5
randswaybg.sh Executable file
View file

@ -0,0 +1,5 @@
#!/bin/sh
for DISPLAY in $(swaymsg -t get_outputs -r | grep name | cut -d \" -f 4); do
PIC=$(find ~/pix | shuf | head -n 1)
swaybg --output "${DISPLAY}" -i "${PIC}" -m fill &
done