mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Compare commits
83 Commits
v2.1.0
...
update-oma
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8c30708b40 | ||
|
|
f5ec131b47 | ||
|
|
19d85a7710 | ||
|
|
1f5a86ba8e | ||
|
|
a9d9faef24 | ||
|
|
16460b5203 | ||
|
|
bf07883e82 | ||
|
|
a66e8ebebd | ||
|
|
a57060ee31 | ||
|
|
9ca2081742 | ||
|
|
c9bacbe318 | ||
|
|
a0674703f8 | ||
|
|
627b5f4ead | ||
|
|
80767e8686 | ||
|
|
e260d28f43 | ||
|
|
8af2d3257f | ||
|
|
477ec351e7 | ||
|
|
6824ce0d0f | ||
|
|
70c0f70940 | ||
|
|
251997cf54 | ||
|
|
e79cfa76a8 | ||
|
|
a8a907791b | ||
|
|
0dbb81ee9b | ||
|
|
9ecf59dd60 | ||
|
|
78b2f926c8 | ||
|
|
40d7d074a9 | ||
|
|
8a83234298 | ||
|
|
88c7c4c748 | ||
|
|
ddef52c192 | ||
|
|
57ca3d74e5 | ||
|
|
8e67e717a0 | ||
|
|
d5ae9ffa05 | ||
|
|
1de4a49ab0 | ||
|
|
8493054cd0 | ||
|
|
dbd67e6354 | ||
|
|
bc1eee1857 | ||
|
|
9467ff2de3 | ||
|
|
e5a1b99497 | ||
|
|
2f6607c03d | ||
|
|
597c2f58eb | ||
|
|
633b5da37e | ||
|
|
816a660059 | ||
|
|
05d864c8b4 | ||
|
|
ca1ea6ccb8 | ||
|
|
8e601e1fca | ||
|
|
33ebce49b0 | ||
|
|
3d075602cb | ||
|
|
c87c5e5a04 | ||
|
|
8088effe9f | ||
|
|
653b389c9a | ||
|
|
7286bbb674 | ||
|
|
20ef3c821d | ||
|
|
05a5bfc9b4 | ||
|
|
95336e730f | ||
|
|
d5e445b743 | ||
|
|
00fe154e43 | ||
|
|
27742c8f43 | ||
|
|
15c22fb05b | ||
|
|
0d5b41b83a | ||
|
|
8065eb87d8 | ||
|
|
bee90aa121 | ||
|
|
29b1ed6c4e | ||
|
|
7fe02e7d68 | ||
|
|
ec428bc05f | ||
|
|
73bc6159ea | ||
|
|
136a2268ea | ||
|
|
0723059fb3 | ||
|
|
5e5b253dc6 | ||
|
|
9cc185c82d | ||
|
|
ba76610512 | ||
|
|
787d0c75a2 | ||
|
|
b84e687262 | ||
|
|
c499413812 | ||
|
|
c82754d423 | ||
|
|
9ec006a1b2 | ||
|
|
8fd668fbb3 | ||
|
|
25d02e1f3f | ||
|
|
261e1aec08 | ||
|
|
43206dba92 | ||
|
|
6f2f48b412 | ||
|
|
ca7f6ebb3b | ||
|
|
131f934f17 | ||
|
|
91177a6546 |
23
.github/ISSUE_TEMPLATE/bug.yml
vendored
Normal file
23
.github/ISSUE_TEMPLATE/bug.yml
vendored
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
name: Bug
|
||||||
|
description: Report a problem
|
||||||
|
labels: [bug]
|
||||||
|
body:
|
||||||
|
- type: markdown
|
||||||
|
attributes:
|
||||||
|
value: |
|
||||||
|
Remember: Omarchy is an open source gift, not a product you bought from a vendor
|
||||||
|
|
||||||
|
- type: input
|
||||||
|
id: system-details
|
||||||
|
attributes:
|
||||||
|
label: System details
|
||||||
|
placeholder: e.g. AMD 9950X, NVIDIA 5090, Omarchy 2.1.0
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: steps
|
||||||
|
attributes:
|
||||||
|
label: What's wrong?
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
1
.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
1
.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
blank_issues_enabled: false
|
||||||
15
.github/ISSUE_TEMPLATE/documentation.yml
vendored
Normal file
15
.github/ISSUE_TEMPLATE/documentation.yml
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
name: Documentation
|
||||||
|
description: New pages or changes to existing
|
||||||
|
labels: [documentation]
|
||||||
|
body:
|
||||||
|
- type: markdown
|
||||||
|
attributes:
|
||||||
|
value: |
|
||||||
|
Remember: Omarchy is an open source gift, not a product you bought from a vendor
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: steps
|
||||||
|
attributes:
|
||||||
|
label: What correction or addition do we need?
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
15
.github/ISSUE_TEMPLATE/enhancement.yml
vendored
Normal file
15
.github/ISSUE_TEMPLATE/enhancement.yml
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
name: Enhancement
|
||||||
|
description: Feature or change
|
||||||
|
labels: [enhancement]
|
||||||
|
body:
|
||||||
|
- type: markdown
|
||||||
|
attributes:
|
||||||
|
value: |
|
||||||
|
Remember: Omarchy is an open source gift, not a product you bought from a vendor
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: steps
|
||||||
|
attributes:
|
||||||
|
label: What do you need?
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
@@ -1,19 +1,50 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Find all the audio sinks but exit if there are none
|
focused_monitor="$(hyprctl monitors -j | jq -r '.[] | select(.focused == true).name')"
|
||||||
sinks=($(wpctl status | sed -n '/Sinks:/,/Sources:/p' | grep -E '^\s*│\s+\*?\s*[0-9]+\.' | sed -E 's/^[^0-9]*([0-9]+)\..*/\1/'))
|
|
||||||
[ ${#sinks[@]} -eq 0 ] && exit 1
|
|
||||||
|
|
||||||
# Find current audio sink
|
sinks=$(pactl -f json list sinks | jq '[.[] | select([.ports[]? | .availability == "available"] | any)]')
|
||||||
current=$(wpctl status | sed -n '/Sinks:/,/Sources:/p' | grep '^\s*│\s*\*' | sed -E 's/^[^0-9]*([0-9]+)\..*/\1/')
|
sinks_count=$(echo "$sinks" | jq '. | length')
|
||||||
|
|
||||||
# Find the next sink (looping around in the list)
|
if [ "$sinks_count" -eq 0 ]; then
|
||||||
for i in "${!sinks[@]}"; do
|
swayosd-client \
|
||||||
[ "${sinks[$i]}" = "$current" ] && next=${sinks[$(((i + 1) % ${#sinks[@]}))]}
|
--monitor "$focused_monitor" \
|
||||||
done
|
--custom-message "No audio devices found"
|
||||||
next=${next:-${sinks[0]}}
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
# Set the next sink and ensure it's not muted
|
current_sink_name=$(pactl get-default-sink)
|
||||||
wpctl set-default "$next"
|
current_sink_index=$(echo "$sinks" | jq -r --arg name "$current_sink_name" 'map(.name) | index($name)')
|
||||||
wpctl set-mute "$next" 0
|
|
||||||
|
|
||||||
|
if [ "$current_sink_index" != "null" ]; then
|
||||||
|
next_sink_index=$(((current_sink_index + 1) % sinks_count))
|
||||||
|
else
|
||||||
|
next_sink_index=0
|
||||||
|
fi
|
||||||
|
|
||||||
|
next_sink=$(echo "$sinks" | jq -r ".[$next_sink_index]")
|
||||||
|
next_sink_name=$(echo "$next_sink" | jq -r '.name')
|
||||||
|
next_sink_description=$(echo "$next_sink" | jq -r '.description')
|
||||||
|
next_sink_volume=$(echo "$next_sink" | jq -r \
|
||||||
|
'.volume | to_entries[0].value.value_percent | sub("%"; "")')
|
||||||
|
next_sink_is_muted=$(echo "$next_sink" | jq -r '.mute')
|
||||||
|
|
||||||
|
if [ "$next_sink_is_muted" = "true" ] || [ "$next_sink_volume" -eq 0 ]; then
|
||||||
|
icon_state="muted"
|
||||||
|
elif [ "$next_sink_volume" -le 33 ]; then
|
||||||
|
icon_state="low"
|
||||||
|
elif [ "$next_sink_volume" -le 66 ]; then
|
||||||
|
icon_state="medium"
|
||||||
|
else
|
||||||
|
icon_state="high"
|
||||||
|
fi
|
||||||
|
|
||||||
|
next_sink_volume_icon="sink-volume-${icon_state}-symbolic"
|
||||||
|
|
||||||
|
if [ "$next_sink_name" != "$current_sink_name" ]; then
|
||||||
|
pactl set-default-sink "$next_sink_name"
|
||||||
|
fi
|
||||||
|
|
||||||
|
swayosd-client \
|
||||||
|
--monitor "$focused_monitor" \
|
||||||
|
--custom-message "$next_sink_description" \
|
||||||
|
--custom-icon "$next_sink_volume_icon"
|
||||||
|
|||||||
@@ -8,5 +8,6 @@ if [[ -f "$FIRST_RUN_MODE" ]]; then
|
|||||||
rm -f "$FIRST_RUN_MODE"
|
rm -f "$FIRST_RUN_MODE"
|
||||||
$OMARCHY_PATH/install/first-run/battery-monitor.sh
|
$OMARCHY_PATH/install/first-run/battery-monitor.sh
|
||||||
$OMARCHY_PATH/install/first-run/firewall.sh
|
$OMARCHY_PATH/install/first-run/firewall.sh
|
||||||
|
$OMARCHY_PATH/install/first-run/gnome-theme.sh
|
||||||
sudo rm -f /etc/sudoers.d/first-run
|
sudo rm -f /etc/sudoers.d/first-run
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -8,25 +8,47 @@ if [[ ! -d "$OUTPUT_DIR" ]]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
screenrecording() {
|
# Selects region or output
|
||||||
|
SCOPE="$1"
|
||||||
|
|
||||||
|
# Selects audio inclusion or not
|
||||||
|
AUDIO=$([[ $2 == "audio" ]] && echo "--audio")
|
||||||
|
|
||||||
|
start_screenrecording() {
|
||||||
filename="$OUTPUT_DIR/screenrecording-$(date +'%Y-%m-%d_%H-%M-%S').mp4"
|
filename="$OUTPUT_DIR/screenrecording-$(date +'%Y-%m-%d_%H-%M-%S').mp4"
|
||||||
notify-send "Screen recording starting..." -t 1000
|
|
||||||
sleep 1
|
|
||||||
|
|
||||||
if lspci | grep -Eqi 'nvidia|intel.*graphics'; then
|
if lspci | grep -Eqi 'nvidia|intel.*graphics'; then
|
||||||
wf-recorder -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 "$@" &
|
||||||
else
|
else
|
||||||
wl-screenrec -f "$filename" --ffmpeg-encoder-options="-c:v libx264 -crf 23 -preset medium -movflags +faststart" "$@"
|
wl-screenrec $AUDIO -f "$filename" --ffmpeg-encoder-options="-c:v libx264 -crf 23 -preset medium -movflags +faststart" "$@" &
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
toggle_screenrecording_indicator
|
||||||
}
|
}
|
||||||
|
|
||||||
if pgrep -x wl-screenrec >/dev/null || pgrep -x wf-recorder >/dev/null; then
|
stop_screenrecording() {
|
||||||
pkill -x wl-screenrec
|
pkill -x wl-screenrec
|
||||||
pkill -x wf-recorder
|
pkill -x wf-recorder
|
||||||
|
|
||||||
notify-send "Screen recording saved to $OUTPUT_DIR" -t 2000
|
notify-send "Screen recording saved to $OUTPUT_DIR" -t 2000
|
||||||
elif [[ "$1" == "output" ]]; then
|
|
||||||
screenrecording
|
sleep 0.2 # ensures the process is actually dead before we check
|
||||||
|
toggle_screenrecording_indicator
|
||||||
|
}
|
||||||
|
|
||||||
|
toggle_screenrecording_indicator() {
|
||||||
|
pkill -RTMIN+8 waybar
|
||||||
|
}
|
||||||
|
|
||||||
|
screenrecording_active() {
|
||||||
|
pgrep -x wl-screenrec >/dev/null || pgrep -x wf-recorder >/dev/null
|
||||||
|
}
|
||||||
|
|
||||||
|
if screenrecording_active; then
|
||||||
|
stop_screenrecording
|
||||||
|
elif [[ "$SCOPE" == "output" ]]; then
|
||||||
|
start_screenrecording
|
||||||
else
|
else
|
||||||
region=$(slurp) || exit 1
|
region=$(slurp) || exit 1
|
||||||
screenrecording -g "$region"
|
start_screenrecording -g "$region"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
if pgrep -x wl-screenrec >/dev/null || pgrep -x wf-recorder >/dev/null; then
|
|
||||||
pkill -x wl-screenrec
|
|
||||||
pkill -x wf-recorder
|
|
||||||
notify-send "Screen recording stopped" -t 2000
|
|
||||||
fi
|
|
||||||
@@ -8,7 +8,7 @@ if [[ ! -d "$OUTPUT_DIR" ]]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pkill slurp || hyprshot -m ${1:-region} --raw |
|
pkill slurp || hyprshot -m ${1:-region} --raw --freeze |
|
||||||
satty --filename - \
|
satty --filename - \
|
||||||
--output-filename "$OUTPUT_DIR/screenshot-$(date +'%Y-%m-%d_%H-%M-%S').png" \
|
--output-filename "$OUTPUT_DIR/screenshot-$(date +'%Y-%m-%d_%H-%M-%S').png" \
|
||||||
--early-exit \
|
--early-exit \
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ terminal_pid=$(hyprctl activewindow | awk '/pid:/ {print $2}')
|
|||||||
shell_pid=$(pgrep -P "$terminal_pid" | head -n1)
|
shell_pid=$(pgrep -P "$terminal_pid" | head -n1)
|
||||||
|
|
||||||
if [[ -n $shell_pid ]]; then
|
if [[ -n $shell_pid ]]; then
|
||||||
readlink -f "/proc/$shell_pid/cwd" 2>/dev/null
|
readlink -f "/proc/$shell_pid/cwd" 2>/dev/null || echo "$HOME"
|
||||||
else
|
else
|
||||||
echo "$HOME"
|
echo "$HOME"
|
||||||
fi
|
fi
|
||||||
|
|||||||
28
bin/omarchy-drive-info
Executable file
28
bin/omarchy-drive-info
Executable file
@@ -0,0 +1,28 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Drive, like /dev/nvme0, to display information about
|
||||||
|
if (($# == 0)); then
|
||||||
|
echo "Usage: omarchy-drive-info [/dev/drive]"
|
||||||
|
exit 1
|
||||||
|
else
|
||||||
|
drive="$1"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Find the root drive in case we are looking at partitions
|
||||||
|
root_drive=$(lsblk -no PKNAME "$drive" 2>/dev/null | tail -n1)
|
||||||
|
if [[ -n "$root_drive" ]]; then
|
||||||
|
root_drive="/dev/$root_drive"
|
||||||
|
else
|
||||||
|
root_drive="$drive"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Get basic disk information
|
||||||
|
size=$(lsblk -dno SIZE "$drive" 2>/dev/null)
|
||||||
|
model=$(lsblk -dno MODEL "$root_drive" 2>/dev/null)
|
||||||
|
|
||||||
|
# Format display string
|
||||||
|
display="$drive"
|
||||||
|
[[ -n "$size" ]] && display="$display ($size)"
|
||||||
|
[[ -n "$model" ]] && display="$display - $model"
|
||||||
|
|
||||||
|
echo "$display"
|
||||||
18
bin/omarchy-drive-select
Executable file
18
bin/omarchy-drive-select
Executable file
@@ -0,0 +1,18 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Select a drive from a list with info that includes space and brand
|
||||||
|
|
||||||
|
if (($# == 0)); then
|
||||||
|
drives=$(lsblk -dpno NAME | grep -E '/dev/(sd|hd|vd|nvme|mmcblk|xv)')
|
||||||
|
else
|
||||||
|
drives="$@"
|
||||||
|
fi
|
||||||
|
|
||||||
|
drives_with_info=""
|
||||||
|
while IFS= read -r drive; do
|
||||||
|
[[ -n "$drive" ]] || continue
|
||||||
|
drives_with_info+="$(omarchy-drive-info "$drive")"$'\n'
|
||||||
|
done <<<"$drives"
|
||||||
|
|
||||||
|
selected_drive="$(printf "%s" "$drives_with_info" | gum choose --header "Select drive")" || exit 1
|
||||||
|
printf "%s\n" "$selected_drive" | awk '{print $1}'
|
||||||
21
bin/omarchy-drive-set-password
Executable file
21
bin/omarchy-drive-set-password
Executable file
@@ -0,0 +1,21 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
encrypted_drives=$(blkid -t TYPE=crypto_LUKS -o device)
|
||||||
|
|
||||||
|
if [[ -n $encrypted_drives ]]; then
|
||||||
|
if [[ $(wc -l <<<"$encrypted_drives") -eq 1 ]]; then
|
||||||
|
drive_to_change="$encrypted_drives"
|
||||||
|
else
|
||||||
|
drive_to_change="$(omarchy-drive-select "$encrypted_drives")"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -n $drive_to_change ]]; then
|
||||||
|
echo "Changing full-disk encryption password for $drive_to_change"
|
||||||
|
sudo cryptsetup luksChangeKey --pbkdf argon2id --iter-time 2000 "$drive_to_change"
|
||||||
|
else
|
||||||
|
echo "No drive selected."
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
echo "No encrypted drives available."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
@@ -1,12 +1,12 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [[ -z "$1" ]]; then
|
if [[ -z "$1" ]]; then
|
||||||
echo "Usage: omarchy-install-dev-env <ruby|node|bun|go|laravel|symfony|php|python|elixir|phoenix|rust|java|ocaml|dotnet>" >&2
|
echo "Usage: omarchy-install-dev-env <ruby|node|bun|go|laravel|symfony|php|python|elixir|phoenix|rust|java|ocaml|dotnet|clojure>" >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
install_php() {
|
install_php() {
|
||||||
sudo pacman -S php composer php-sqlite --noconfirm
|
sudo pacman -S php composer php-sqlite xdebug --noconfirm
|
||||||
|
|
||||||
# Install Path for Composer
|
# Install Path for Composer
|
||||||
if [[ ":$PATH:" != *":$HOME/.config/composer/vendor/bin:"* ]]; then
|
if [[ ":$PATH:" != *":$HOME/.config/composer/vendor/bin:"* ]]; then
|
||||||
@@ -28,6 +28,12 @@ install_php() {
|
|||||||
"pdo_mysql"
|
"pdo_mysql"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# Enable Xdebug
|
||||||
|
sudo sed -i \
|
||||||
|
-e 's/^;zend_extension=xdebug.so/zend_extension=xdebug.so/' \
|
||||||
|
-e 's/^;xdebug.mode=debug/xdebug.mode=debug/' \
|
||||||
|
/etc/php/conf.d/xdebug.ini
|
||||||
|
|
||||||
for ext in "${extensions_to_enable[@]}"; do
|
for ext in "${extensions_to_enable[@]}"; do
|
||||||
sudo sed -i "s/^;extension=${ext}/extension=${ext}/" "$php_ini_path"
|
sudo sed -i "s/^;extension=${ext}/extension=${ext}/" "$php_ini_path"
|
||||||
done
|
done
|
||||||
@@ -125,4 +131,9 @@ dotnet)
|
|||||||
echo -e "Installing .NET...\n"
|
echo -e "Installing .NET...\n"
|
||||||
mise use --global dotnet@latest
|
mise use --global dotnet@latest
|
||||||
;;
|
;;
|
||||||
|
clojure)
|
||||||
|
echo -e "Installing Clojure...\n"
|
||||||
|
omarchy-pkg-add rlwrap
|
||||||
|
mise use --global clojure@latest
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
@@ -1,13 +1,18 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
options=("MySQL" "PostgreSQL" "Redis" "MongoDB" "MariaDB")
|
options=("MySQL" "PostgreSQL" "Redis" "MongoDB" "MariaDB")
|
||||||
choices=$(printf "%s\n" "${options[@]}" | gum choose --no-limit --header "Select databases (space to select, return to install, esc to cancel)") || main_menu
|
|
||||||
|
if [[ "$#" -eq 0 ]]; then
|
||||||
|
choices=$(printf "%s\n" "${options[@]}" | gum choose --header "Select databases (space to select, return to install, esc to cancel)") || main_menu
|
||||||
|
else
|
||||||
|
choices="$@"
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ -n "$choices" ]]; then
|
if [[ -n "$choices" ]]; then
|
||||||
for db in $choices; do
|
for db in $choices; do
|
||||||
case $db in
|
case $db in
|
||||||
MySQL) sudo docker run -d --restart unless-stopped -p "127.0.0.1:3306:3306" --name=mysql8 -e MYSQL_ROOT_PASSWORD= -e MYSQL_ALLOW_EMPTY_PASSWORD=true mysql:8.4 ;;
|
MySQL) sudo docker run -d --restart unless-stopped -p "127.0.0.1:3306:3306" --name=mysql8 -e MYSQL_ROOT_PASSWORD= -e MYSQL_ALLOW_EMPTY_PASSWORD=true mysql:8.4 ;;
|
||||||
PostgreSQL) sudo docker run -d --restart unless-stopped -p "127.0.0.1:5432:5432" --name=postgres16 -e POSTGRES_HOST_AUTH_METHOD=trust postgres:16 ;;
|
PostgreSQL) sudo docker run -d --restart unless-stopped -p "127.0.0.1:5432:5432" --name=postgres17 -e POSTGRES_HOST_AUTH_METHOD=trust postgres:17 ;;
|
||||||
MariaDB) sudo docker run -d --restart unless-stopped -p "127.0.0.1:3306:3306" --name=mariadb11 -e MARIADB_ROOT_PASSWORD= -e MARIADB_ALLOW_EMPTY_ROOT_PASSWORD=true mariadb:11.8 ;;
|
MariaDB) sudo docker run -d --restart unless-stopped -p "127.0.0.1:3306:3306" --name=mariadb11 -e MARIADB_ROOT_PASSWORD= -e MARIADB_ALLOW_EMPTY_ROOT_PASSWORD=true mariadb:11.8 ;;
|
||||||
Redis) sudo docker run -d --restart unless-stopped -p "127.0.0.1:6379:6379" --name=redis redis:7 ;;
|
Redis) sudo docker run -d --restart unless-stopped -p "127.0.0.1:6379:6379" --name=redis redis:7 ;;
|
||||||
MongoDB) sudo docker run -d --restart unless-stopped -p "127.0.0.1:27017:27017" --name mongodb -e MONGO_INITDB_ROOT_USERNAME=admin -e MONGO_INITDB_ROOT_PASSWORD=admin123 mongo:noble ;;
|
MongoDB) sudo docker run -d --restart unless-stopped -p "127.0.0.1:27017:27017" --name mongodb -e MONGO_INITDB_ROOT_USERNAME=admin -e MONGO_INITDB_ROOT_PASSWORD=admin123 mongo:noble ;;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
echo "Adding multilib repository for 32-bit compatibility"
|
echo "Adding multilib repository for 32-bit compatibility"
|
||||||
sudo sed -i '/^\s*#\[multilib\]/,/^$/{s/^\s*#//}' /etc/pacman.conf
|
sudo sed -i '/^#\s*\[multilib\]/,/^#\s*Include/ s/^#\s*//' /etc/pacman.conf
|
||||||
|
|
||||||
echo "Now pick dependencies matching your graphics card"
|
echo "Now pick dependencies matching your graphics card"
|
||||||
sudo pacman -Syu --noconfirm steam
|
sudo pacman -Syu --noconfirm steam
|
||||||
|
|||||||
@@ -2,6 +2,21 @@
|
|||||||
|
|
||||||
export PATH="$HOME/.local/share/omarchy/bin:$PATH"
|
export PATH="$HOME/.local/share/omarchy/bin:$PATH"
|
||||||
|
|
||||||
|
# Set to true when going directly to a submenu, so we can exit directly
|
||||||
|
BACK_TO_EXIT=false
|
||||||
|
|
||||||
|
back_to() {
|
||||||
|
local parent_menu="$1"
|
||||||
|
|
||||||
|
if [[ "$DIRECT_ACCESS" == "true" ]]; then
|
||||||
|
exit 0
|
||||||
|
elif [[ -n "$parent_menu" ]]; then
|
||||||
|
"$parent_menu"
|
||||||
|
else
|
||||||
|
show_main_menu
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
menu() {
|
menu() {
|
||||||
local prompt="$1"
|
local prompt="$1"
|
||||||
local options="$2"
|
local options="$2"
|
||||||
@@ -80,7 +95,7 @@ show_style_menu() {
|
|||||||
show_theme_menu() {
|
show_theme_menu() {
|
||||||
theme=$(menu "Theme" "$(omarchy-theme-list)" "" "$(omarchy-theme-current)")
|
theme=$(menu "Theme" "$(omarchy-theme-list)" "" "$(omarchy-theme-current)")
|
||||||
if [[ "$theme" == "CNCLD" || -z "$theme" ]]; then
|
if [[ "$theme" == "CNCLD" || -z "$theme" ]]; then
|
||||||
show_main_menu
|
back_to show_style_menu
|
||||||
else
|
else
|
||||||
omarchy-theme-set "$theme"
|
omarchy-theme-set "$theme"
|
||||||
fi
|
fi
|
||||||
@@ -89,7 +104,7 @@ show_theme_menu() {
|
|||||||
show_font_menu() {
|
show_font_menu() {
|
||||||
theme=$(menu "Font" "$(omarchy-font-list)" "-w 350" "$(omarchy-font-current)")
|
theme=$(menu "Font" "$(omarchy-font-list)" "-w 350" "$(omarchy-font-current)")
|
||||||
if [[ "$theme" == "CNCLD" || -z "$theme" ]]; then
|
if [[ "$theme" == "CNCLD" || -z "$theme" ]]; then
|
||||||
show_main_menu
|
back_to show_style_menu
|
||||||
else
|
else
|
||||||
omarchy-font-set "$theme"
|
omarchy-font-set "$theme"
|
||||||
fi
|
fi
|
||||||
@@ -114,8 +129,10 @@ show_screenshot_menu() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
show_screenrecord_menu() {
|
show_screenrecord_menu() {
|
||||||
case $(menu "Screenrecord" " Region\n Display") in
|
case $(menu "Screenrecord" " Region\n Region + Audio\n Display\n Display + Audio") in
|
||||||
|
*"Region + Audio"*) omarchy-cmd-screenrecord region audio ;;
|
||||||
*Region*) omarchy-cmd-screenrecord ;;
|
*Region*) omarchy-cmd-screenrecord ;;
|
||||||
|
*"Display + Audio"*) omarchy-cmd-screenrecord output audio ;;
|
||||||
*Display*) omarchy-cmd-screenrecord output ;;
|
*Display*) omarchy-cmd-screenrecord output ;;
|
||||||
*) show_capture_menu ;;
|
*) show_capture_menu ;;
|
||||||
esac
|
esac
|
||||||
@@ -163,7 +180,7 @@ show_setup_power_menu() {
|
|||||||
profile=$(menu "Power Profile" "$(omarchy-powerprofiles-list)" "" "$(powerprofilesctl get)")
|
profile=$(menu "Power Profile" "$(omarchy-powerprofiles-list)" "" "$(powerprofilesctl get)")
|
||||||
|
|
||||||
if [[ "$profile" == "CNCLD" || -z "$profile" ]]; then
|
if [[ "$profile" == "CNCLD" || -z "$profile" ]]; then
|
||||||
show_main_menu
|
back_to show_setup_menu
|
||||||
else
|
else
|
||||||
powerprofilesctl set "$profile"
|
powerprofilesctl set "$profile"
|
||||||
fi
|
fi
|
||||||
@@ -213,7 +230,7 @@ show_install_editor_menu() {
|
|||||||
*VSCode*) install_and_launch "VSCode" "visual-studio-code-bin" "code" ;;
|
*VSCode*) install_and_launch "VSCode" "visual-studio-code-bin" "code" ;;
|
||||||
*Cursor*) install_and_launch "Cursor" "cursor-bin" "cursor" ;;
|
*Cursor*) install_and_launch "Cursor" "cursor-bin" "cursor" ;;
|
||||||
*Zed*) install_and_launch "Zed" "zed" "dev.zed.Zed" ;;
|
*Zed*) install_and_launch "Zed" "zed" "dev.zed.Zed" ;;
|
||||||
*Sublime*) install_and_launch "Sublime Text" "sublime-text-4" "sublime_text" ;;
|
*Sublime*) aur_install_and_launch "Sublime Text" "sublime-text-4" "sublime_text" ;;
|
||||||
*Helix*) install "Helix" "helix" ;;
|
*Helix*) install "Helix" "helix" ;;
|
||||||
*Emacs*) install "Emacs" "emacs-wayland" && systemctl --user enable --now emacs.service ;;
|
*Emacs*) install "Emacs" "emacs-wayland" && systemctl --user enable --now emacs.service ;;
|
||||||
*) show_install_menu ;;
|
*) show_install_menu ;;
|
||||||
@@ -227,14 +244,14 @@ show_install_ai_menu() {
|
|||||||
echo ollama
|
echo ollama
|
||||||
)
|
)
|
||||||
|
|
||||||
case $(menu "Install" " Claude Code\n Gemini\n OpenAI Codex [AUR]\n LM Studio\n Ollama\n Crush\n opencode") in
|
case $(menu "Install" " Claude Code\n Gemini [AUR]\n OpenAI Codex [AUR]\n LM Studio\n Ollama\n Crush\n opencode") in
|
||||||
*Claude*) install "Claude Code" "claude-code" ;;
|
*Claude*) install "Claude Code" "claude-code" ;;
|
||||||
*OpenAI*) aur_install "OpenAI Codex" "openai-codex-bin" ;;
|
*OpenAI*) aur_install "OpenAI Codex" "openai-codex-bin" ;;
|
||||||
*Gemini*) install "Gemini" "gemini-cli" ;;
|
*Gemini*) aur_install "Gemini" "gemini-cli" ;;
|
||||||
*Studio*) install "LM Studio" "lmstudio" ;;
|
*Studio*) install "LM Studio" "lmstudio" ;;
|
||||||
*Ollama*) install "Ollama" $ollama_pkg ;;
|
*Ollama*) install "Ollama" $ollama_pkg ;;
|
||||||
*Crush*) install "Crush" "crush-bin" ;;
|
*Crush*) install "Crush" "crush-bin" ;;
|
||||||
*opencode*) install "opencode" "opencode-bin" ;;
|
*opencode*) install "opencode" "opencode" ;;
|
||||||
*) show_install_menu ;;
|
*) show_install_menu ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
@@ -243,7 +260,7 @@ show_install_gaming_menu() {
|
|||||||
case $(menu "Install" " Steam\n RetroArch [AUR]\n Minecraft") in
|
case $(menu "Install" " Steam\n RetroArch [AUR]\n Minecraft") in
|
||||||
*Steam*) present_terminal omarchy-install-steam ;;
|
*Steam*) present_terminal omarchy-install-steam ;;
|
||||||
*RetroArch*) aur_install_and_launch "RetroArch" "retroarch retroarch-assets libretro libretro-fbneo" "com.libretro.RetroArch.desktop" ;;
|
*RetroArch*) aur_install_and_launch "RetroArch" "retroarch retroarch-assets libretro libretro-fbneo" "com.libretro.RetroArch.desktop" ;;
|
||||||
*Minecraft*) install_and_launch "Minecraft" "minecraft-launcher" "minecraft-launcher" ;;
|
*Minecraft*) aur_install_and_launch "Minecraft [AUR]" "minecraft-launcher" "minecraft-launcher" ;;
|
||||||
*) show_install_menu ;;
|
*) show_install_menu ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
@@ -268,7 +285,7 @@ show_install_font_menu() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
show_install_development_menu() {
|
show_install_development_menu() {
|
||||||
case $(menu "Install" " Ruby on Rails\n Docker DB\n JavaScript\n Go\n PHP\n Python\n Elixir\n Zig\n Rust\n Java\n .NET\n OCaml") in
|
case $(menu "Install" " Ruby on Rails\n Docker DB\n JavaScript\n Go\n PHP\n Python\n Elixir\n Zig\n Rust\n Java\n .NET\n OCaml\n Clojure") in
|
||||||
*Rails*) present_terminal "omarchy-install-dev-env ruby" ;;
|
*Rails*) present_terminal "omarchy-install-dev-env ruby" ;;
|
||||||
*Docker*) present_terminal omarchy-install-docker-dbs ;;
|
*Docker*) present_terminal omarchy-install-docker-dbs ;;
|
||||||
*JavaScript*) show_install_javascript_menu ;;
|
*JavaScript*) show_install_javascript_menu ;;
|
||||||
@@ -281,6 +298,7 @@ show_install_development_menu() {
|
|||||||
*Java*) present_terminal "omarchy-install-dev-env java" ;;
|
*Java*) present_terminal "omarchy-install-dev-env java" ;;
|
||||||
*NET*) present_terminal "omarchy-install-dev-env dotnet" ;;
|
*NET*) present_terminal "omarchy-install-dev-env dotnet" ;;
|
||||||
*OCaml*) present_terminal "omarchy-install-dev-env ocaml" ;;
|
*OCaml*) present_terminal "omarchy-install-dev-env ocaml" ;;
|
||||||
|
*Clojure*) present_terminal "omarchy-install-dev-env clojure" ;;
|
||||||
*) show_install_menu ;;
|
*) show_install_menu ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
@@ -324,13 +342,14 @@ show_remove_menu() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
show_update_menu() {
|
show_update_menu() {
|
||||||
case $(menu "Update" " Omarchy\n Config\n Themes\n Process\n Hardware\n Timezone") in
|
case $(menu "Update" " Omarchy\n Config\n Themes\n Process\n Hardware\n Password\n Timezone") in
|
||||||
*Omarchy*) present_terminal omarchy-update ;;
|
*Omarchy*) present_terminal omarchy-update ;;
|
||||||
*Config*) show_update_config_menu ;;
|
*Config*) show_update_config_menu ;;
|
||||||
*Themes*) present_terminal omarchy-theme-update ;;
|
*Themes*) present_terminal omarchy-theme-update ;;
|
||||||
*Process*) show_update_process_menu ;;
|
*Process*) show_update_process_menu ;;
|
||||||
*Hardware*) show_update_hardware_menu ;;
|
*Hardware*) show_update_hardware_menu ;;
|
||||||
*Timezone*) omarchy-cmd-tzupdate ;;
|
*Timezone*) omarchy-cmd-tzupdate ;;
|
||||||
|
*Password*) show_update_password_menu ;;
|
||||||
*) show_main_menu ;;
|
*) show_main_menu ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
@@ -368,6 +387,14 @@ show_update_hardware_menu() {
|
|||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
show_update_password_menu() {
|
||||||
|
case $(menu "Update Password" " Drive Encryption\n User") in
|
||||||
|
*Drive*) present_terminal omarchy-drive-set-password ;;
|
||||||
|
*User*) present_terminal passwd ;;
|
||||||
|
*) show_update_menu ;;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
show_system_menu() {
|
show_system_menu() {
|
||||||
case $(menu "System" " Lock\n Screensaver\n Suspend\n Relaunch\n Restart\n Shutdown") in
|
case $(menu "System" " Lock\n Screensaver\n Suspend\n Relaunch\n Restart\n Shutdown") in
|
||||||
*Lock*) omarchy-lock-screen ;;
|
*Lock*) omarchy-lock-screen ;;
|
||||||
@@ -376,7 +403,7 @@ show_system_menu() {
|
|||||||
*Relaunch*) uwsm stop ;;
|
*Relaunch*) uwsm stop ;;
|
||||||
*Restart*) systemctl reboot ;;
|
*Restart*) systemctl reboot ;;
|
||||||
*Shutdown*) systemctl poweroff ;;
|
*Shutdown*) systemctl poweroff ;;
|
||||||
*) show_main_menu ;;
|
*) back_to show_main_menu ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -405,6 +432,7 @@ go_to_menu() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if [[ -n "$1" ]]; then
|
if [[ -n "$1" ]]; then
|
||||||
|
BACK_TO_EXIT=true
|
||||||
go_to_menu "$1"
|
go_to_menu "$1"
|
||||||
else
|
else
|
||||||
show_main_menu
|
show_main_menu
|
||||||
|
|||||||
@@ -83,7 +83,11 @@ parse_bindings() {
|
|||||||
}'
|
}'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
monitor_height=$(hyprctl monitors -j | jq -r '.[] | select(.focused == true) | .height')
|
||||||
|
menu_height=$((monitor_height * 40 / 100))
|
||||||
|
|
||||||
dynamic_bindings | \
|
dynamic_bindings | \
|
||||||
sort -u | \
|
sort -u | \
|
||||||
parse_bindings | \
|
parse_bindings | \
|
||||||
walker --dmenu --theme keybindings -p 'Keybindings'
|
walker --dmenu --theme keybindings -p 'Keybindings' -w 800 -h "$menu_height"
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
fzf_args=(
|
fzf_args=(
|
||||||
--multi
|
--multi
|
||||||
--preview 'yay -Sii {1}'
|
--preview 'yay -Sii {1}'
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
fzf_args=(
|
fzf_args=(
|
||||||
--multi
|
--multi
|
||||||
--preview 'pacman -Sii {1}'
|
--preview 'pacman -Sii {1}'
|
||||||
@@ -19,6 +17,5 @@ pkg_names=$(pacman -Slq | fzf "${fzf_args[@]}")
|
|||||||
if [[ -n "$pkg_names" ]]; then
|
if [[ -n "$pkg_names" ]]; then
|
||||||
# Convert newline-separated selections to space-separated for yay
|
# Convert newline-separated selections to space-separated for yay
|
||||||
echo "$pkg_names" | tr '\n' ' ' | xargs sudo pacman -S --noconfirm
|
echo "$pkg_names" | tr '\n' ' ' | xargs sudo pacman -S --noconfirm
|
||||||
sudo updatedb
|
|
||||||
omarchy-show-done
|
omarchy-show-done
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -17,6 +17,5 @@ pkg_names=$(yay -Qqe | fzf "${fzf_args[@]}")
|
|||||||
if [[ -n "$pkg_names" ]]; then
|
if [[ -n "$pkg_names" ]]; then
|
||||||
# Convert newline-separated selections to space-separated for yay
|
# Convert newline-separated selections to space-separated for yay
|
||||||
echo "$pkg_names" | tr '\n' ' ' | xargs sudo pacman -Rns --noconfirm
|
echo "$pkg_names" | tr '\n' ' ' | xargs sudo pacman -Rns --noconfirm
|
||||||
sudo updatedb
|
|
||||||
omarchy-show-done
|
omarchy-show-done
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -1,6 +1,10 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [[ "$1" == "-y" ]]; then
|
sudo cp ~/.local/share/omarchy/default/plymouth/* /usr/share/plymouth/themes/omarchy/
|
||||||
sudo cp ~/.local/share/omarchy/default/plymouth/* /usr/share/plymouth/themes/omarchy/
|
sudo plymouth-set-default-theme omarchy
|
||||||
sudo plymouth-set-default-theme -R omarchy
|
|
||||||
|
if command -v limine-mkinitcpio &>/dev/null; then
|
||||||
|
sudo limine-mkinitcpio
|
||||||
|
else
|
||||||
|
sudo mkinitcpio -P
|
||||||
fi
|
fi
|
||||||
@@ -37,8 +37,6 @@ EOF
|
|||||||
DHCP)
|
DHCP)
|
||||||
sudo tee /etc/systemd/resolved.conf >/dev/null <<'EOF'
|
sudo tee /etc/systemd/resolved.conf >/dev/null <<'EOF'
|
||||||
[Resolve]
|
[Resolve]
|
||||||
DNS=
|
|
||||||
FallbackDNS=
|
|
||||||
DNSOverTLS=no
|
DNSOverTLS=no
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|||||||
@@ -7,4 +7,4 @@ omarchy-update-git
|
|||||||
omarchy-migrate
|
omarchy-migrate
|
||||||
omarchy-update-system-pkgs
|
omarchy-update-system-pkgs
|
||||||
omarchy-update-restart
|
omarchy-update-restart
|
||||||
omarchy-restart-waybar # removes update-available icon
|
omarchy-update-available-reset
|
||||||
|
|||||||
4
bin/omarchy-update-available-reset
Executable file
4
bin/omarchy-update-available-reset
Executable file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Ensure Waybar icon offering the available update is removed
|
||||||
|
pkill -RTMIN+7 waybar
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
$terminal = uwsm app -- alacritty
|
$terminal = uwsm app -- alacritty
|
||||||
$browser = omarchy-launch-browser
|
$browser = omarchy-launch-browser
|
||||||
|
|
||||||
bindd = SUPER, return, Terminal, exec, $terminal --working-directory=$(omarchy-cmd-terminal-cwd)
|
bindd = SUPER, return, Terminal, exec, $terminal --working-directory="$(omarchy-cmd-terminal-cwd)"
|
||||||
bindd = SUPER, F, File manager, exec, uwsm app -- nautilus --new-window
|
bindd = SUPER, F, File manager, exec, uwsm app -- nautilus --new-window
|
||||||
bindd = SUPER, B, Browser, exec, $browser
|
bindd = SUPER, B, Browser, exec, $browser
|
||||||
bindd = SUPER, M, Music, exec, uwsm app -- spotify
|
bindd = SUPER, M, Music, exec, uwsm app -- spotify
|
||||||
|
|||||||
@@ -9,6 +9,9 @@ input {
|
|||||||
repeat_rate = 40
|
repeat_rate = 40
|
||||||
repeat_delay = 600
|
repeat_delay = 600
|
||||||
|
|
||||||
|
# Start with numlock on by default
|
||||||
|
numlock_by_default = true
|
||||||
|
|
||||||
# Increase sensitity for mouse/trackpack (default: 0)
|
# Increase sensitity for mouse/trackpack (default: 0)
|
||||||
# sensitivity = 0.35
|
# sensitivity = 0.35
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
"spacing": 0,
|
"spacing": 0,
|
||||||
"height": 26,
|
"height": 26,
|
||||||
"modules-left": ["custom/omarchy", "hyprland/workspaces"],
|
"modules-left": ["custom/omarchy", "hyprland/workspaces"],
|
||||||
"modules-center": ["clock", "custom/update"],
|
"modules-center": ["clock", "custom/update", "custom/screenrecording-indicator"],
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
"group/tray-expander",
|
"group/tray-expander",
|
||||||
"bluetooth",
|
"bluetooth",
|
||||||
@@ -48,6 +48,7 @@
|
|||||||
"exec": "omarchy-update-available",
|
"exec": "omarchy-update-available",
|
||||||
"on-click": "omarchy-launch-floating-terminal-with-presentation omarchy-update",
|
"on-click": "omarchy-launch-floating-terminal-with-presentation omarchy-update",
|
||||||
"tooltip-format": "Omarchy update available",
|
"tooltip-format": "Omarchy update available",
|
||||||
|
"signal": 7,
|
||||||
"interval": 3600
|
"interval": 3600
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -57,8 +58,8 @@
|
|||||||
"on-click": "alacritty -e btop"
|
"on-click": "alacritty -e btop"
|
||||||
},
|
},
|
||||||
"clock": {
|
"clock": {
|
||||||
"format": "{:%A %H:%M}",
|
"format": "{:L%A %H:%M}",
|
||||||
"format-alt": "{:%d %B W%V %Y}",
|
"format-alt": "{:L%d %B W%V %Y}",
|
||||||
"tooltip": false,
|
"tooltip": false,
|
||||||
"on-click-right": "omarchy-cmd-tzupdate"
|
"on-click-right": "omarchy-cmd-tzupdate"
|
||||||
},
|
},
|
||||||
@@ -124,6 +125,12 @@
|
|||||||
"format": " ",
|
"format": " ",
|
||||||
"tooltip": false
|
"tooltip": false
|
||||||
},
|
},
|
||||||
|
"custom/screenrecording-indicator": {
|
||||||
|
"on-click": "omarchy-cmd-screenrecord",
|
||||||
|
"exec": "$OMARCHY_PATH/default/waybar/indicators/screen-recording.sh",
|
||||||
|
"signal": 8,
|
||||||
|
"return-type": "json"
|
||||||
|
},
|
||||||
"tray": {
|
"tray": {
|
||||||
"icon-size": 12,
|
"icon-size": 12,
|
||||||
"spacing": 12
|
"spacing": 12
|
||||||
|
|||||||
@@ -37,6 +37,7 @@
|
|||||||
#bluetooth,
|
#bluetooth,
|
||||||
#pulseaudio,
|
#pulseaudio,
|
||||||
#custom-omarchy,
|
#custom-omarchy,
|
||||||
|
#custom-screenrecording-indicator,
|
||||||
#custom-update {
|
#custom-update {
|
||||||
min-width: 12px;
|
min-width: 12px;
|
||||||
margin: 0 7.5px;
|
margin: 0 7.5px;
|
||||||
@@ -61,3 +62,13 @@ tooltip {
|
|||||||
.hidden {
|
.hidden {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#custom-screenrecording-indicator {
|
||||||
|
min-width: 12px;
|
||||||
|
margin-left: 8.75px;
|
||||||
|
font-size: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-screenrecording-indicator.active {
|
||||||
|
color: #a55555;
|
||||||
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Browser types
|
# Browser types
|
||||||
windowrule = tag +chromium-based-browser, class:([cC]hrom(e|ium)|[bB]rave-browser|Microsoft-edge|Vivaldi-stable)
|
windowrule = tag +chromium-based-browser, class:([cC]hrom(e|ium)|[bB]rave-browser|Microsoft-edge|Vivaldi-stable)
|
||||||
windowrule = tag +firefox-based-browser, class:(Firefox|zen|librewolf)
|
windowrule = tag +firefox-based-browser, class:([fF]irefox|zen|librewolf)
|
||||||
|
|
||||||
# Force chromium-based browsers into a tile to deal with --app bug
|
# Force chromium-based browsers into a tile to deal with --app bug
|
||||||
windowrule = tile, tag:chromium-based-browser
|
windowrule = tile, tag:chromium-based-browser
|
||||||
@@ -10,4 +10,4 @@ windowrule = opacity 1 0.97, tag:chromium-based-browser
|
|||||||
windowrule = opacity 1 0.97, tag:firefox-based-browser
|
windowrule = opacity 1 0.97, tag:firefox-based-browser
|
||||||
|
|
||||||
# Some video sites should never have opacity applied to them
|
# Some video sites should never have opacity applied to them
|
||||||
windowrule = opacity 1.0 1.0, initialTitle:(youtube\.com_/|app\.zoom\.us_/wc/home)
|
windowrule = opacity 1.0 1.0, initialTitle:((?i)(?:[a-z0-9-]+\.)*youtube\.com_/|app\.zoom\.us_/wc/home)
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ bindld = , XF86PowerOff, Power menu, exec, omarchy-menu system
|
|||||||
bindd = SUPER, K, Show key bindings, exec, omarchy-menu-keybindings
|
bindd = SUPER, K, Show key bindings, exec, omarchy-menu-keybindings
|
||||||
|
|
||||||
# Aesthetics
|
# Aesthetics
|
||||||
bindd = SUPER SHIFT, SPACE, Toggle top bar, exec, pkill -SIGUSR1 waybar
|
bindd = SUPER SHIFT, SPACE, Toggle top bar, exec, omarchy-toggle-waybar
|
||||||
bindd = SUPER CTRL, SPACE, Next background in theme, exec, omarchy-theme-bg-next
|
bindd = SUPER CTRL, SPACE, Next background in theme, exec, omarchy-theme-bg-next
|
||||||
bindd = SUPER SHIFT CTRL, SPACE, Pick new theme, exec, omarchy-menu theme
|
bindd = SUPER SHIFT CTRL, SPACE, Pick new theme, exec, omarchy-menu theme
|
||||||
|
|
||||||
@@ -33,8 +33,10 @@ bindd = SHIFT, PRINT, Screenshot of window, exec, omarchy-cmd-screenshot window
|
|||||||
bindd = CTRL, PRINT, Screenshot of display, exec, omarchy-cmd-screenshot output
|
bindd = CTRL, PRINT, Screenshot of display, exec, omarchy-cmd-screenshot output
|
||||||
|
|
||||||
# Screen recordings
|
# Screen recordings
|
||||||
bindd = ALT, PRINT, Screen record a region, exec, omarchy-cmd-screenrecord
|
bindd = ALT, PRINT, Screen record a region, exec, omarchy-cmd-screenrecord region
|
||||||
|
bindd = ALT SHIFT, PRINT, Screen record a region with audio, exec, omarchy-cmd-screenrecord region audio
|
||||||
bindd = CTRL ALT, PRINT, Screen record display, exec, omarchy-cmd-screenrecord output
|
bindd = CTRL ALT, PRINT, Screen record display, exec, omarchy-cmd-screenrecord output
|
||||||
|
bindd = CTRL ALT SHIFT, PRINT, Screen record display with audio, exec, omarchy-cmd-screenrecord output audio
|
||||||
|
|
||||||
# Color picker
|
# Color picker
|
||||||
bindd = SUPER, PRINT, Color picker, exec, pkill hyprpicker || hyprpicker -a
|
bindd = SUPER, PRINT, Color picker, exec, pkill hyprpicker || hyprpicker -a
|
||||||
|
|||||||
@@ -10,6 +10,11 @@ env = SDL_VIDEODRIVER,wayland
|
|||||||
env = MOZ_ENABLE_WAYLAND,1
|
env = MOZ_ENABLE_WAYLAND,1
|
||||||
env = ELECTRON_OZONE_PLATFORM_HINT,wayland
|
env = ELECTRON_OZONE_PLATFORM_HINT,wayland
|
||||||
env = OZONE_PLATFORM,wayland
|
env = OZONE_PLATFORM,wayland
|
||||||
|
env = XDG_SESSION_TYPE,wayland
|
||||||
|
|
||||||
|
# Allow better support for screen sharing (Google Meet, Discord, etc)
|
||||||
|
env = XDG_CURRENT_DESKTOP,Hyprland
|
||||||
|
env = XDG_SESSION_DESKTOP,Hyprland
|
||||||
|
|
||||||
xwayland {
|
xwayland {
|
||||||
force_zero_scaling = true
|
force_zero_scaling = true
|
||||||
|
|||||||
16
default/mako/core.ini
Normal file
16
default/mako/core.ini
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
anchor=top-right
|
||||||
|
default-timeout=5000
|
||||||
|
width=420
|
||||||
|
height=110
|
||||||
|
|
||||||
|
[app-name=Spotify]
|
||||||
|
invisible=1
|
||||||
|
|
||||||
|
[mode=do-not-disturb]
|
||||||
|
invisible=true
|
||||||
|
|
||||||
|
[mode=do-not-disturb app-name=notify-send]
|
||||||
|
invisible=false
|
||||||
|
|
||||||
|
[urgency=critical]
|
||||||
|
default-timeout=0
|
||||||
@@ -7,3 +7,5 @@ ModuleName=script
|
|||||||
ImageDir=/usr/share/plymouth/themes/omarchy
|
ImageDir=/usr/share/plymouth/themes/omarchy
|
||||||
ScriptFile=/usr/share/plymouth/themes/omarchy/omarchy.script
|
ScriptFile=/usr/share/plymouth/themes/omarchy/omarchy.script
|
||||||
ConsoleLogBackgroundColor=0x1a1b26
|
ConsoleLogBackgroundColor=0x1a1b26
|
||||||
|
MonospaceFont=Cantarell 11
|
||||||
|
Font=Cantarell 11
|
||||||
|
|||||||
7
default/waybar/indicators/screen-recording.sh
Executable file
7
default/waybar/indicators/screen-recording.sh
Executable file
@@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if pgrep -x wl-screenrec >/dev/null || pgrep -x wf-recorder >/dev/null; then
|
||||||
|
echo '{"text": "", "tooltip": "Stop recording", "class": "active"}'
|
||||||
|
else
|
||||||
|
echo '{"text": ""}'
|
||||||
|
fi
|
||||||
@@ -41,12 +41,14 @@ source $OMARCHY_INSTALL/config/mimetypes.sh
|
|||||||
source $OMARCHY_INSTALL/config/localdb.sh
|
source $OMARCHY_INSTALL/config/localdb.sh
|
||||||
source $OMARCHY_INSTALL/config/sudoless-asdcontrol.sh
|
source $OMARCHY_INSTALL/config/sudoless-asdcontrol.sh
|
||||||
source $OMARCHY_INSTALL/config/hardware/network.sh
|
source $OMARCHY_INSTALL/config/hardware/network.sh
|
||||||
|
source $OMARCHY_INSTALL/config/hardware/set-wireless-regdom.sh
|
||||||
source $OMARCHY_INSTALL/config/hardware/fix-fkeys.sh
|
source $OMARCHY_INSTALL/config/hardware/fix-fkeys.sh
|
||||||
source $OMARCHY_INSTALL/config/hardware/bluetooth.sh
|
source $OMARCHY_INSTALL/config/hardware/bluetooth.sh
|
||||||
source $OMARCHY_INSTALL/config/hardware/printer.sh
|
source $OMARCHY_INSTALL/config/hardware/printer.sh
|
||||||
source $OMARCHY_INSTALL/config/hardware/usb-autosuspend.sh
|
source $OMARCHY_INSTALL/config/hardware/usb-autosuspend.sh
|
||||||
source $OMARCHY_INSTALL/config/hardware/ignore-power-button.sh
|
source $OMARCHY_INSTALL/config/hardware/ignore-power-button.sh
|
||||||
source $OMARCHY_INSTALL/config/hardware/nvidia.sh
|
source $OMARCHY_INSTALL/config/hardware/nvidia.sh
|
||||||
|
source $OMARCHY_INSTALL/config/hardware/intel.sh
|
||||||
source $OMARCHY_INSTALL/config/hardware/fix-f13-amd-audio-input.sh
|
source $OMARCHY_INSTALL/config/hardware/fix-f13-amd-audio-input.sh
|
||||||
|
|
||||||
# Login
|
# Login
|
||||||
|
|||||||
@@ -1,5 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Ensure git settings live under ~/.config
|
||||||
|
mkdir -p ~/.config/git
|
||||||
|
touch ~/.config/git/config
|
||||||
|
|
||||||
# Set common git aliases
|
# Set common git aliases
|
||||||
git config --global alias.co checkout
|
git config --global alias.co checkout
|
||||||
git config --global alias.br branch
|
git config --global alias.br branch
|
||||||
|
|||||||
14
install/config/hardware/intel.sh
Executable file
14
install/config/hardware/intel.sh
Executable file
@@ -0,0 +1,14 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# This installs hardware video acceleration for Intel GPUs
|
||||||
|
# Check if we have an Intel GPU at all
|
||||||
|
if INTEL_GPU=$(lspci | grep -iE 'vga|3d|display' | grep -i 'intel'); then
|
||||||
|
# HD Graphics and newer uses intel-media-driver
|
||||||
|
if [[ "${INTEL_GPU,,}" =~ "hd graphics"|"xe"|"iris" ]]; then
|
||||||
|
sudo pacman -S --needed --noconfirm intel-media-driver
|
||||||
|
elif [[ "${INTEL_GPU,,}" =~ "gma" ]]; then
|
||||||
|
# Older generations from 2008 to ~2014-2017 use libva-intel-driver
|
||||||
|
sudo pacman -S --needed --noconfirm libva-intel-driver
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
@@ -32,7 +32,7 @@ if [ -n "$(lspci | grep -i 'nvidia')" ]; then
|
|||||||
|
|
||||||
# Enable multilib repository for 32-bit libraries
|
# Enable multilib repository for 32-bit libraries
|
||||||
if ! grep -q "^\[multilib\]" /etc/pacman.conf; then
|
if ! grep -q "^\[multilib\]" /etc/pacman.conf; then
|
||||||
sudo sed -i '/^#\[multilib\]/,/^#Include/ s/^#//' /etc/pacman.conf
|
sudo sed -i '/^#\s*\[multilib\]/,/^#\s*Include/ s/^#\s*//' /etc/pacman.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# force package database refresh
|
# force package database refresh
|
||||||
|
|||||||
@@ -7,6 +7,9 @@ sudo mkdir -p /etc/systemd/resolved.conf.d
|
|||||||
echo -e "[Resolve]\nMulticastDNS=no" | sudo tee /etc/systemd/resolved.conf.d/10-disable-multicast.conf
|
echo -e "[Resolve]\nMulticastDNS=no" | sudo tee /etc/systemd/resolved.conf.d/10-disable-multicast.conf
|
||||||
chrootable_systemctl_enable avahi-daemon.service
|
chrootable_systemctl_enable avahi-daemon.service
|
||||||
|
|
||||||
|
# Enable mDNS resolution for .local domains
|
||||||
|
sudo sed -i 's/^hosts:.*/hosts: mymachines mdns_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] files myhostname dns/' /etc/nsswitch.conf
|
||||||
|
|
||||||
# Enable automatically adding remote printers
|
# Enable automatically adding remote printers
|
||||||
if ! grep -q '^CreateRemotePrinters Yes' /etc/cups/cups-browsed.conf; then
|
if ! grep -q '^CreateRemotePrinters Yes' /etc/cups/cups-browsed.conf; then
|
||||||
echo 'CreateRemotePrinters Yes' | sudo tee -a /etc/cups/cups-browsed.conf
|
echo 'CreateRemotePrinters Yes' | sudo tee -a /etc/cups/cups-browsed.conf
|
||||||
|
|||||||
36
install/config/hardware/set-wireless-regdom.sh
Executable file
36
install/config/hardware/set-wireless-regdom.sh
Executable file
@@ -0,0 +1,36 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# First check that wireless-regdb is there
|
||||||
|
if [ -f "/etc/conf.d/wireless-regdom" ]; then
|
||||||
|
unset WIRELESS_REGDOM
|
||||||
|
. /etc/conf.d/wireless-regdom
|
||||||
|
fi
|
||||||
|
|
||||||
|
# If the region is already set, we're done
|
||||||
|
if [ ! -n "${WIRELESS_REGDOM}" ]; then
|
||||||
|
# Get the current timezone
|
||||||
|
if [ -e "/etc/localtime" ]; then
|
||||||
|
TIMEZONE=$(readlink -f /etc/localtime)
|
||||||
|
TIMEZONE=${TIMEZONE#/usr/share/zoneinfo/}
|
||||||
|
|
||||||
|
# Some timezones are formatted with the two letter country code at the start
|
||||||
|
COUNTRY="${TIMEZONE%%/*}"
|
||||||
|
|
||||||
|
# If we don't have a two letter country, get it from the timezone table
|
||||||
|
if [[ ! "$COUNTRY" =~ ^[A-Z]{2}$ ]] && [ -f "/usr/share/zoneinfo/zone.tab" ]; then
|
||||||
|
COUNTRY=$(awk -v tz="$TIMEZONE" '$3 == tz {print $1; exit}' /usr/share/zoneinfo/zone.tab)
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Check if we have a two letter country code
|
||||||
|
if [[ "$COUNTRY" =~ ^[A-Z]{2}$ ]]; then
|
||||||
|
# Append it to the wireless-regdom conf file that is used at boot
|
||||||
|
echo "WIRELESS_REGDOM=\"$COUNTRY\"" | sudo tee -a /etc/conf.d/wireless-regdom > /dev/null
|
||||||
|
|
||||||
|
# Also set it one off now
|
||||||
|
if command -v iw &> /dev/null; then
|
||||||
|
sudo iw reg set ${COUNTRY}
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
@@ -1,9 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
gsettings set org.gnome.desktop.interface gtk-theme "Adwaita-dark"
|
|
||||||
gsettings set org.gnome.desktop.interface color-scheme "prefer-dark"
|
|
||||||
gsettings set org.gnome.desktop.interface icon-theme "Yaru-blue"
|
|
||||||
|
|
||||||
# Set links for Nautilius action icons
|
# Set links for Nautilius action icons
|
||||||
sudo ln -snf /usr/share/icons/Adwaita/symbolic/actions/go-previous-symbolic.svg /usr/share/icons/Yaru/scalable/actions/go-previous-symbolic.svg
|
sudo ln -snf /usr/share/icons/Adwaita/symbolic/actions/go-previous-symbolic.svg /usr/share/icons/Yaru/scalable/actions/go-previous-symbolic.svg
|
||||||
sudo ln -snf /usr/share/icons/Adwaita/symbolic/actions/go-next-symbolic.svg /usr/share/icons/Yaru/scalable/actions/go-next-symbolic.svg
|
sudo ln -snf /usr/share/icons/Adwaita/symbolic/actions/go-next-symbolic.svg /usr/share/icons/Yaru/scalable/actions/go-next-symbolic.svg
|
||||||
|
|||||||
@@ -17,6 +17,9 @@ sudo ufw allow in proto udp from 172.16.0.0/12 to 172.17.0.1 port 53 comment 'al
|
|||||||
# Turn on the firewall
|
# Turn on the firewall
|
||||||
sudo ufw --force enable
|
sudo ufw --force enable
|
||||||
|
|
||||||
|
# Enable UFW systemd service to start on boot
|
||||||
|
sudo systemctl enable ufw
|
||||||
|
|
||||||
# Turn on Docker protections
|
# Turn on Docker protections
|
||||||
sudo ufw-docker install
|
sudo ufw-docker install
|
||||||
sudo ufw reload
|
sudo ufw reload
|
||||||
|
|||||||
5
install/first-run/gnome-theme.sh
Executable file
5
install/first-run/gnome-theme.sh
Executable file
@@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
gsettings set org.gnome.desktop.interface gtk-theme "Adwaita-dark"
|
||||||
|
gsettings set org.gnome.desktop.interface color-scheme "prefer-dark"
|
||||||
|
gsettings set org.gnome.desktop.interface icon-theme "Yaru-blue"
|
||||||
@@ -114,6 +114,7 @@ sudo pacman -S --noconfirm --needed \
|
|||||||
waybar \
|
waybar \
|
||||||
wf-recorder \
|
wf-recorder \
|
||||||
whois \
|
whois \
|
||||||
|
wireless-regdb \
|
||||||
wiremix \
|
wiremix \
|
||||||
wireplumber \
|
wireplumber \
|
||||||
wl-clip-persist \
|
wl-clip-persist \
|
||||||
|
|||||||
@@ -31,4 +31,7 @@ catch_errors() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Ensure gum is available as early as possible to retry errors
|
||||||
|
sudo pacman -S --noconfirm gum
|
||||||
|
|
||||||
trap catch_errors ERR
|
trap catch_errors ERR
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ omarchy-refresh-config uwsm/env
|
|||||||
echo -e "\n\e[31mOmarchy bins have been added to PATH (and OMARCHY_PATH is now system-wide).\nYou must immediately relaunch Hyprland or most Omarchy cmds won't work.\nPlease run Omarchy > Update again after the quick relaunch is complete.\e[0m"
|
echo -e "\n\e[31mOmarchy bins have been added to PATH (and OMARCHY_PATH is now system-wide).\nYou must immediately relaunch Hyprland or most Omarchy cmds won't work.\nPlease run Omarchy > Update again after the quick relaunch is complete.\e[0m"
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
mkdir -p ~/.local/state/omarchy/migrations
|
||||||
gum confirm "Ready to relaunch Hyprland? (All applications will be closed)" &&
|
gum confirm "Ready to relaunch Hyprland? (All applications will be closed)" &&
|
||||||
touch ~/.local/state/omarchy/migrations/1751134560.sh &&
|
touch ~/.local/state/omarchy/migrations/1751134560.sh &&
|
||||||
uwsm stop
|
uwsm stop
|
||||||
|
|||||||
@@ -3,6 +3,3 @@ echo "Add new Omarchy Menu icon to Waybar"
|
|||||||
mkdir -p ~/.local/share/fonts
|
mkdir -p ~/.local/share/fonts
|
||||||
cp ~/.local/share/omarchy/config/omarchy.ttf ~/.local/share/fonts/
|
cp ~/.local/share/omarchy/config/omarchy.ttf ~/.local/share/fonts/
|
||||||
fc-cache
|
fc-cache
|
||||||
|
|
||||||
echo
|
|
||||||
gum confirm "Replace current Waybar config (backup will be made)?" && omarchy-refresh-waybar
|
|
||||||
|
|||||||
5
migrations/1756650507.sh
Normal file
5
migrations/1756650507.sh
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
echo "Fix JetBrains font setting"
|
||||||
|
|
||||||
|
if [[ $(omarchy-font-current) == JetBrains* ]]; then
|
||||||
|
omarchy-font-set "JetBrainsMono Nerd Font"
|
||||||
|
fi
|
||||||
11
migrations/1756911131.sh
Executable file
11
migrations/1756911131.sh
Executable file
@@ -0,0 +1,11 @@
|
|||||||
|
echo "Enable UFW systemd service for existing installations"
|
||||||
|
|
||||||
|
if omarchy-cmd-present ufw; then
|
||||||
|
if sudo ufw status | grep -q "Status: active\|22/tcp\|53317"; then
|
||||||
|
if ! systemctl is-enabled ufw >/dev/null 2>&1; then
|
||||||
|
sudo systemctl enable ufw --now
|
||||||
|
echo "UFW systemd service enabled"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
6
migrations/1757279511.sh
Normal file
6
migrations/1757279511.sh
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
echo "Add locale to the waybar clock format"
|
||||||
|
|
||||||
|
sed -i \
|
||||||
|
-e 's/{:%A %H:%M}/{:L%A %H:%M}/' \
|
||||||
|
-e 's/{:%d %B W%V %Y}/{:L%d %B W%V %Y}/' \
|
||||||
|
"$HOME/.config/waybar/config.jsonc"
|
||||||
8
migrations/1757361127.sh
Normal file
8
migrations/1757361127.sh
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
echo "Fix DHCP DNS to allow VPN DNS override"
|
||||||
|
|
||||||
|
if [ -f /etc/systemd/resolved.conf ]; then
|
||||||
|
if grep -q "^DNS=$" /etc/systemd/resolved.conf && grep -q "^FallbackDNS=$" /etc/systemd/resolved.conf; then
|
||||||
|
sudo sed -i '/^DNS=$/d; /^FallbackDNS=$/d' /etc/systemd/resolved.conf
|
||||||
|
sudo systemctl restart systemd-resolved
|
||||||
|
fi
|
||||||
|
fi
|
||||||
7
migrations/1757361128.sh
Normal file
7
migrations/1757361128.sh
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
echo "Enable mDNS resolution for existing Avahi installations"
|
||||||
|
|
||||||
|
if systemctl is-enabled avahi-daemon.service >/dev/null 2>&1; then
|
||||||
|
if ! grep -q "mdns_minimal" /etc/nsswitch.conf; then
|
||||||
|
sudo sed -i 's/^hosts:.*/hosts: mymachines mdns_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] files myhostname dns/' /etc/nsswitch.conf
|
||||||
|
fi
|
||||||
|
fi
|
||||||
4
migrations/1757483378.sh
Normal file
4
migrations/1757483378.sh
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
echo "6Ghz Wi-Fi + Intel graphics acceleration for existing installations"
|
||||||
|
|
||||||
|
$OMARCHY_PATH/install/config/hardware/set-wireless-regdom.sh
|
||||||
|
$OMARCHY_PATH/install/config/hardware/intel.sh
|
||||||
3
migrations/1757511571.sh
Normal file
3
migrations/1757511571.sh
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
echo "Add screen recording indicator to Waybar"
|
||||||
|
|
||||||
|
gum confirm "Replace current Waybar config (backup will be made)?" && omarchy-refresh-waybar
|
||||||
5
migrations/1757512135.sh
Normal file
5
migrations/1757512135.sh
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
echo "Make it possible to remove update-available icon with signal in Waybar"
|
||||||
|
|
||||||
|
if ! grep -q '"signal": 7' ~/.config/waybar/config.jsonc; then
|
||||||
|
sed -i '/"tooltip-format": "Omarchy update available",/a\ "signal": 7,' ~/.config/waybar/config.jsonc
|
||||||
|
fi
|
||||||
2
migrations/1757515650.sh
Normal file
2
migrations/1757515650.sh
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
echo "Update plymouth theme to avoid freetype2 issue that broke the styled login screen"
|
||||||
|
omarchy-refresh-plymouth
|
||||||
@@ -1,25 +1,10 @@
|
|||||||
|
include=~/.local/share/omarchy/default/mako/core.ini
|
||||||
|
|
||||||
text-color=#4c4f69
|
text-color=#4c4f69
|
||||||
border-color=#1e66f5
|
border-color=#1e66f5
|
||||||
background-color=#eff1f5
|
background-color=#eff1f5
|
||||||
width=420
|
|
||||||
height=110
|
|
||||||
padding=10
|
padding=10
|
||||||
border-size=2
|
border-size=2
|
||||||
font=Liberation Sans 11
|
font=Liberation Sans 11
|
||||||
anchor=top-right
|
|
||||||
outer-margin=20
|
|
||||||
default-timeout=5000
|
|
||||||
max-icon-size=32
|
max-icon-size=32
|
||||||
|
outer-margin=20
|
||||||
[app-name=Spotify]
|
|
||||||
invisible=1
|
|
||||||
|
|
||||||
[mode=do-not-disturb]
|
|
||||||
invisible=true
|
|
||||||
|
|
||||||
[mode=do-not-disturb app-name=notify-send]
|
|
||||||
invisible=false
|
|
||||||
|
|
||||||
|
|
||||||
[urgency=critical]
|
|
||||||
default-timeout=0
|
|
||||||
@@ -1,24 +1,10 @@
|
|||||||
|
include=~/.local/share/omarchy/default/mako/core.ini
|
||||||
|
|
||||||
text-color=#cad3f5
|
text-color=#cad3f5
|
||||||
border-color=#c6d0f5
|
border-color=#c6d0f5
|
||||||
background-color=#24273a
|
background-color=#24273a
|
||||||
width=420
|
|
||||||
height=110
|
|
||||||
padding=10
|
padding=10
|
||||||
border-size=2
|
border-size=2
|
||||||
font=Liberation Sans 11
|
font=Liberation Sans 11
|
||||||
anchor=top-right
|
|
||||||
outer-margin=20
|
|
||||||
default-timeout=5000
|
|
||||||
max-icon-size=32
|
max-icon-size=32
|
||||||
|
outer-margin=20
|
||||||
[app-name=Spotify]
|
|
||||||
invisible=1
|
|
||||||
|
|
||||||
[mode=do-not-disturb]
|
|
||||||
invisible=true
|
|
||||||
|
|
||||||
[mode=do-not-disturb app-name=notify-send]
|
|
||||||
invisible=false
|
|
||||||
|
|
||||||
[urgency=critical]
|
|
||||||
default-timeout=0
|
|
||||||
@@ -1,24 +1,10 @@
|
|||||||
|
include=~/.local/share/omarchy/default/mako/core.ini
|
||||||
|
|
||||||
text-color=#d3c6aa
|
text-color=#d3c6aa
|
||||||
border-color=#d3c6aa
|
border-color=#d3c6aa
|
||||||
background-color=#2d353b
|
background-color=#2d353b
|
||||||
width=420
|
|
||||||
height=110
|
|
||||||
padding=10
|
padding=10
|
||||||
border-size=2
|
border-size=2
|
||||||
font=Liberation Sans 11
|
font=Liberation Sans 11
|
||||||
anchor=top-right
|
|
||||||
outer-margin=20
|
|
||||||
default-timeout=5000
|
|
||||||
max-icon-size=32
|
max-icon-size=32
|
||||||
|
outer-margin=20
|
||||||
[app-name=Spotify]
|
|
||||||
invisible=1
|
|
||||||
|
|
||||||
[mode=do-not-disturb]
|
|
||||||
invisible=true
|
|
||||||
|
|
||||||
[mode=do-not-disturb app-name=notify-send]
|
|
||||||
invisible=false
|
|
||||||
|
|
||||||
[urgency=critical]
|
|
||||||
default-timeout=0
|
|
||||||
@@ -1,24 +1,10 @@
|
|||||||
|
include=~/.local/share/omarchy/default/mako/core.ini
|
||||||
|
|
||||||
text-color=#d4be98
|
text-color=#d4be98
|
||||||
border-color=#a89984
|
border-color=#a89984
|
||||||
background-color=#282828
|
background-color=#282828
|
||||||
width=420
|
|
||||||
height=110
|
|
||||||
padding=10
|
padding=10
|
||||||
border-size=2
|
border-size=2
|
||||||
font=Liberation Sans 11
|
font=Liberation Sans 11
|
||||||
anchor=top-right
|
|
||||||
outer-margin=20
|
|
||||||
default-timeout=5000
|
|
||||||
max-icon-size=32
|
max-icon-size=32
|
||||||
|
outer-margin=20
|
||||||
[app-name=Spotify]
|
|
||||||
invisible=1
|
|
||||||
|
|
||||||
[mode=do-not-disturb]
|
|
||||||
invisible=true
|
|
||||||
|
|
||||||
[mode=do-not-disturb app-name=notify-send]
|
|
||||||
invisible=false
|
|
||||||
|
|
||||||
[urgency=critical]
|
|
||||||
default-timeout=0
|
|
||||||
@@ -1,24 +1,10 @@
|
|||||||
|
include=~/.local/share/omarchy/default/mako/core.ini
|
||||||
|
|
||||||
text-color=#dcd7ba
|
text-color=#dcd7ba
|
||||||
border-color=#dcd7ba
|
border-color=#dcd7ba
|
||||||
background-color=#1f1f28
|
background-color=#1f1f28
|
||||||
width=420
|
|
||||||
height=110
|
|
||||||
padding=10
|
padding=10
|
||||||
border-size=2
|
border-size=2
|
||||||
font=Liberation Sans 11
|
font=Liberation Sans 11
|
||||||
anchor=top-right
|
|
||||||
outer-margin=20
|
|
||||||
default-timeout=5000
|
|
||||||
max-icon-size=32
|
max-icon-size=32
|
||||||
|
outer-margin=20
|
||||||
[app-name=Spotify]
|
|
||||||
invisible=1
|
|
||||||
|
|
||||||
[mode=do-not-disturb]
|
|
||||||
invisible=true
|
|
||||||
|
|
||||||
[mode=do-not-disturb app-name=notify-send]
|
|
||||||
invisible=false
|
|
||||||
|
|
||||||
[urgency=critical]
|
|
||||||
default-timeout=0
|
|
||||||
BIN
themes/matte-black/backgrounds/0-ship-at-sea.jpg
Normal file
BIN
themes/matte-black/backgrounds/0-ship-at-sea.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.6 MiB |
@@ -1,24 +1,10 @@
|
|||||||
|
include=~/.local/share/omarchy/default/mako/core.ini
|
||||||
|
|
||||||
text-color=#8a8a8d
|
text-color=#8a8a8d
|
||||||
border-color=#8A8A8D
|
border-color=#8A8A8D
|
||||||
background-color=#1e1e1e
|
background-color=#1e1e1e
|
||||||
width=420
|
|
||||||
height=110
|
|
||||||
padding=10
|
padding=10
|
||||||
border-size=2
|
border-size=2
|
||||||
font=Liberation Sans 11
|
font=Liberation Sans 11
|
||||||
anchor=top-right
|
|
||||||
outer-margin=20
|
|
||||||
default-timeout=5000
|
|
||||||
max-icon-size=32
|
max-icon-size=32
|
||||||
|
outer-margin=20
|
||||||
[app-name=Spotify]
|
|
||||||
invisible=1
|
|
||||||
|
|
||||||
[mode=do-not-disturb]
|
|
||||||
invisible=true
|
|
||||||
|
|
||||||
[mode=do-not-disturb app-name=notify-send]
|
|
||||||
invisible=false
|
|
||||||
|
|
||||||
[urgency=critical]
|
|
||||||
default-timeout=0
|
|
||||||
|
|||||||
@@ -1,24 +1,10 @@
|
|||||||
|
include=~/.local/share/omarchy/default/mako/core.ini
|
||||||
|
|
||||||
text-color=#d8dee9
|
text-color=#d8dee9
|
||||||
border-color=#D8DEE9
|
border-color=#D8DEE9
|
||||||
background-color=#2e3440
|
background-color=#2e3440
|
||||||
width=420
|
|
||||||
height=110
|
|
||||||
padding=10
|
padding=10
|
||||||
border-size=2
|
border-size=2
|
||||||
font=Liberation Sans 11
|
font=Liberation Sans 11
|
||||||
anchor=top-right
|
|
||||||
outer-margin=20
|
|
||||||
default-timeout=5000
|
|
||||||
max-icon-size=32
|
max-icon-size=32
|
||||||
|
outer-margin=20
|
||||||
[app-name=Spotify]
|
|
||||||
invisible=1
|
|
||||||
|
|
||||||
[mode=do-not-disturb]
|
|
||||||
invisible=true
|
|
||||||
|
|
||||||
[mode=do-not-disturb app-name=notify-send]
|
|
||||||
invisible=false
|
|
||||||
|
|
||||||
[urgency=critical]
|
|
||||||
default-timeout=0
|
|
||||||
@@ -1,24 +1,10 @@
|
|||||||
|
include=~/.local/share/omarchy/default/mako/core.ini
|
||||||
|
|
||||||
text-color=#C1C497
|
text-color=#C1C497
|
||||||
border-color=#214237
|
border-color=#214237
|
||||||
background-color=#11221C
|
background-color=#11221C
|
||||||
width=420
|
|
||||||
height=110
|
|
||||||
padding=10
|
padding=10
|
||||||
border-size=2
|
border-size=2
|
||||||
font=Liberation Sans 12
|
font=Liberation Sans 12
|
||||||
anchor=top-right
|
|
||||||
outer-margin=5
|
|
||||||
default-timeout=5000
|
|
||||||
max-icon-size=32
|
max-icon-size=32
|
||||||
|
outer-margin=5
|
||||||
[app-name=Spotify]
|
|
||||||
invisible=1
|
|
||||||
|
|
||||||
[mode=do-not-disturb]
|
|
||||||
invisible=true
|
|
||||||
|
|
||||||
[mode=do-not-disturb app-name=notify-send]
|
|
||||||
invisible=false
|
|
||||||
|
|
||||||
[urgency=critical]
|
|
||||||
default-timeout=0
|
|
||||||
@@ -22,7 +22,7 @@ white = "#f1e5e7"
|
|||||||
|
|
||||||
[colors.cursor]
|
[colors.cursor]
|
||||||
cursor = '#c3b7b8'
|
cursor = '#c3b7b8'
|
||||||
text = '#c3b7b8'
|
text = '#2c2525'
|
||||||
|
|
||||||
[colors.primary]
|
[colors.primary]
|
||||||
background = '#2c2525'
|
background = '#2c2525'
|
||||||
|
|||||||
@@ -1,24 +1,10 @@
|
|||||||
|
include=~/.local/share/omarchy/default/mako/core.ini
|
||||||
|
|
||||||
text-color=#e6d9db
|
text-color=#e6d9db
|
||||||
border-color=#e6d9db
|
border-color=#e6d9db
|
||||||
background-color=#2c2525
|
background-color=#2c2525
|
||||||
width=420
|
|
||||||
height=110
|
|
||||||
padding=10
|
padding=10
|
||||||
border-size=2
|
border-size=2
|
||||||
font=Liberation Sans 11
|
font=Liberation Sans 11
|
||||||
anchor=top-right
|
|
||||||
outer-margin=20
|
|
||||||
default-timeout=5000
|
|
||||||
max-icon-size=32
|
max-icon-size=32
|
||||||
|
outer-margin=20
|
||||||
[app-name=Spotify]
|
|
||||||
invisible=1
|
|
||||||
|
|
||||||
[mode=do-not-disturb]
|
|
||||||
invisible=true
|
|
||||||
|
|
||||||
[mode=do-not-disturb app-name=notify-send]
|
|
||||||
invisible=false
|
|
||||||
|
|
||||||
[urgency=critical]
|
|
||||||
default-timeout=0
|
|
||||||
@@ -1,24 +1,10 @@
|
|||||||
|
include=~/.local/share/omarchy/default/mako/core.ini
|
||||||
|
|
||||||
text-color=#575279
|
text-color=#575279
|
||||||
border-color=#575279
|
border-color=#575279
|
||||||
background-color=#faf4ed
|
background-color=#faf4ed
|
||||||
width=420
|
|
||||||
height=110
|
|
||||||
padding=10
|
padding=10
|
||||||
border-size=2
|
border-size=2
|
||||||
font=Liberation Sans 11
|
font=Liberation Sans 11
|
||||||
anchor=top-right
|
|
||||||
outer-margin=20
|
|
||||||
default-timeout=5000
|
|
||||||
max-icon-size=32
|
max-icon-size=32
|
||||||
|
outer-margin=20
|
||||||
[app-name=Spotify]
|
|
||||||
invisible=1
|
|
||||||
|
|
||||||
[mode=do-not-disturb]
|
|
||||||
invisible=true
|
|
||||||
|
|
||||||
[mode=do-not-disturb app-name=notify-send]
|
|
||||||
invisible=false
|
|
||||||
|
|
||||||
[urgency=critical]
|
|
||||||
default-timeout=0
|
|
||||||
@@ -1,24 +1,10 @@
|
|||||||
|
include=~/.local/share/omarchy/default/mako/core.ini
|
||||||
|
|
||||||
text-color=#a9b1d6
|
text-color=#a9b1d6
|
||||||
border-color=#33ccff
|
border-color=#33ccff
|
||||||
background-color=#1a1b26
|
background-color=#1a1b26
|
||||||
width=420
|
|
||||||
height=110
|
|
||||||
padding=10
|
padding=10
|
||||||
border-size=2
|
border-size=2
|
||||||
font=Liberation Sans 11
|
font=Liberation Sans 11
|
||||||
anchor=top-right
|
|
||||||
outer-margin=20
|
|
||||||
default-timeout=5000
|
|
||||||
max-icon-size=32
|
max-icon-size=32
|
||||||
|
outer-margin=20
|
||||||
[app-name=Spotify]
|
|
||||||
invisible=1
|
|
||||||
|
|
||||||
[mode=do-not-disturb]
|
|
||||||
invisible=true
|
|
||||||
|
|
||||||
[mode=do-not-disturb app-name=notify-send]
|
|
||||||
invisible=false
|
|
||||||
|
|
||||||
[urgency=critical]
|
|
||||||
default-timeout=0
|
|
||||||
Reference in New Issue
Block a user