Compare commits

...

6 Commits

Author SHA1 Message Date
David Heinemeier Hansson
2453ca6ea4 Revert "fix(aur): add -a flag to yay command to assume AUR packages (#4581)"
This reverts commit b3dd14a038.
2026-02-17 11:55:18 +01:00
Andrej Benz
b3dd14a038 fix(aur): add -a flag to yay command to assume AUR packages (#4581) 2026-02-17 11:53:39 +01:00
Stefan Gründel
7dc638358b disable opencode auto-update feature as we rely on pacman (#4582)
* disable opencode auto-update feature as we rely on pacman

* Refreshing already produces a .bak, so that's enough

---------

Co-authored-by: David Heinemeier Hansson <david@hey.com>
2026-02-17 11:42:54 +01:00
David Heinemeier Hansson
3e07255fbc Better split 2026-02-17 11:26:41 +01:00
David Heinemeier Hansson
02fd1961b9 Interactive drive picker if a drive is not selected
Co-authored-by: @Mrid22
Closes #4596
2026-02-17 11:25:09 +01:00
Shreyansh Malviya
40bff09c84 Remove Wayland color manager disabling flag from Chromium configs (#4610) (#4615)
Signed-off-by: Shreyansh Malviya <shreyanshmalviya0012@gmail.com>
2026-02-17 10:51:24 +01:00
6 changed files with 46 additions and 14 deletions

View File

@@ -2,5 +2,3 @@
--ozone-platform-hint=wayland --ozone-platform-hint=wayland
--enable-features=TouchpadOverscrollHistoryNavigation --enable-features=TouchpadOverscrollHistoryNavigation
--load-extension=~/.local/share/omarchy/default/chromium/extensions/copy-url --load-extension=~/.local/share/omarchy/default/chromium/extensions/copy-url
# Chromium crash workaround for Wayland color management on Hyprland - see https://github.com/hyprwm/Hyprland/issues/11957
--disable-features=WaylandWpColorManagerV1

View File

@@ -2,5 +2,3 @@
--ozone-platform-hint=wayland --ozone-platform-hint=wayland
--enable-features=TouchpadOverscrollHistoryNavigation --enable-features=TouchpadOverscrollHistoryNavigation
--load-extension=~/.local/share/omarchy/default/chromium/extensions/copy-url --load-extension=~/.local/share/omarchy/default/chromium/extensions/copy-url
# Chromium crash workaround for Wayland color management on Hyprland - see https://github.com/hyprwm/Hyprland/issues/11957
--disable-features=WaylandWpColorManagerV1

View File

@@ -1,4 +1,5 @@
{ {
"$schema": "https://opencode.ai/config.json", "$schema": "https://opencode.ai/config.json",
"theme": "system" "theme": "system",
"autoupdate": false
} }

View File

@@ -4,15 +4,33 @@ alias decompress="tar -xzf"
# Write iso file to sd card # Write iso file to sd card
iso2sd() { iso2sd() {
if [ $# -ne 2 ]; then if [[ $# -lt 1 ]]; then
echo "Usage: iso2sd <input_file> <output_device>" echo "Usage: iso2sd <input_file> [output_device]"
echo "Example: iso2sd ~/Downloads/ubuntu-25.04-desktop-amd64.iso /dev/sda" echo "Example: iso2sd ~/Downloads/ubuntu-25.04-desktop-amd64.iso /dev/sda"
echo -e "\nAvailable SD cards:" return 1
lsblk -d -o NAME | grep -E '^sd[a-z]' | awk '{print "/dev/"$1}'
else
sudo dd bs=4M status=progress oflag=sync if="$1" of="$2"
sudo eject $2
fi fi
local iso="$1"
local drive="$2"
if [[ -z $drive ]]; then
local available_sds=$(lsblk -dpno NAME | grep -E '/dev/sd')
if [[ -z $available_sds ]]; then
echo "No SD drives found and no drive specified"
return 1
fi
drive=$(omarchy-drive-select "$available_sds")
if [[ -z $drive ]]; then
echo "No drive selected"
return 1
fi
fi
sudo dd bs=4M status=progress oflag=sync if="$iso" of="$drive"
sudo eject "$drive"
} }
# Format an entire drive for a single partition using exFAT # Format an entire drive for a single partition using exFAT
@@ -118,8 +136,8 @@ tml() {
# Get current pane ID (will become editor pane after splits) # Get current pane ID (will become editor pane after splits)
editor_pane=$(tmux display-message -p '#{pane_id}') editor_pane=$(tmux display-message -p '#{pane_id}')
# Split window vertically - top 90%, bottom 10% # Split window vertically - top 85%, bottom 15%
tmux split-window -v -p 10 -c "$current_dir" tmux split-window -v -p 15 -c "$current_dir"
# Go back to top pane (editor_pane) and split it horizontally # Go back to top pane (editor_pane) and split it horizontally
tmux select-pane -t "$editor_pane" tmux select-pane -t "$editor_pane"

3
migrations/1769616857.sh Normal file
View File

@@ -0,0 +1,3 @@
echo "Turn off opencode's own auto-update feature (we rely on pacman)"
omarchy-refresh-config opencode/opencode.json

14
migrations/1771188969.sh Normal file
View File

@@ -0,0 +1,14 @@
echo "Remove temporary Wayland color manager disabling flag from existing Chromium configs"
# This reverts the workaround originally added by migration 1760401344.sh
# Remove flag and comment from chromium-flags.conf only if found
if [[ -f ~/.config/chromium-flags.conf ]]; then
sed -i '/--disable-features=WaylandWpColorManagerV1/d' ~/.config/chromium-flags.conf
sed -i '/# Chromium crash workaround for Wayland color management on Hyprland/d' ~/.config/chromium-flags.conf
fi
# Remove flag and comment from brave-flags.conf only if found
if [[ -f ~/.config/brave-flags.conf ]]; then
sed -i '/--disable-features=WaylandWpColorManagerV1/d' ~/.config/brave-flags.conf
sed -i '/# Chromium crash workaround for Wayland color management on Hyprland/d' ~/.config/brave-flags.conf
fi