mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 04:09:23 +00:00
Compare commits
8 Commits
65933ad060
...
ebe38078de
Author | SHA1 | Date | |
---|---|---|---|
ebe38078de | |||
9a2d8852d3 | |||
4f565b743a | |||
c8656cb10f | |||
a735337a59 | |||
b1c5b420bc | |||
e6e280dd84 | |||
5c42f35839 |
@ -6,5 +6,6 @@ if gum confirm "Refresh Waybar config? This will replace your current settings w
|
||||
cp -f ~/.local/share/omarchy/config/waybar/style.css ~/.config/waybar/ 2>/dev/null
|
||||
|
||||
# Restart waybar
|
||||
pkill -SIGUSR2 waybar
|
||||
pkill waybar
|
||||
setsid waybar >/dev/null 2>&1 &
|
||||
fi
|
||||
|
@ -29,7 +29,8 @@ ln -nsf "$THEME_PATH" "$CURRENT_THEME_DIR"
|
||||
touch "$HOME/.config/alacritty/alacritty.toml"
|
||||
|
||||
# Restart components to apply new theme
|
||||
pkill -SIGUSR2 waybar
|
||||
pkill waybar
|
||||
setsid waybar >/dev/null 2>&1 &
|
||||
makoctl reload
|
||||
hyprctl reload
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
#!/bin/bash
|
||||
|
||||
if pgrep -x hypridle > /dev/null; then
|
||||
if pgrep -x hypridle >/dev/null; then
|
||||
pkill -x hypridle
|
||||
notify-send "Stop locking computer when idle"
|
||||
else
|
||||
setsid hypridle &> /dev/null &
|
||||
setsid hypridle &>/dev/null &
|
||||
notify-send "Now locking computer when idle"
|
||||
fi
|
||||
|
@ -1,5 +1,6 @@
|
||||
# Launching
|
||||
bind = SUPER, space, exec, pkill wofi || uwsm app -- "$(wofi --show drun -O alphabetical --define=drun-print_desktop_file=true | sed -E "s/(\.desktop) /\1:/")"
|
||||
bind = SUPER, space, exec, pkill wofi || wofi --show drun -O alphabetical
|
||||
# bind = SUPER, space, exec, pkill wofi || uwsm app -- "$(wofi --show drun -O alphabetical --define=drun-print_desktop_file=true | sed -E "s/(\.desktop) /\1:/")"
|
||||
bind = SUPER, K, exec, pkill wofi || ~/.local/share/omarchy/bin/omarchy-show-keybindings
|
||||
|
||||
# Aesthetics
|
||||
|
26
install/firewall.sh
Normal file
26
install/firewall.sh
Normal file
@ -0,0 +1,26 @@
|
||||
#!/bin/bash
|
||||
|
||||
if ! command -v ufw &>/dev/null; then
|
||||
yay -Sy --noconfirm --needed ufw ufw-docker
|
||||
|
||||
# Allow nothing in, everything out
|
||||
sudo ufw default deny incoming
|
||||
sudo ufw default allow outgoing
|
||||
|
||||
# Allow ports for LocalSend
|
||||
sudo ufw allow 53317/udp
|
||||
sudo ufw allow 53317/tcp
|
||||
|
||||
# Allow SSH in
|
||||
sudo ufw allow 22/tcp
|
||||
|
||||
# Allow Docker containers to use DNS on host
|
||||
sudo ufw allow in on docker0 to any port 53
|
||||
|
||||
# Turn on the firewall
|
||||
sudo ufw enable
|
||||
|
||||
# Turn on Docker protections
|
||||
sudo ufw-docker install
|
||||
sudo ufw reload
|
||||
fi
|
@ -1,3 +1,4 @@
|
||||
echo "Fixing persistent workspaces in waybar config"
|
||||
sed -i 's/"persistent_workspaces":/"persistent-workspaces":/' ~/.config/waybar/config
|
||||
pkill -SIGUSR2 waybar
|
||||
pkill waybar
|
||||
setsid waybar >/dev/null 2>&1 &
|
||||
|
2
migrations/1752709610.sh
Normal file
2
migrations/1752709610.sh
Normal file
@ -0,0 +1,2 @@
|
||||
echo "Enable ufw firewall"
|
||||
source ~/.local/share/omarchy/install/firewall.sh
|
Reference in New Issue
Block a user