mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Compare commits
5 Commits
d89614248b
...
5b534de6a0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5b534de6a0 | ||
|
|
4fe357972e | ||
|
|
7015601d77 | ||
|
|
532f4310d0 | ||
|
|
56b02f62b5 |
@@ -67,4 +67,8 @@ sudo cp "$OMARCHY_PATH/default/systemd/hibernate.conf" /etc/systemd/sleep.conf.d
|
||||
echo "Regenerating initramfs..."
|
||||
sudo limine-mkinitcpio
|
||||
|
||||
echo "Hibernation enabled"
|
||||
echo
|
||||
|
||||
if gum confirm "Reboot to enable hiberation?"; then
|
||||
omarchy-cmd-reboot
|
||||
fi
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
CHROMIUM_THEME=~/.config/omarchy/current/theme/chromium.theme
|
||||
|
||||
if omarchy-cmd-present chromium || omarchy-cmd-present helium-browser || omarchy-cmd-present brave; then
|
||||
if omarchy-cmd-present chromium || omarchy-cmd-present brave; then
|
||||
if [[ -f $CHROMIUM_THEME ]]; then
|
||||
THEME_RGB_COLOR=$(<$CHROMIUM_THEME)
|
||||
THEME_HEX_COLOR=$(printf '#%02x%02x%02x' ${THEME_RGB_COLOR//,/ })
|
||||
@@ -13,14 +13,8 @@ if omarchy-cmd-present chromium || omarchy-cmd-present helium-browser || omarchy
|
||||
fi
|
||||
|
||||
if omarchy-cmd-present chromium; then
|
||||
rm -f /etc/chromium/policies/managed/color.json
|
||||
chromium --no-startup-window --set-theme-color="$THEME_RGB_COLOR" >/dev/null
|
||||
|
||||
if [[ -f ~/.config/omarchy/current/theme/light.mode ]]; then
|
||||
chromium --no-startup-window --set-color-scheme="light" >/dev/null
|
||||
else
|
||||
chromium --no-startup-window --set-color-scheme="dark" >/dev/null
|
||||
fi
|
||||
echo "{\"BrowserThemeColor\": \"$THEME_HEX_COLOR\"}" | tee "/etc/chromium/policies/managed/color.json" >/dev/null
|
||||
chromium --refresh-platform-policy --no-startup-window >/dev/null
|
||||
fi
|
||||
|
||||
if omarchy-cmd-present brave; then
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
if omarchy-cmd-missing supergfxctl; then
|
||||
omarchy-pkg-add supergfxctl
|
||||
sudo systemctl enable supergfxd
|
||||
sudo systemctl start supergfxd
|
||||
|
||||
# Needed to deal with restoring to sleep where going through VFIO first means we don't need to reboot.
|
||||
sudo sed -i "s/\"vfio_enable\": \".*\"/\"vfio_enable\": true/" /etc/supergfxd.conf
|
||||
|
||||
@@ -13,6 +13,7 @@ bluetui
|
||||
bolt
|
||||
brightnessctl
|
||||
btop
|
||||
chromium
|
||||
clang
|
||||
cups
|
||||
cups-browsed
|
||||
@@ -87,7 +88,6 @@ nss-mdns
|
||||
nvim
|
||||
obs-studio
|
||||
obsidian
|
||||
omarchy-chromium
|
||||
omarchy-nvim
|
||||
omarchy-walker
|
||||
opencode
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
echo "Fix microphone gain on Asus ROG laptops with ALC285 Realtek"
|
||||
echo "Fix microphone gain and audio mixing on Asus ROG laptops"
|
||||
|
||||
source "$OMARCHY_PATH/install/config/hardware/fix-asus-rog-mic.sh"
|
||||
source "$OMARCHY_PATH/install/config/hardware/fix-asus-rog-audio-mixer.sh"
|
||||
|
||||
if [[ "$(cat /sys/class/dmi/id/sys_vendor 2>/dev/null)" == "ASUSTeK COMPUTER INC." ]] &&
|
||||
grep -q "ROG" /sys/class/dmi/id/product_family 2>/dev/null; then
|
||||
omarchy-restart-pipewire
|
||||
fi
|
||||
|
||||
5
migrations/1769510847.sh
Normal file
5
migrations/1769510847.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
echo "Switch back to mainline chromium now that it supports full live themeing"
|
||||
|
||||
omarchy-pkg-drop omarchy-chromium
|
||||
omarchy-pkg-add chromium
|
||||
omarchy-theme-set-browser
|
||||
Reference in New Issue
Block a user