mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Compare commits
10 Commits
nvim-auto-
...
revert-185
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
796ef67ede | ||
|
|
076da663f5 | ||
|
|
b92ebff29b | ||
|
|
8e5b59995a | ||
|
|
d4b0ba5d94 | ||
|
|
4d9f932e6c | ||
|
|
38d536ba9d | ||
|
|
2df8c5f7e0 | ||
|
|
441ee10d70 | ||
|
|
45465d3e7c |
@@ -15,7 +15,7 @@ SCOPE="$1"
|
|||||||
AUDIO=$([[ $2 == "audio" ]] && echo "--audio")
|
AUDIO=$([[ $2 == "audio" ]] && echo "--audio")
|
||||||
|
|
||||||
start_screenrecording() {
|
start_screenrecording() {
|
||||||
filename="$OUTPUT_DIR/screenrecording-$(date +'%Y-%m-%d_%H-%M-%S').mp4"
|
local filename="$OUTPUT_DIR/screenrecording-$(date +'%Y-%m-%d_%H-%M-%S').mp4"
|
||||||
|
|
||||||
if lspci | grep -qi 'nvidia'; then
|
if lspci | grep -qi 'nvidia'; then
|
||||||
wf-recorder $AUDIO -f "$filename" -c libx264 -p crf=23 -p preset=medium -p movflags=+faststart "$@" &
|
wf-recorder $AUDIO -f "$filename" -c libx264 -p crf=23 -p preset=medium -p movflags=+faststart "$@" &
|
||||||
@@ -47,7 +47,8 @@ screenrecording_active() {
|
|||||||
if screenrecording_active; then
|
if screenrecording_active; then
|
||||||
stop_screenrecording
|
stop_screenrecording
|
||||||
elif [[ "$SCOPE" == "output" ]]; then
|
elif [[ "$SCOPE" == "output" ]]; then
|
||||||
start_screenrecording
|
output=$(slurp -o) || exit 1
|
||||||
|
start_screenrecording -g "$output"
|
||||||
else
|
else
|
||||||
region=$(slurp) || exit 1
|
region=$(slurp) || exit 1
|
||||||
start_screenrecording -g "$region"
|
start_screenrecording -g "$region"
|
||||||
|
|||||||
@@ -47,6 +47,7 @@ install_node() {
|
|||||||
case "$1" in
|
case "$1" in
|
||||||
ruby)
|
ruby)
|
||||||
echo -e "Installing Ruby on Rails...\n"
|
echo -e "Installing Ruby on Rails...\n"
|
||||||
|
omarchy-pkg-add libyaml
|
||||||
mise use --global ruby@latest
|
mise use --global ruby@latest
|
||||||
mise settings add idiomatic_version_file_enable_tools ruby
|
mise settings add idiomatic_version_file_enable_tools ruby
|
||||||
mise x ruby -- gem install rails --no-document
|
mise x ruby -- gem install rails --no-document
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ cat >"$DESKTOP_FILE" <<EOF
|
|||||||
Version=1.0
|
Version=1.0
|
||||||
Name=$APP_NAME
|
Name=$APP_NAME
|
||||||
Comment=$APP_NAME
|
Comment=$APP_NAME
|
||||||
Exec=$TERMINAL --class $APP_CLASS -e $APP_EXEC
|
Exec=\$TERMINAL --class=$APP_CLASS -e $APP_EXEC
|
||||||
Terminal=false
|
Terminal=false
|
||||||
Type=Application
|
Type=Application
|
||||||
Icon=$ICON_PATH
|
Icon=$ICON_PATH
|
||||||
|
|||||||
17
migrations/1758436991.sh
Normal file
17
migrations/1758436991.sh
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
echo "Fix Disk Usage and Docker TUIs"
|
||||||
|
|
||||||
|
APP_DIR="$HOME/.local/share/applications"
|
||||||
|
ICON_DIR="$APP_DIR/icons"
|
||||||
|
|
||||||
|
# Don't use omarchy-tui-remove to preserve icons
|
||||||
|
|
||||||
|
if [[ -f "$APP_DIR/Docker.desktop" ]]; then
|
||||||
|
rm "$APP_DIR/Docker.desktop"
|
||||||
|
omarchy-tui-install "Docker" "lazydocker" tile "$ICON_DIR/Docker.png"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -f "$APP_DIR/Disk Usage.desktop" ]]; then
|
||||||
|
rm "$APP_DIR/Disk Usage.desktop"
|
||||||
|
omarchy-tui-install "Disk Usage" "bash -c 'dust -r; read -n 1 -s'" float "$ICON_DIR/Disk Usage.png"
|
||||||
|
fi
|
||||||
|
|
||||||
Reference in New Issue
Block a user