mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Compare commits
6 Commits
restart-wa
...
2087d96ad8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2087d96ad8 | ||
|
|
b638cbc57a | ||
|
|
636a7cefda | ||
|
|
f7e22fcfd8 | ||
|
|
b0e8a4dcea | ||
|
|
f57234b991 |
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Launch the Walker application launcher while ensuring that it's data provider (called elephant) is runnig first.
|
# Launch the Walker application launcher while ensuring that it's data provider (called elephant) is running first.
|
||||||
|
|
||||||
# Ensure elephant is running before launching walker
|
# Ensure elephant is running before launching walker
|
||||||
if ! pgrep -x elephant > /dev/null; then
|
if ! pgrep -x elephant > /dev/null; then
|
||||||
|
|||||||
@@ -5,17 +5,9 @@
|
|||||||
# Ensure walker is set to autostart
|
# Ensure walker is set to autostart
|
||||||
mkdir -p ~/.config/autostart/
|
mkdir -p ~/.config/autostart/
|
||||||
cp $OMARCHY_PATH/default/walker/walker.desktop ~/.config/autostart/
|
cp $OMARCHY_PATH/default/walker/walker.desktop ~/.config/autostart/
|
||||||
|
|
||||||
# And restarts if it crashes or is killed
|
|
||||||
mkdir -p ~/.config/systemd/user/app-walker@autostart.service.d/
|
|
||||||
cp $OMARCHY_PATH/default/walker/restart.conf ~/.config/systemd/user/app-walker@autostart.service.d/restart.conf
|
|
||||||
|
|
||||||
systemctl --user daemon-reload
|
systemctl --user daemon-reload
|
||||||
|
|
||||||
# Refresh configs
|
|
||||||
omarchy-refresh-config walker/config.toml
|
omarchy-refresh-config walker/config.toml
|
||||||
omarchy-refresh-config elephant/calc.toml
|
omarchy-refresh-config elephant/calc.toml
|
||||||
omarchy-refresh-config elephant/desktopapplications.toml
|
omarchy-refresh-config elephant/desktopapplications.toml
|
||||||
|
|
||||||
# Restart service
|
|
||||||
omarchy-restart-walker
|
omarchy-restart-walker
|
||||||
|
|||||||
@@ -32,3 +32,6 @@ keybind = super+control+shift+alt+arrow_right=resize_split:right,100
|
|||||||
|
|
||||||
# Slowdown mouse scrolling
|
# Slowdown mouse scrolling
|
||||||
mouse-scroll-multiplier = 0.95
|
mouse-scroll-multiplier = 0.95
|
||||||
|
|
||||||
|
# Fix general slowness on hyprland (https://github.com/ghostty-org/ghostty/discussions/3224)
|
||||||
|
async-backend = epoll
|
||||||
|
|||||||
0
default/systemd/system-sleep/keyboard-backlight
Executable file → Normal file
0
default/systemd/system-sleep/keyboard-backlight
Executable file → Normal file
@@ -1,3 +0,0 @@
|
|||||||
[Service]
|
|
||||||
Restart=always
|
|
||||||
RestartSec=2
|
|
||||||
@@ -37,4 +37,4 @@ run_logged $OMARCHY_INSTALL/config/hardware/fix-apple-t2.sh
|
|||||||
run_logged $OMARCHY_INSTALL/config/hardware/fix-surface-keyboard.sh
|
run_logged $OMARCHY_INSTALL/config/hardware/fix-surface-keyboard.sh
|
||||||
run_logged $OMARCHY_INSTALL/config/hardware/fix-asus-rog-audio-mixer.sh
|
run_logged $OMARCHY_INSTALL/config/hardware/fix-asus-rog-audio-mixer.sh
|
||||||
run_logged $OMARCHY_INSTALL/config/hardware/fix-asus-rog-mic.sh
|
run_logged $OMARCHY_INSTALL/config/hardware/fix-asus-rog-mic.sh
|
||||||
run_logged $OMARCHY_INSTALL/config/hardware/fix-realtek-r8168.sh
|
run_logged $OMARCHY_INSTALL/config/hardware/fix-yt6801-ethernet-adapter.sh
|
||||||
|
|||||||
@@ -1,11 +0,0 @@
|
|||||||
# Install r8168 driver for Realtek RTL8111/8168/8211/8411 ethernet adapters
|
|
||||||
# Common in ASUS TUF Gaming laptops and other modern systems
|
|
||||||
if lspci | grep -i "RTL8111\|RTL8168\|RTL8211\|RTL8411"; then
|
|
||||||
omarchy-pkg-add linux-headers r8168-lts
|
|
||||||
|
|
||||||
# Blacklist problematic r8169 driver
|
|
||||||
echo "blacklist r8169" | sudo tee /etc/modprobe.d/blacklist-r8169.conf
|
|
||||||
|
|
||||||
# Regenerate initramfs to ensure r8168 loads on boot
|
|
||||||
sudo mkinitcpio -P
|
|
||||||
fi
|
|
||||||
@@ -4,10 +4,6 @@
|
|||||||
mkdir -p ~/.config/autostart/
|
mkdir -p ~/.config/autostart/
|
||||||
cp $OMARCHY_PATH/default/walker/walker.desktop ~/.config/autostart/
|
cp $OMARCHY_PATH/default/walker/walker.desktop ~/.config/autostart/
|
||||||
|
|
||||||
# And is restarted if it crashes or is killed
|
|
||||||
mkdir -p ~/.config/systemd/user/app-walker@autostart.service.d/
|
|
||||||
cp $OMARCHY_PATH/default/walker/restart.conf ~/.config/systemd/user/app-walker@autostart.service.d/restart.conf
|
|
||||||
|
|
||||||
# Create pacman hook to restart walker after updates
|
# Create pacman hook to restart walker after updates
|
||||||
sudo mkdir -p /etc/pacman.d/hooks
|
sudo mkdir -p /etc/pacman.d/hooks
|
||||||
sudo tee /etc/pacman.d/hooks/walker-restart.hook > /dev/null << EOF
|
sudo tee /etc/pacman.d/hooks/walker-restart.hook > /dev/null << EOF
|
||||||
|
|||||||
@@ -147,4 +147,3 @@ xournalpp
|
|||||||
yaru-icon-theme
|
yaru-icon-theme
|
||||||
yay
|
yay
|
||||||
zoxide
|
zoxide
|
||||||
r8168-lts
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
echo "Fix Realtek RTL8111/8168/8211/8411 ethernet adapter support for ASUS TUF and other laptops"
|
|
||||||
|
|
||||||
# Run the hardware detection script for existing installations
|
|
||||||
if [ -f "$OMARCHY_INSTALL/config/hardware/fix-realtek-r8168.sh" ]; then
|
|
||||||
run_logged $OMARCHY_INSTALL/config/hardware/fix-realtek-r8168.sh
|
|
||||||
fi
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
echo "Ensure walker service is restarted if it's killed or crashes"
|
|
||||||
|
|
||||||
mkdir -p ~/.config/systemd/user/app-walker@autostart.service.d/
|
|
||||||
cp $OMARCHY_PATH/default/walker/restart.conf ~/.config/systemd/user/app-walker@autostart.service.d/restart.conf
|
|
||||||
systemctl --user daemon-reload
|
|
||||||
|
|
||||||
7
migrations/1770393078.sh
Normal file
7
migrations/1770393078.sh
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
echo "Add async-backend = epoll to ghostty config to fix high IO pressure"
|
||||||
|
|
||||||
|
if [[ -f ~/.config/ghostty/config ]] && ! grep -q "^async-backend" ~/.config/ghostty/config; then
|
||||||
|
echo "" >> ~/.config/ghostty/config
|
||||||
|
echo "# Fix general slowness on hyprland (https://github.com/ghostty-org/ghostty/discussions/3224)" >> ~/.config/ghostty/config
|
||||||
|
echo "async-backend = epoll" >> ~/.config/ghostty/config
|
||||||
|
fi
|
||||||
Reference in New Issue
Block a user