blob: de8e84d5224a42f9abbdd63cd4fa41c97b42324e (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#!/bin/bash
start-picom() {
if pgrep -x "picom" >/dev/null; then
echo "picom is already running"
else
picom
fi
}
set-wallpaper() {
if [ $HOSTNAME == zeus ]; then
xwallpaper --focus ~/wallpapers/library-fantasy-tree.jpg --screen 0
else
feh --bg-scale ~/wallpapers/library-fantasy-tree.jpg
fi
}
get-started() {
(
start-picom &
set-wallpaper &
## set keyboard
setxkbmap us -option ctrl:swapcaps &
)
}
get-started
|