mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 04:09:23 +00:00
Compare commits
4 Commits
309c35c866
...
df13763d42
Author | SHA1 | Date | |
---|---|---|---|
df13763d42 | |||
81727a20ce | |||
aac9e158d1 | |||
b98634d06b |
@ -1,21 +1,20 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
screenrecording() {
|
screenrecording() {
|
||||||
|
notify-send "Screen recording starting..." -t 1000
|
||||||
|
sleep 1
|
||||||
wl-screenrec \
|
wl-screenrec \
|
||||||
-f "$HOME/Videos/screenrecording-$(date +'%Y-%m-%d_%H-%M-%S').mp4" \
|
-f "$HOME/Videos/screenrecording-$(date +'%Y-%m-%d_%H-%M-%S').mp4" \
|
||||||
--ffmpeg-encoder-options="-c:v libx264 -crf 23 -preset medium -movflags +faststart"
|
--ffmpeg-encoder-options="-c:v libx264 -crf 23 -preset medium -movflags +faststart" \
|
||||||
|
"$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
if pgrep -x wl-screenrec >/dev/null; then
|
if pgrep -x wl-screenrec >/dev/null; then
|
||||||
pkill -x wl-screenrec
|
pkill -x wl-screenrec
|
||||||
notify-send "Screen recording saved to ~/Videos" -t 2000
|
notify-send "Screen recording saved to ~/Videos" -t 2000
|
||||||
elif [[ $1 == "output" ]]; then
|
elif [[ "$1" == "output" ]]; then
|
||||||
notify-send "Screen recording starting..." -t 1000
|
|
||||||
sleep 1
|
|
||||||
screenrecording -o ""
|
screenrecording -o ""
|
||||||
else
|
else
|
||||||
region=$(slurp) || exit 1
|
region=$(slurp) || exit 1
|
||||||
notify-send "Screen recording starting..." -t 1000
|
|
||||||
sleep 1
|
|
||||||
screenrecording -g "$region"
|
screenrecording -g "$region"
|
||||||
fi
|
fi
|
||||||
|
@ -12,8 +12,14 @@ if [ -z "$OMARCHY_BARE" ]; then
|
|||||||
yay -S --noconfirm --needed typora ||
|
yay -S --noconfirm --needed typora ||
|
||||||
echo -e "\e[31mFailed to install Typora. Continuing without!\e[0m"
|
echo -e "\e[31mFailed to install Typora. Continuing without!\e[0m"
|
||||||
|
|
||||||
yay -S --noconfirm --needed spotify dropbox-cli 1password-beta 1password-cli ||
|
yay -S --noconfirm --needed dropbox libappindicator-gtk3 python-gpgme nautilus-dropbox ||
|
||||||
echo -e "\e[31mFailed to install Spotify, Dropbox, and/or 1password because of a keyserver problem. Continuing without!\e[0m"
|
echo -e "\e[31mFailed to install Dropbox. Continuing without!\e[0m"
|
||||||
|
|
||||||
|
yay -S --noconfirm --needed spotify ||
|
||||||
|
echo -e "\e[31mFailed to install Spotify (likely because of a keyserver problem). Continuing without!\e[0m"
|
||||||
|
|
||||||
|
yay -S --noconfirm --needed 1password-beta 1password-cli ||
|
||||||
|
echo -e "\e[31mFailed to install 1password (likely because of a keyserver problem). Continuing without!\e[0m"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Copy over Omarchy applications
|
# Copy over Omarchy applications
|
||||||
|
2
migrations/1752981882.sh
Normal file
2
migrations/1752981882.sh
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
echo "Add missing libappindicator-gtk3 for Dropbox icon tray to work right"
|
||||||
|
yay -S --noconfirm --needed libappindicator-gtk3
|
Reference in New Issue
Block a user