mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Compare commits
113 Commits
v3.1.4
...
revert-333
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d76589ba65 | ||
|
|
cac2b5728f | ||
|
|
279259d547 | ||
|
|
9b849fc824 | ||
|
|
bea57919b6 | ||
|
|
03cbbd2f7f | ||
|
|
8840af8df9 | ||
|
|
a54ec3a9cb | ||
|
|
42f47195ea | ||
|
|
89b1029588 | ||
|
|
29aae9a93e | ||
|
|
a6d49196d0 | ||
|
|
b7989ac89b | ||
|
|
3c19e4e12c | ||
|
|
94f29f3cba | ||
|
|
2fcc4e9c47 | ||
|
|
d81f6de211 | ||
|
|
e97ae0d842 | ||
|
|
2290152fb9 | ||
|
|
f364ee1167 | ||
|
|
6e1f1cae1b | ||
|
|
e354df3143 | ||
|
|
c981dda55a | ||
|
|
b6ba588fa3 | ||
|
|
bf3a5b0a36 | ||
|
|
9e1a70488b | ||
|
|
a43d090596 | ||
|
|
fceb7106d9 | ||
|
|
d2aeb520fc | ||
|
|
61678986fc | ||
|
|
2425f4d3e0 | ||
|
|
c6918e637b | ||
|
|
6f334868d6 | ||
|
|
79207160e6 | ||
|
|
a9d6a77ee6 | ||
|
|
a304b32cc1 | ||
|
|
3a744e0f78 | ||
|
|
88b13e6899 | ||
|
|
70d15921b9 | ||
|
|
283a41c494 | ||
|
|
3d10b38054 | ||
|
|
d33e947b99 | ||
|
|
79d48b4d8a | ||
|
|
4d3c02c69d | ||
|
|
e96bd085a5 | ||
|
|
64e581e5aa | ||
|
|
694c83f518 | ||
|
|
49308eb12a | ||
|
|
26d37ca2e0 | ||
|
|
c92362937a | ||
|
|
7a0fa07454 | ||
|
|
917279bff7 | ||
|
|
8350b84eee | ||
|
|
d9acd35ef4 | ||
|
|
044e826bb7 | ||
|
|
57e726f0c5 | ||
|
|
06fc4db4db | ||
|
|
15b5ee92d7 | ||
|
|
f6aa97350e | ||
|
|
5192c9b687 | ||
|
|
e263b5d00a | ||
|
|
26821c9b34 | ||
|
|
7cd5661f89 | ||
|
|
6cdf4a3790 | ||
|
|
c92a7eab81 | ||
|
|
8aa2d295e5 | ||
|
|
5fb29c199a | ||
|
|
962aca303d | ||
|
|
870356ecc3 | ||
|
|
cb03d7d84b | ||
|
|
7a0bdaafa4 | ||
|
|
638e35fcac | ||
|
|
904d253b4d | ||
|
|
a40ff463c9 | ||
|
|
8e210088c1 | ||
|
|
bf26366be4 | ||
|
|
4391df6853 | ||
|
|
2498216a4f | ||
|
|
33dde26902 | ||
|
|
b1b6e5d2a7 | ||
|
|
fc8e4c0400 | ||
|
|
f9557177dc | ||
|
|
3065ca9f2a | ||
|
|
ba5343ca11 | ||
|
|
7f9ee95e1a | ||
|
|
e369d68fe1 | ||
|
|
661abc89a6 | ||
|
|
28ba448020 | ||
|
|
4b15fe9a52 | ||
|
|
886a9f6f2c | ||
|
|
54795a2f55 | ||
|
|
d528393df6 | ||
|
|
4c97a31c98 | ||
|
|
66b5f7eab8 | ||
|
|
9e971e3e56 | ||
|
|
ae10133b5e | ||
|
|
0f64a11f4e | ||
|
|
b738c77acf | ||
|
|
f76ba69f70 | ||
|
|
bfeb3a1e65 | ||
|
|
3c89acadc1 | ||
|
|
58ecda3b80 | ||
|
|
dd3b64ef7f | ||
|
|
fc0983624e | ||
|
|
fb3271f3af | ||
|
|
3344f33104 | ||
|
|
407d283cb7 | ||
|
|
ac8073fc81 | ||
|
|
7770f49c1a | ||
|
|
9490e714c3 | ||
|
|
d3a54dc32e | ||
|
|
d7cd1950ce | ||
|
|
1388a2558a |
7
.github/ISSUE_TEMPLATE/config.yml
vendored
7
.github/ISSUE_TEMPLATE/config.yml
vendored
@@ -1,5 +1,8 @@
|
|||||||
blank_issues_enabled: false
|
blank_issues_enabled: false
|
||||||
contact_links:
|
contact_links:
|
||||||
- name: 🛟 Support 🛟
|
- name: Suggestion
|
||||||
|
url: https://github.com/basecamp/omarchy/discussions/categories/suggestions
|
||||||
|
about: Suggest a new feature, change to existing feature, or other ideas in Discussions.
|
||||||
|
- name: Support
|
||||||
url: https://omarchy.org/discord
|
url: https://omarchy.org/discord
|
||||||
about: Need help? Join our Discord community for support with any issues. GitHub issues should be used for verified bugs, documentation, and enhancement proposals only.
|
about: Need help? Join our Discord community for support with any issues. GitHub issues should be used for verified bugs only.
|
||||||
|
|||||||
16
.github/ISSUE_TEMPLATE/documentation.yml
vendored
16
.github/ISSUE_TEMPLATE/documentation.yml
vendored
@@ -1,16 +0,0 @@
|
|||||||
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?
|
|
||||||
description: Please provide reference links and specifics of what should be updated
|
|
||||||
validations:
|
|
||||||
required: true
|
|
||||||
15
.github/ISSUE_TEMPLATE/enhancement.yml
vendored
15
.github/ISSUE_TEMPLATE/enhancement.yml
vendored
@@ -1,15 +0,0 @@
|
|||||||
name: Enhancement
|
|
||||||
description: Suggest a 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
|
|
||||||
@@ -11,11 +11,13 @@ send_notification() {
|
|||||||
notify-send -u critical " Time to recharge!" "Battery is down to ${1}%" -i battery-caution -t 30000
|
notify-send -u critical " Time to recharge!" "Battery is down to ${1}%" -i battery-caution -t 30000
|
||||||
}
|
}
|
||||||
|
|
||||||
if [[ $BATTERY_STATE == "discharging" && $BATTERY_LEVEL -le $BATTERY_THRESHOLD ]]; then
|
if [[ -n "$BATTERY_LEVEL" && "$BATTERY_LEVEL" =~ ^[0-9]+$ ]]; then
|
||||||
if [[ ! -f $NOTIFICATION_FLAG ]]; then
|
if [[ $BATTERY_STATE == "discharging" && $BATTERY_LEVEL -le $BATTERY_THRESHOLD ]]; then
|
||||||
send_notification $BATTERY_LEVEL
|
if [[ ! -f $NOTIFICATION_FLAG ]]; then
|
||||||
touch $NOTIFICATION_FLAG
|
send_notification $BATTERY_LEVEL
|
||||||
|
touch $NOTIFICATION_FLAG
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
rm -f $NOTIFICATION_FLAG
|
||||||
fi
|
fi
|
||||||
else
|
|
||||||
rm -f $NOTIFICATION_FLAG
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -14,6 +14,6 @@ if [[ -f "$FIRST_RUN_MODE" ]]; then
|
|||||||
bash "$OMARCHY_PATH/install/first-run/gnome-theme.sh"
|
bash "$OMARCHY_PATH/install/first-run/gnome-theme.sh"
|
||||||
sudo rm -f /etc/sudoers.d/first-run
|
sudo rm -f /etc/sudoers.d/first-run
|
||||||
|
|
||||||
bash "$OMARCHY_PATH/install/first-run/wifi.sh"
|
|
||||||
bash "$OMARCHY_PATH/install/first-run/welcome.sh"
|
bash "$OMARCHY_PATH/install/first-run/welcome.sh"
|
||||||
|
bash "$OMARCHY_PATH/install/first-run/wifi.sh"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ start_screenrecording() {
|
|||||||
# Merge audio tracks into one - separate tracks only play one at a time in most players
|
# Merge audio tracks into one - separate tracks only play one at a time in most players
|
||||||
[[ "$AUDIO" == "true" ]] && audio_args="-a default_output|default_input"
|
[[ "$AUDIO" == "true" ]] && audio_args="-a default_output|default_input"
|
||||||
|
|
||||||
gpu-screen-recorder -w "$@" -f 60 -c mp4 -o "$filename" $audio_args &
|
gpu-screen-recorder -w "$@" -f 60 -c mp4 $audio_args -ac aac -o "$filename" &
|
||||||
toggle_screenrecording_indicator
|
toggle_screenrecording_indicator
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
screensaver_in_focus() {
|
screensaver_in_focus() {
|
||||||
hyprctl activewindow -j | jq -e '.class == "Screensaver"' >/dev/null 2>&1
|
hyprctl activewindow -j | jq -e '.class == "com.omarchy.Screensaver"' >/dev/null 2>&1
|
||||||
}
|
}
|
||||||
|
|
||||||
exit_screensaver() {
|
exit_screensaver() {
|
||||||
hyprctl keyword cursor:invisible false
|
hyprctl keyword cursor:invisible false
|
||||||
pkill -x tte 2>/dev/null
|
pkill -x tte 2>/dev/null
|
||||||
pkill -f "alacritty --class Screensaver" 2>/dev/null
|
pkill -f com.omarchy.Screensaver 2>/dev/null
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -18,7 +18,7 @@ hyprctl keyword cursor:invisible true &>/dev/null
|
|||||||
while true; do
|
while true; do
|
||||||
effect=$(tte 2>&1 | grep -oP '{\K[^}]+' | tr ',' ' ' | tr ' ' '\n' | sed -n '/^beams$/,$p' | sort -u | shuf -n1)
|
effect=$(tte 2>&1 | grep -oP '{\K[^}]+' | tr ',' ' ' | tr ' ' '\n' | sed -n '/^beams$/,$p' | sort -u | shuf -n1)
|
||||||
tte -i ~/.config/omarchy/branding/screensaver.txt \
|
tte -i ~/.config/omarchy/branding/screensaver.txt \
|
||||||
--frame-rate 240 --canvas-width 0 --canvas-height $(($(tput lines) - 2)) --anchor-canvas c --anchor-text c \
|
--frame-rate 240 --canvas-width 0 --canvas-height 0 --anchor-canvas c --anchor-text c --no-eol \
|
||||||
"$effect" &
|
"$effect" &
|
||||||
|
|
||||||
while pgrep -x tte >/dev/null; do
|
while pgrep -x tte >/dev/null; do
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ if [[ -n "$font_name" && "$font_name" != "CNCLD" ]]; then
|
|||||||
pkill -SIGUSR2 ghostty
|
pkill -SIGUSR2 ghostty
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
sed -i "s/font_family = .*/font_family = $font_name/g" ~/.config/hypr/hyprlock.conf
|
||||||
sed -i "s/font-family: .*/font-family: '$font_name';/g" ~/.config/waybar/style.css
|
sed -i "s/font-family: .*/font-family: '$font_name';/g" ~/.config/waybar/style.css
|
||||||
sed -i "s/font-family: .*/font-family: '$font_name';/g" ~/.config/swayosd/style.css
|
sed -i "s/font-family: .*/font-family: '$font_name';/g" ~/.config/swayosd/style.css
|
||||||
xmlstarlet ed -L \
|
xmlstarlet ed -L \
|
||||||
@@ -29,6 +30,10 @@ if [[ -n "$font_name" && "$font_name" != "CNCLD" ]]; then
|
|||||||
omarchy-restart-swayosd
|
omarchy-restart-swayosd
|
||||||
omarchy-restart-walker
|
omarchy-restart-walker
|
||||||
|
|
||||||
|
if pgrep -x ghostty; then
|
||||||
|
notify-send " You must restart Ghostty to see font change"
|
||||||
|
fi
|
||||||
|
|
||||||
omarchy-hook font-set "$font_name"
|
omarchy-hook font-set "$font_name"
|
||||||
else
|
else
|
||||||
echo "Font '$font_name' not found."
|
echo "Font '$font_name' not found."
|
||||||
|
|||||||
22
bin/omarchy-hyprland-window-pop
Executable file
22
bin/omarchy-hyprland-window-pop
Executable file
@@ -0,0 +1,22 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Toggle to pop-out a tile to stay fixed on a display basis.
|
||||||
|
|
||||||
|
active=$(hyprctl activewindow -j)
|
||||||
|
pinned=$(echo "$active" | jq .pinned)
|
||||||
|
addr=$(echo "$active" | jq -r ".address")
|
||||||
|
[ -z "$addr" ] && { echo "No active window"; exit 0; }
|
||||||
|
|
||||||
|
if [ "$pinned" = "true" ]; then
|
||||||
|
hyprctl -q --batch \
|
||||||
|
"dispatch pin address:$addr;" \
|
||||||
|
"dispatch togglefloating address:$addr;" \
|
||||||
|
"dispatch tagwindow -pop address:$addr;"
|
||||||
|
else
|
||||||
|
hyprctl -q --batch \
|
||||||
|
"dispatch togglefloating address:$addr;" \
|
||||||
|
"dispatch centerwindow address:$addr;" \
|
||||||
|
"dispatch pin address:$addr;" \
|
||||||
|
"dispatch alterzorder top address:$addr;" \
|
||||||
|
"dispatch tagwindow +pop address:$addr;"
|
||||||
|
fi
|
||||||
@@ -50,6 +50,7 @@ ruby)
|
|||||||
omarchy-pkg-add libyaml
|
omarchy-pkg-add libyaml
|
||||||
mise use --global ruby@latest
|
mise use --global ruby@latest
|
||||||
mise settings add idiomatic_version_file_enable_tools ruby
|
mise settings add idiomatic_version_file_enable_tools ruby
|
||||||
|
echo "gem: --no-document" > ~/.gemrc
|
||||||
mise x ruby -- gem install rails --no-document
|
mise x ruby -- gem install rails --no-document
|
||||||
echo -e "\nYou can now run: rails new myproject"
|
echo -e "\nYou can now run: rails new myproject"
|
||||||
;;
|
;;
|
||||||
|
|||||||
@@ -7,15 +7,53 @@ fi
|
|||||||
|
|
||||||
package="$1"
|
package="$1"
|
||||||
|
|
||||||
|
# Map package name to desktop entry ID
|
||||||
|
case "$package" in
|
||||||
|
alacritty) desktop_id="Alacritty.desktop" ;;
|
||||||
|
ghostty) desktop_id="com.mitchellh.ghostty.desktop" ;;
|
||||||
|
kitty) desktop_id="kitty.desktop" ;;
|
||||||
|
*)
|
||||||
|
echo "Unknown terminal: $package"
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
# Install package
|
# Install package
|
||||||
if omarchy-pkg-add $package; then
|
if omarchy-pkg-add $package; then
|
||||||
# Set as default terminal
|
# Copy custom desktop entry for alacritty with X-TerminalArg* keys
|
||||||
echo "Setting $package as new default terminal..."
|
if [[ $package == "alacritty" ]]; then
|
||||||
sed -i "/export TERMINAL=/ c\export TERMINAL=$package" ~/.config/uwsm/default
|
mkdir -p ~/.local/share/applications
|
||||||
|
cat > ~/.local/share/applications/Alacritty.desktop << EOF
|
||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
TryExec=alacritty
|
||||||
|
Exec=alacritty
|
||||||
|
Icon=Alacritty
|
||||||
|
Terminal=false
|
||||||
|
Categories=System;TerminalEmulator;
|
||||||
|
Name=Alacritty
|
||||||
|
GenericName=Terminal
|
||||||
|
Comment=A fast, cross-platform, OpenGL terminal emulator
|
||||||
|
StartupNotify=true
|
||||||
|
StartupWMClass=Alacritty
|
||||||
|
Actions=New;
|
||||||
|
X-TerminalArgExec=-e
|
||||||
|
X-TerminalArgAppId=--class=
|
||||||
|
X-TerminalArgTitle=--title=
|
||||||
|
X-TerminalArgDir=--working-directory=
|
||||||
|
|
||||||
# Restart is needed for new default to take effect
|
[Desktop Action New]
|
||||||
echo
|
Name=New Terminal
|
||||||
gum confirm "Restart to use new terminal?" && systemctl reboot --no-wall
|
Exec=alacritty
|
||||||
|
EOF
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Update xdg-terminals.list to prioritize the proper terminal
|
||||||
|
cat > ~/.config/xdg-terminals.list << EOF
|
||||||
|
# Terminal emulator preference order for xdg-terminal-exec
|
||||||
|
# The first found and valid terminal will be used
|
||||||
|
$desktop_id
|
||||||
|
EOF
|
||||||
else
|
else
|
||||||
echo "Failed to install $package"
|
echo "Failed to install $package"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -21,4 +21,7 @@ EOF
|
|||||||
# Ensure VSC's own auto-update feature is turned off
|
# Ensure VSC's own auto-update feature is turned off
|
||||||
printf '{\n "update.mode": "none"\n}\n' > ~/.config/Code/User/settings.json
|
printf '{\n "update.mode": "none"\n}\n' > ~/.config/Code/User/settings.json
|
||||||
|
|
||||||
|
# Apply Omarchy theme to VSCode
|
||||||
|
omarchy-theme-set-vscode
|
||||||
|
|
||||||
setsid gtk-launch code
|
setsid gtk-launch code
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
exec setsid uwsm-app -- alacritty --class=Omarchy -o font.size=9 -e bash -c 'fastfetch; read -n 1 -s'
|
exec setsid uwsm-app -- xdg-terminal-exec --app-id=com.omarchy.Omarchy -e bash -c 'fastfetch; read -n 1 -s'
|
||||||
|
|||||||
@@ -1,8 +1,10 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
case "${EDITOR:-nvim}" in
|
omarchy-cmd-present "$EDITOR" || EDITOR=nvim
|
||||||
|
|
||||||
|
case "$EDITOR" in
|
||||||
nvim | vim | nano | micro | hx | helix)
|
nvim | vim | nano | micro | hx | helix)
|
||||||
exec setsid uwsm-app -- "$TERMINAL" -e "$EDITOR" "$@"
|
exec setsid uwsm-app -- xdg-terminal-exec "$EDITOR" "$@"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
exec setsid uwsm-app -- "$EDITOR" "$@"
|
exec setsid uwsm-app -- "$EDITOR" "$@"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
cmd="$*"
|
cmd="$*"
|
||||||
exec setsid uwsm-app -- alacritty -o font.size=9 --class=Omarchy --title=Omarchy -e bash -c "omarchy-show-logo; $cmd; omarchy-show-done"
|
exec setsid uwsm-app -- xdg-terminal-exec --app-id=com.omarchy.Omarchy --title=Omarchy -e bash -c "omarchy-show-logo; $cmd; omarchy-show-done"
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ fi
|
|||||||
|
|
||||||
WINDOW_PATTERN="$1"
|
WINDOW_PATTERN="$1"
|
||||||
LAUNCH_COMMAND="${2:-"uwsm-app -- $WINDOW_PATTERN"}"
|
LAUNCH_COMMAND="${2:-"uwsm-app -- $WINDOW_PATTERN"}"
|
||||||
WINDOW_ADDRESS=$(hyprctl clients -j | jq -r --arg p "$WINDOW_PATTERN" '.[]|select((.class|test("\\b" + $p + "\\b";"i")) or (.title|test("\\b" + $p + "\\b";"i")))|.address' | head -n1)
|
WINDOW_ADDRESS=$(hyprctl clients -j | jq -r --arg p "^$WINDOW_PATTERN$" '.[]|select((.class|test("\\b" + $p + "\\b";"i")) or (.title|test("\\b" + $p + "\\b";"i")))|.address' | head -n1)
|
||||||
|
|
||||||
if [[ -n $WINDOW_ADDRESS ]]; then
|
if [[ -n $WINDOW_ADDRESS ]]; then
|
||||||
hyprctl dispatch focuswindow "address:$WINDOW_ADDRESS"
|
hyprctl dispatch focuswindow "address:$WINDOW_ADDRESS"
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ if ! command -v tte &>/dev/null; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Exit early if screensave is already running
|
# Exit early if screensave is already running
|
||||||
pgrep -f "alacritty --class Screensaver" && exit 0
|
pgrep -f com.omarchy.Screensaver && exit 0
|
||||||
|
|
||||||
# Allow screensaver to be turned off but also force started
|
# Allow screensaver to be turned off but also force started
|
||||||
if [[ -f ~/.local/state/omarchy/toggles/screensaver-off ]] && [[ $1 != "force" ]]; then
|
if [[ -f ~/.local/state/omarchy/toggles/screensaver-off ]] && [[ $1 != "force" ]]; then
|
||||||
@@ -14,15 +14,34 @@ if [[ -f ~/.local/state/omarchy/toggles/screensaver-off ]] && [[ $1 != "force" ]
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
focused=$(hyprctl monitors -j | jq -r '.[] | select(.focused == true).name')
|
focused=$(hyprctl monitors -j | jq -r '.[] | select(.focused == true).name')
|
||||||
|
terminal=$(xdg-terminal-exec --print-id)
|
||||||
|
|
||||||
for m in $(hyprctl monitors -j | jq -r '.[] | .name'); do
|
for m in $(hyprctl monitors -j | jq -r '.[] | .name'); do
|
||||||
hyprctl dispatch focusmonitor $m
|
hyprctl dispatch focusmonitor $m
|
||||||
|
|
||||||
# FIXME: Find a way to make this generic where we it can work for kitty + ghostty
|
case $terminal in
|
||||||
hyprctl dispatch exec -- \
|
*Alacritty*)
|
||||||
alacritty --class Screensaver \
|
hyprctl dispatch exec -- \
|
||||||
--config-file ~/.local/share/omarchy/default/alacritty/screensaver.toml \
|
alacritty --class=com.omarchy.Screensaver \
|
||||||
-e omarchy-cmd-screensaver
|
--config-file ~/.local/share/omarchy/default/alacritty/screensaver.toml \
|
||||||
|
-e omarchy-cmd-screensaver
|
||||||
|
;;
|
||||||
|
*ghostty*)
|
||||||
|
hyprctl dispatch exec -- \
|
||||||
|
ghostty --class=com.omarchy.Screensaver \
|
||||||
|
--font-size=18 \
|
||||||
|
-e omarchy-cmd-screensaver
|
||||||
|
;;
|
||||||
|
*kitty*)
|
||||||
|
hyprctl dispatch exec -- \
|
||||||
|
kitty --class=com.omarchy.Screensaver \
|
||||||
|
--override font_size=18 \
|
||||||
|
-e omarchy-cmd-screensaver
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
notify-send "✋ Screensaver only runs in Alacritty, Ghostty, or Kitty"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
hyprctl dispatch focusmonitor $focused
|
hyprctl dispatch focusmonitor $focused
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
exec setsid uwsm-app -- "${TERMINAL:-alacritty}" "$@"
|
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
browser=$(xdg-settings get default-web-browser)
|
browser=$(xdg-settings get default-web-browser)
|
||||||
|
|
||||||
case $browser in
|
case $browser in
|
||||||
google-chrome* | brave-browser* | microsoft-edge* | opera* | vivaldi* | helium-browser*) ;;
|
google-chrome* | brave-browser* | microsoft-edge* | opera* | vivaldi* | helium*) ;;
|
||||||
*) browser="chromium.desktop" ;;
|
*) browser="chromium.desktop" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
exec setsid uwsm-app -- "$TERMINAL" --class=Impala -e impala "$@"
|
exec setsid omarchy-launch-or-focus com.omarchy.Impala "uwsm-app -- xdg-terminal-exec --app-id=com.omarchy.Impala -e impala"
|
||||||
|
|||||||
@@ -9,4 +9,4 @@ if pgrep -x "1password" >/dev/null; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Avoid running screensaver when locked
|
# Avoid running screensaver when locked
|
||||||
pkill -f "alacritty --class Screensaver"
|
pkill -f com.omarchy.Screensaver
|
||||||
|
|||||||
@@ -33,11 +33,11 @@ menu() {
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo -e "$options" | omarchy-launch-walker --dmenu --width 295 --minheight 1 --maxheight 600 -p "$prompt…" "${args[@]}" 2>/dev/null
|
echo -e "$options" | omarchy-launch-walker --dmenu --width 295 --minheight 1 --maxheight 630 -p "$prompt…" "${args[@]}" 2>/dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
terminal() {
|
terminal() {
|
||||||
alacritty --class=Omarchy -e "$@"
|
xdg-terminal-exec --app-id=com.omarchy.Omarchy "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
present_terminal() {
|
present_terminal() {
|
||||||
@@ -124,7 +124,7 @@ show_screenrecord_menu() {
|
|||||||
|
|
||||||
show_share_menu() {
|
show_share_menu() {
|
||||||
case $(menu "Share" " Clipboard\n File \n Folder") in
|
case $(menu "Share" " Clipboard\n File \n Folder") in
|
||||||
*Clipboard*) terminal bash -c "omarchy-cmd-share clipboard" ;;
|
*Clipboard*) omarchy-cmd-share clipboard ;;
|
||||||
*File*) terminal bash -c "omarchy-cmd-share file" ;;
|
*File*) terminal bash -c "omarchy-cmd-share file" ;;
|
||||||
*Folder*) terminal bash -c "omarchy-cmd-share folder" ;;
|
*Folder*) terminal bash -c "omarchy-cmd-share folder" ;;
|
||||||
*) back_to show_trigger_menu ;;
|
*) back_to show_trigger_menu ;;
|
||||||
@@ -178,7 +178,7 @@ show_setup_menu() {
|
|||||||
options="$options\n Defaults\n DNS\n Security\n Config"
|
options="$options\n Defaults\n DNS\n Security\n Config"
|
||||||
|
|
||||||
case $(menu "Setup" "$options") in
|
case $(menu "Setup" "$options") in
|
||||||
*Audio*) $TERMINAL --class=Wiremix -e wiremix ;;
|
*Audio*) xdg-terminal-exec --app-id=com.omarchy.Wiremix -e wiremix ;;
|
||||||
*Wifi*)
|
*Wifi*)
|
||||||
rfkill unblock wifi
|
rfkill unblock wifi
|
||||||
omarchy-launch-wifi
|
omarchy-launch-wifi
|
||||||
@@ -264,7 +264,7 @@ show_install_editor_menu() {
|
|||||||
*VSCode*) present_terminal omarchy-install-vscode ;;
|
*VSCode*) present_terminal omarchy-install-vscode ;;
|
||||||
*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*) aur_install_and_launch "Sublime Text" "sublime-text-4" "sublime_text" ;;
|
*Sublime*) 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 ;;
|
||||||
@@ -287,11 +287,11 @@ show_install_ai_menu() {
|
|||||||
echo ollama
|
echo ollama
|
||||||
)
|
)
|
||||||
|
|
||||||
case $(menu "Install" " Claude Code\n Cursor CLI [AUR]\n Gemini [AUR]\n OpenAI Codex\n LM Studio\n Ollama\n Crush\n opencode") in
|
case $(menu "Install" " Claude Code\n Cursor CLI\n Gemini\n OpenAI Codex\n LM Studio\n Ollama\n Crush\n opencode") in
|
||||||
*Claude*) install "Claude Code" "claude-code" ;;
|
*Claude*) install "Claude Code" "claude-code" ;;
|
||||||
*Cursor*) aur_install "Cursor CLI" "cursor-cli" ;;
|
*Cursor*) install "Cursor CLI" "cursor-cli" ;;
|
||||||
*OpenAI*) install "OpenAI Codex" "openai-codex-bin" ;;
|
*OpenAI*) install "OpenAI Codex" "openai-codex-bin" ;;
|
||||||
*Gemini*) aur_install "Gemini" "gemini-cli" ;;
|
*Gemini*) 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" ;;
|
||||||
@@ -304,7 +304,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*) aur_install_and_launch "Minecraft [AUR]" "minecraft-launcher" "minecraft-launcher" ;;
|
*Minecraft*) install_and_launch "Minecraft" "minecraft-launcher" "minecraft-launcher" ;;
|
||||||
*) show_install_menu ;;
|
*) show_install_menu ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,6 +2,6 @@
|
|||||||
|
|
||||||
omarchy-refresh-config hypr/autostart.conf
|
omarchy-refresh-config hypr/autostart.conf
|
||||||
omarchy-refresh-config hypr/bindings.conf
|
omarchy-refresh-config hypr/bindings.conf
|
||||||
omarchy-refresh-config hypr/envs.conf
|
|
||||||
omarchy-refresh-config hypr/input.conf
|
omarchy-refresh-config hypr/input.conf
|
||||||
|
omarchy-refresh-config hypr/looknfeel.conf
|
||||||
omarchy-refresh-config hypr/hyprland.conf
|
omarchy-refresh-config hypr/hyprland.conf
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
sudo cp -f ~/.local/share/omarchy/default/pacman/mirrorlist /etc/pacman.d/mirrorlist
|
if [[ $1 == "edge" ]]; then
|
||||||
|
sudo cp -f ~/.local/share/omarchy/default/pacman/mirrorlist-edge /etc/pacman.d/mirrorlist
|
||||||
|
else
|
||||||
|
sudo cp -f ~/.local/share/omarchy/default/pacman/mirrorlist-stable /etc/pacman.d/mirrorlist
|
||||||
|
fi
|
||||||
|
|||||||
@@ -4,5 +4,10 @@ if [[ -f ~/.config/alacritty/alacritty.toml ]]; then
|
|||||||
touch ~/.config/alacritty/alacritty.toml
|
touch ~/.config/alacritty/alacritty.toml
|
||||||
fi
|
fi
|
||||||
|
|
||||||
killall -SIGUSR1 kitty
|
if pgrep -x kitty; then
|
||||||
killall -SIGUSR2 ghostty
|
killall -SIGUSR1 kitty
|
||||||
|
fi
|
||||||
|
|
||||||
|
if pgrep -x ghostty; then
|
||||||
|
killall -SIGUSR2 ghostty
|
||||||
|
fi
|
||||||
@@ -51,6 +51,16 @@ EOF
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
add_hyprlock_fingerprint_icon() {
|
||||||
|
print_info "Adding fingerprint icon to hyprlock placeholder text..."
|
||||||
|
sed -i 's/placeholder_text = .*/placeholder_text = <span> Enter Password <\/span>/' ~/.config/hypr/hyprlock.conf
|
||||||
|
}
|
||||||
|
|
||||||
|
remove_hyprlock_fingerprint_icon() {
|
||||||
|
print_info "Removing fingerprint icon from hyprlock placeholder text..."
|
||||||
|
sed -i 's/placeholder_text = .*/placeholder_text = Enter Password/' ~/.config/hypr/hyprlock.conf
|
||||||
|
}
|
||||||
|
|
||||||
remove_pam_config() {
|
remove_pam_config() {
|
||||||
# Remove from sudo
|
# Remove from sudo
|
||||||
if grep -q pam_fprintd.so /etc/pam.d/sudo; then
|
if grep -q pam_fprintd.so /etc/pam.d/sudo; then
|
||||||
@@ -71,6 +81,9 @@ if [[ "--remove" == "$1" ]]; then
|
|||||||
# Remove PAM configuration
|
# Remove PAM configuration
|
||||||
remove_pam_config
|
remove_pam_config
|
||||||
|
|
||||||
|
# Remove fingerprint icon from hyprlock placeholder text
|
||||||
|
remove_hyprlock_fingerprint_icon
|
||||||
|
|
||||||
# Uninstall packages
|
# Uninstall packages
|
||||||
print_info "Removing fingerprint packages..."
|
print_info "Removing fingerprint packages..."
|
||||||
sudo pacman -Rns --noconfirm fprintd
|
sudo pacman -Rns --noconfirm fprintd
|
||||||
@@ -90,6 +103,9 @@ else
|
|||||||
# Configure PAM
|
# Configure PAM
|
||||||
setup_pam_config
|
setup_pam_config
|
||||||
|
|
||||||
|
# Add fingerprint icon to hyprlock placeholder text
|
||||||
|
add_hyprlock_fingerprint_icon
|
||||||
|
|
||||||
# Enroll first fingerprint
|
# Enroll first fingerprint
|
||||||
print_success "\nLet's setup your right index finger as the first fingerprint."
|
print_success "\nLet's setup your right index finger as the first fingerprint."
|
||||||
print_info "Keep moving the finger around on sensor until the process completes.\n"
|
print_info "Keep moving the finger around on sensor until the process completes.\n"
|
||||||
|
|||||||
@@ -28,12 +28,12 @@ if pgrep -x waybar >/dev/null; then
|
|||||||
omarchy-restart-waybar
|
omarchy-restart-waybar
|
||||||
fi
|
fi
|
||||||
omarchy-restart-swayosd
|
omarchy-restart-swayosd
|
||||||
|
omarchy-restart-terminal
|
||||||
hyprctl reload
|
hyprctl reload
|
||||||
pkill -SIGUSR2 btop
|
pkill -SIGUSR2 btop
|
||||||
makoctl reload
|
makoctl reload
|
||||||
|
|
||||||
# Change gnome, browser, vscode, cursor themes
|
# Change gnome, browser, vscode, cursor themes
|
||||||
omarchy-theme-set-terminal
|
|
||||||
omarchy-theme-set-gnome
|
omarchy-theme-set-gnome
|
||||||
omarchy-theme-set-browser
|
omarchy-theme-set-browser
|
||||||
omarchy-theme-set-vscode
|
omarchy-theme-set-vscode
|
||||||
|
|||||||
@@ -391,7 +391,7 @@ extract_theme_data() {
|
|||||||
readarray -t color_slots < <(fill_color_slots "${unique_colors[@]}" | tr ' ' '\n')
|
readarray -t color_slots < <(fill_color_slots "${unique_colors[@]}" | tr ' ' '\n')
|
||||||
|
|
||||||
# Extract fonts
|
# Extract fonts
|
||||||
local monospace_font="CaskaydiaMono Nerd Font"
|
local monospace_font="JetBrainsMono Nerd Font"
|
||||||
local ui_font="Liberation Sans"
|
local ui_font="Liberation Sans"
|
||||||
|
|
||||||
if [ -f "$CURRENT_THEME_DIR/alacritty.toml" ]; then
|
if [ -f "$CURRENT_THEME_DIR/alacritty.toml" ]; then
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ if [ "$#" -ne 4 ]; then
|
|||||||
APP_NAME=$(gum input --prompt "Name> " --placeholder "My TUI")
|
APP_NAME=$(gum input --prompt "Name> " --placeholder "My TUI")
|
||||||
APP_EXEC=$(gum input --prompt "Launch Command> " --placeholder "lazydocker or bash -c 'dust; read -n 1 -s'")
|
APP_EXEC=$(gum input --prompt "Launch Command> " --placeholder "lazydocker or bash -c 'dust; read -n 1 -s'")
|
||||||
WINDOW_STYLE=$(gum choose --header "Window style" float tile)
|
WINDOW_STYLE=$(gum choose --header "Window style" float tile)
|
||||||
ICON_URL=$(gum input --prompt "Icon URL> " --placeholder "See https://dashboardicons.com (must use PNG!)")
|
ICON_URL=$(gum input --prompt "Icon URL> " --placeholder "See https://dashboardicons.com (must use PNG or SVG!)")
|
||||||
else
|
else
|
||||||
APP_NAME="$1"
|
APP_NAME="$1"
|
||||||
APP_EXEC="$2"
|
APP_EXEC="$2"
|
||||||
@@ -43,7 +43,7 @@ cat >"$DESKTOP_FILE" <<EOF
|
|||||||
Version=1.0
|
Version=1.0
|
||||||
Name=$APP_NAME
|
Name=$APP_NAME
|
||||||
Comment=$APP_NAME
|
Comment=$APP_NAME
|
||||||
Exec=\$TERMINAL --class=$APP_CLASS -e $APP_EXEC
|
Exec=xdg-terminal-exec --app-id=$APP_CLASS -e $APP_EXEC
|
||||||
Terminal=false
|
Terminal=false
|
||||||
Type=Application
|
Type=Application
|
||||||
Icon=$ICON_PATH
|
Icon=$ICON_PATH
|
||||||
|
|||||||
@@ -4,17 +4,8 @@ set -e
|
|||||||
|
|
||||||
trap 'echo ""; echo -e "\033[0;31mSomething went wrong during the update!\n\nPlease review the output above carefully, correct the error, and retry the update.\n\nIf you need assistance, get help from the community at https://omarchy.org/discord\033[0m"' ERR
|
trap 'echo ""; echo -e "\033[0;31mSomething went wrong during the update!\n\nPlease review the output above carefully, correct the error, and retry the update.\n\nIf you need assistance, get help from the community at https://omarchy.org/discord\033[0m"' ERR
|
||||||
|
|
||||||
gum style --border normal --border-foreground 6 --padding "1 2" --margin "1 0" \
|
if omarchy-update-confirm; then
|
||||||
"Ready to update Omarchy?" \
|
omarchy-snapshot create || [ $? -eq 127 ]
|
||||||
"" \
|
omarchy-update-git
|
||||||
"• You cannot stop the update once you start!" \
|
omarchy-update-perform
|
||||||
"• Make sure you're not on battery power or have sufficient charge"
|
|
||||||
|
|
||||||
if ! gum confirm --default=false "Continue with update?"; then
|
|
||||||
echo "Update cancelled"
|
|
||||||
exit 0
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
omarchy-snapshot create || [ $? -eq 127 ]
|
|
||||||
omarchy-update-git
|
|
||||||
omarchy-update-perform
|
|
||||||
|
|||||||
12
bin/omarchy-update-confirm
Executable file
12
bin/omarchy-update-confirm
Executable file
@@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
gum style --border normal --border-foreground 6 --padding "1 2" \
|
||||||
|
"Ready to update Omarchy?" \
|
||||||
|
"" \
|
||||||
|
"• You cannot stop the update once you start!" \
|
||||||
|
"• Make sure you're connected to power or have a full battery"
|
||||||
|
|
||||||
|
if ! gum confirm "Continue with update?"; then
|
||||||
|
echo "Update cancelled"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
@@ -327,7 +327,7 @@ To stop: omarchy-windows-vm stop"
|
|||||||
"$LIFECYCLE"
|
"$LIFECYCLE"
|
||||||
|
|
||||||
# Detect display scale from Hyprland
|
# Detect display scale from Hyprland
|
||||||
HYPR_SCALE=$(hyprctl monitors -j | jq -r '.[0].scale')
|
HYPR_SCALE=$(hyprctl monitors -j | jq -r '.[] | select (.focused == true) | .scale')
|
||||||
SCALE_PERCENT=$(echo "$HYPR_SCALE" | awk '{print int($1 * 100)}')
|
SCALE_PERCENT=$(echo "$HYPR_SCALE" | awk '{print int($1 * 100)}')
|
||||||
|
|
||||||
RDP_SCALE=""
|
RDP_SCALE=""
|
||||||
|
|||||||
@@ -4,9 +4,9 @@ general.import = [ "~/.config/omarchy/current/theme/alacritty.toml" ]
|
|||||||
TERM = "xterm-256color"
|
TERM = "xterm-256color"
|
||||||
|
|
||||||
[font]
|
[font]
|
||||||
normal = { family = "CaskaydiaMono Nerd Font", style = "Regular" }
|
normal = { family = "JetBrainsMono Nerd Font", style = "Regular" }
|
||||||
bold = { family = "CaskaydiaMono Nerd Font", style = "Bold" }
|
bold = { family = "JetBrainsMono Nerd Font", style = "Bold" }
|
||||||
italic = { family = "CaskaydiaMono Nerd Font", style = "Italic" }
|
italic = { family = "JetBrainsMono Nerd Font", style = "Italic" }
|
||||||
size = 9
|
size = 9
|
||||||
|
|
||||||
[window]
|
[window]
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
<string>monospace</string>
|
<string>monospace</string>
|
||||||
</test>
|
</test>
|
||||||
<edit name="family" mode="assign" binding="strong">
|
<edit name="family" mode="assign" binding="strong">
|
||||||
<string>CaskaydiaMono Nerd Font</string>
|
<string>JetBrainsMono Nerd Font</string>
|
||||||
</edit>
|
</edit>
|
||||||
</match>
|
</match>
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
config-file = ?"~/.config/omarchy/current/theme/ghostty.conf"
|
config-file = ?"~/.config/omarchy/current/theme/ghostty.conf"
|
||||||
|
|
||||||
# Font
|
# Font
|
||||||
font-family = "CaskaydiaMono Nerd Font"
|
font-family = "JetBrainsMono Nerd Font"
|
||||||
font-style = Regular
|
font-style = Regular
|
||||||
font-size = 9
|
font-size = 9
|
||||||
|
|
||||||
@@ -25,3 +25,6 @@ shell-integration-features = no-cursor,ssh-env
|
|||||||
# Keyboard bindings
|
# Keyboard bindings
|
||||||
keybind = shift+insert=paste_from_clipboard
|
keybind = shift+insert=paste_from_clipboard
|
||||||
keybind = control+insert=copy_to_clipboard
|
keybind = control+insert=copy_to_clipboard
|
||||||
|
|
||||||
|
# Slowdown mouse scrolling
|
||||||
|
mouse-scroll-multiplier = 0.95
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
# Application bindings
|
# Application bindings
|
||||||
$terminal = uwsm-app -- $TERMINAL
|
$terminal = uwsm-app -- xdg-terminal-exec
|
||||||
$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 --dir="$(omarchy-cmd-terminal-cwd)"
|
||||||
bindd = SUPER SHIFT, F, File manager, exec, uwsm-app -- nautilus --new-window
|
bindd = SUPER SHIFT, F, File manager, exec, uwsm-app -- nautilus --new-window
|
||||||
bindd = SUPER SHIFT, B, Browser, exec, $browser
|
bindd = SUPER SHIFT, B, Browser, exec, $browser
|
||||||
bindd = SUPER SHIFT ALT, B, Browser (private), exec, $browser --private
|
bindd = SUPER SHIFT ALT, B, Browser (private), exec, $browser --private
|
||||||
@@ -11,7 +11,7 @@ bindd = SUPER SHIFT, N, Editor, exec, omarchy-launch-editor
|
|||||||
bindd = SUPER SHIFT, T, Activity, exec, $terminal -e btop
|
bindd = SUPER SHIFT, T, Activity, exec, $terminal -e btop
|
||||||
bindd = SUPER SHIFT, D, Docker, exec, $terminal -e lazydocker
|
bindd = SUPER SHIFT, D, Docker, exec, $terminal -e lazydocker
|
||||||
bindd = SUPER SHIFT, G, Signal, exec, omarchy-launch-or-focus signal "uwsm-app -- signal-desktop"
|
bindd = SUPER SHIFT, G, Signal, exec, omarchy-launch-or-focus signal "uwsm-app -- signal-desktop"
|
||||||
bindd = SUPER SHIFT, O, Obsidian, exec, omarchy-launch-or-focus "^obsidian$" "uwsm-app -- obsidian -disable-gpu --enable-wayland-ime"
|
bindd = SUPER SHIFT, O, Obsidian, exec, omarchy-launch-or-focus obsidian "uwsm-app -- obsidian -disable-gpu --enable-wayland-ime"
|
||||||
bindd = SUPER SHIFT, W, Typora, exec, uwsm-app -- typora --enable-wayland-ime
|
bindd = SUPER SHIFT, W, Typora, exec, uwsm-app -- typora --enable-wayland-ime
|
||||||
bindd = SUPER SHIFT, SLASH, Passwords, exec, uwsm-app -- 1password
|
bindd = SUPER SHIFT, SLASH, Passwords, exec, uwsm-app -- 1password
|
||||||
|
|
||||||
|
|||||||
@@ -1,2 +0,0 @@
|
|||||||
# Extra env variables
|
|
||||||
# env = MY_GLOBAL_ENV,setting
|
|
||||||
@@ -16,7 +16,6 @@ source = ~/.config/omarchy/current/theme/hyprland.conf
|
|||||||
source = ~/.config/hypr/monitors.conf
|
source = ~/.config/hypr/monitors.conf
|
||||||
source = ~/.config/hypr/input.conf
|
source = ~/.config/hypr/input.conf
|
||||||
source = ~/.config/hypr/bindings.conf
|
source = ~/.config/hypr/bindings.conf
|
||||||
source = ~/.config/hypr/envs.conf
|
|
||||||
source = ~/.config/hypr/looknfeel.conf
|
source = ~/.config/hypr/looknfeel.conf
|
||||||
source = ~/.config/hypr/autostart.conf
|
source = ~/.config/hypr/autostart.conf
|
||||||
|
|
||||||
|
|||||||
@@ -22,10 +22,10 @@ input-field {
|
|||||||
outer_color = $outer_color
|
outer_color = $outer_color
|
||||||
outline_thickness = 4
|
outline_thickness = 4
|
||||||
|
|
||||||
font_family = CaskaydiaMono Nerd Font Propo
|
font_family = JetBrainsMono Nerd Font
|
||||||
font_color = $font_color
|
font_color = $font_color
|
||||||
|
|
||||||
placeholder_text = Enter Password
|
placeholder_text = Enter Password
|
||||||
check_color = $check_color
|
check_color = $check_color
|
||||||
fail_text = <i>$FAIL ($ATTEMPTS)</i>
|
fail_text = <i>$FAIL ($ATTEMPTS)</i>
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,9 @@ profile {
|
|||||||
identity = true
|
identity = true
|
||||||
}
|
}
|
||||||
|
|
||||||
# Enable auto switch to nightlight:
|
# To enable auto switch to nightlight, set in your .config/hypr/autostart:
|
||||||
|
# exec-once = uwsm app -- hyprsunset
|
||||||
|
# and use the following:
|
||||||
# profile {
|
# profile {
|
||||||
# time = 20:00
|
# time = 20:00
|
||||||
# temperature = 4000
|
# temperature = 4000
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
input {
|
input {
|
||||||
# Use multiple keyboard layouts and switch between them with Left Alt + Right Alt
|
# Use multiple keyboard layouts and switch between them with Left Alt + Right Alt
|
||||||
# kb_layout = us,dk,eu
|
# kb_layout = us,dk,eu
|
||||||
kb_options = compose:caps # ,grp:shifts_toggle
|
kb_options = compose:caps # ,grp:alts_toggle
|
||||||
|
|
||||||
# Change speed of keyboard repeat
|
# Change speed of keyboard repeat
|
||||||
repeat_rate = 40
|
repeat_rate = 40
|
||||||
|
|||||||
@@ -1,2 +1,13 @@
|
|||||||
[binds]
|
[binds]
|
||||||
<Ctrl+p> = exec lp $imv_current_file
|
|
||||||
|
# Print the current image file
|
||||||
|
<Ctrl+p> = exec lp "$imv_current_file"
|
||||||
|
|
||||||
|
# Delete the current image and quit the viewer
|
||||||
|
<Ctrl+x> = exec rm "$imv_current_file"; quit
|
||||||
|
|
||||||
|
# Delete the current image and move to the next one
|
||||||
|
<Ctrl+Shift+X> = exec rm "$imv_current_file"; close
|
||||||
|
|
||||||
|
# Rotate the currently open image by 90 degrees
|
||||||
|
<Ctrl+r> = exec mogrify -rotate 90 "$imv_current_file"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
include ~/.config/omarchy/current/theme/kitty.conf
|
include ~/.config/omarchy/current/theme/kitty.conf
|
||||||
|
|
||||||
# Font
|
# Font
|
||||||
font_family CaskaydiaMono Nerd Font
|
font_family JetBrainsMono Nerd Font
|
||||||
bold_italic_font auto
|
bold_italic_font auto
|
||||||
font_size 9.0
|
font_size 9.0
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ window {
|
|||||||
}
|
}
|
||||||
|
|
||||||
label {
|
label {
|
||||||
font-family: 'CaskaydiaMono Nerd Font';
|
font-family: 'JetBrainsMono Nerd Font';
|
||||||
font-size: 11pt;
|
font-size: 11pt;
|
||||||
|
|
||||||
color: @label;
|
color: @label;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
# Changes require a restart to take effect.
|
# Changes require a restart to take effect.
|
||||||
|
|
||||||
# Install other terminals via Install > Terminal
|
# Install other terminals via Install > Terminal
|
||||||
export TERMINAL=alacritty
|
export TERMINAL=xdg-terminal-exec
|
||||||
|
|
||||||
# Use code for VSCode
|
# Use code for VSCode
|
||||||
export EDITOR=nvim
|
export EDITOR=nvim
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
force_keyboard_focus = true # forces keyboard forcus to stay in Walker
|
force_keyboard_focus = true # forces keyboard forcus to stay in Walker
|
||||||
selection_wrap = true # wrap list if at bottom or top
|
selection_wrap = true # wrap list if at bottom or top
|
||||||
theme = "omarchy-default" # theme to use
|
theme = "omarchy-default" # theme to use
|
||||||
additional_theme_location = "~/.local/share/omarchy/default/walker/themes/"
|
additional_theme_location = "~/.local/share/omarchy/default/walker/themes/"
|
||||||
|
|
||||||
[placeholders]
|
[placeholders]
|
||||||
@@ -10,6 +10,7 @@ additional_theme_location = "~/.local/share/omarchy/default/walker/themes/"
|
|||||||
quick_activate = []
|
quick_activate = []
|
||||||
|
|
||||||
[providers]
|
[providers]
|
||||||
|
max_results = 256 # 256 should be enough for everyone
|
||||||
default = [
|
default = [
|
||||||
"desktopapplications",
|
"desktopapplications",
|
||||||
"menus",
|
"menus",
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
"custom/omarchy": {
|
"custom/omarchy": {
|
||||||
"format": "<span font='omarchy'>\ue900</span>",
|
"format": "<span font='omarchy'>\ue900</span>",
|
||||||
"on-click": "omarchy-menu",
|
"on-click": "omarchy-menu",
|
||||||
"on-click-right": "omarchy-launch-terminal",
|
"on-click-right": "xdg-terminal-exec",
|
||||||
"tooltip-format": "Omarchy Menu\n\nSuper + Alt + Space"
|
"tooltip-format": "Omarchy Menu\n\nSuper + Alt + Space"
|
||||||
},
|
},
|
||||||
"custom/update": {
|
"custom/update": {
|
||||||
@@ -56,7 +56,7 @@
|
|||||||
"cpu": {
|
"cpu": {
|
||||||
"interval": 5,
|
"interval": 5,
|
||||||
"format": "",
|
"format": "",
|
||||||
"on-click": "$TERMINAL -e btop"
|
"on-click": "xdg-terminal-exec btop"
|
||||||
},
|
},
|
||||||
"clock": {
|
"clock": {
|
||||||
"format": "{:L%A %H:%M}",
|
"format": "{:L%A %H:%M}",
|
||||||
@@ -105,7 +105,7 @@
|
|||||||
},
|
},
|
||||||
"pulseaudio": {
|
"pulseaudio": {
|
||||||
"format": "{icon}",
|
"format": "{icon}",
|
||||||
"on-click": "$TERMINAL --class=Wiremix -e wiremix",
|
"on-click": "xdg-terminal-exec --app-id=com.omarchy.Wiremix -e wiremix",
|
||||||
"on-click-right": "pamixer -t",
|
"on-click-right": "pamixer -t",
|
||||||
"tooltip-format": "Playing at {volume}%",
|
"tooltip-format": "Playing at {volume}%",
|
||||||
"scroll-step": 5,
|
"scroll-step": 5,
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
border: none;
|
border: none;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
font-family: 'CaskaydiaMono Nerd Font';
|
font-family: 'JetBrainsMono Nerd Font';
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
3
config/xdg-terminals.list
Normal file
3
config/xdg-terminals.list
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
# Terminal emulator preference order for xdg-terminal-exec
|
||||||
|
# The first found and valid terminal will be used
|
||||||
|
com.mitchellh.ghostty.desktop
|
||||||
@@ -25,14 +25,21 @@ format-drive() {
|
|||||||
else
|
else
|
||||||
echo "WARNING: This will completely erase all data on $1 and label it '$2'."
|
echo "WARNING: This will completely erase all data on $1 and label it '$2'."
|
||||||
read -rp "Are you sure you want to continue? (y/N): " confirm
|
read -rp "Are you sure you want to continue? (y/N): " confirm
|
||||||
|
|
||||||
if [[ "$confirm" =~ ^[Yy]$ ]]; then
|
if [[ "$confirm" =~ ^[Yy]$ ]]; then
|
||||||
sudo wipefs -a "$1"
|
sudo wipefs -a "$1"
|
||||||
sudo dd if=/dev/zero of="$1" bs=1M count=100 status=progress
|
sudo dd if=/dev/zero of="$1" bs=1M count=100 status=progress
|
||||||
sudo parted -s "$1" mklabel gpt
|
sudo parted -s "$1" mklabel gpt
|
||||||
sudo parted -s "$1" mkpart primary ext4 1MiB 100%
|
sudo parted -s "$1" mkpart primary 1MiB 100%
|
||||||
sudo mkfs.ext4 -L "$2" "$([[ $1 == *"nvme"* ]] && echo "${1}p1" || echo "${1}1")"
|
|
||||||
sudo chmod -R 777 "/run/media/$USER/$2"
|
partition="$([[ $1 == *"nvme"* ]] && echo "${1}p1" || echo "${1}1")"
|
||||||
echo "Drive $1 formatted and labeled '$2'."
|
sudo partprobe "$1" || true
|
||||||
|
sudo udevadm settle || true
|
||||||
|
|
||||||
|
omarchy-pkg-add exfatprogs
|
||||||
|
sudo mkfs.exfat -n "$2" "$partition"
|
||||||
|
|
||||||
|
echo "Drive $1 formatted as exFAT and labeled '$2'."
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,6 +10,10 @@ if command -v zoxide &> /dev/null; then
|
|||||||
eval "$(zoxide init bash)"
|
eval "$(zoxide init bash)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if command -v try &> /dev/null; then
|
||||||
|
eval "$(try init ~/Work/tries)"
|
||||||
|
fi
|
||||||
|
|
||||||
if command -v fzf &> /dev/null; then
|
if command -v fzf &> /dev/null; then
|
||||||
if [[ -f /usr/share/fzf/completion.bash ]]; then
|
if [[ -f /usr/share/fzf/completion.bash ]]; then
|
||||||
source /usr/share/fzf/completion.bash
|
source /usr/share/fzf/completion.bash
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
# Technicolor dreams
|
|
||||||
force_color_prompt=yes
|
|
||||||
color_prompt=yes
|
|
||||||
|
|
||||||
# Simple prompt with path in the window/pane title and caret for typing line
|
|
||||||
PS1=$'\uf0a9 '
|
|
||||||
PS1="\[\e]0;\w\a\]$PS1"
|
|
||||||
@@ -1,7 +1,6 @@
|
|||||||
source ~/.local/share/omarchy/default/bash/shell
|
source ~/.local/share/omarchy/default/bash/shell
|
||||||
source ~/.local/share/omarchy/default/bash/aliases
|
source ~/.local/share/omarchy/default/bash/aliases
|
||||||
source ~/.local/share/omarchy/default/bash/functions
|
source ~/.local/share/omarchy/default/bash/functions
|
||||||
source ~/.local/share/omarchy/default/bash/prompt
|
|
||||||
source ~/.local/share/omarchy/default/bash/init
|
source ~/.local/share/omarchy/default/bash/init
|
||||||
source ~/.local/share/omarchy/default/bash/envs
|
source ~/.local/share/omarchy/default/bash/envs
|
||||||
[[ $- == *i* ]] && bind -f ~/.local/share/omarchy/default/bash/inputrc
|
[[ $- == *i* ]] && bind -f ~/.local/share/omarchy/default/bash/inputrc
|
||||||
|
|||||||
@@ -1 +1,2 @@
|
|||||||
windowrule = noscreenshare, class:^(1Password)$
|
windowrule = noscreenshare, class:^(1[p|P]assword)$
|
||||||
|
windowrule = tag +floating-window, class:^(1[p|P]assword)$
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# Browser types
|
# Browser types
|
||||||
windowrule = tag +chromium-based-browser, class:((google-)?[cC]hrom(e|ium)|[bB]rave-browser|Microsoft-edge|Vivaldi-stable|helium)
|
windowrule = tag +chromium-based-browser, class:((google-)?[cC]hrom(e|ium)|[bB]rave-browser|[mM]icrosoft-edge|Vivaldi-stable|helium)
|
||||||
windowrule = tag +firefox-based-browser, class:([fF]irefox|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
|
||||||
|
|||||||
2
default/hypr/apps/davinci-resolve.conf
Normal file
2
default/hypr/apps/davinci-resolve.conf
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
# Focus floating DaVinci Resolve dialog windows
|
||||||
|
windowrule = stayfocused, class:.*[Rr]esolve.*, floating:1
|
||||||
@@ -1,9 +1,19 @@
|
|||||||
# JetBrains windows default size
|
# Fix splash screen showing in weird places and prevent annoying focus takeovers
|
||||||
windowrule = size 50% 50%, class:(.*jetbrains.*)$, title:^$
|
windowrule = tag +jetbrains-splash, class:^(jetbrains-.*)$, title:^(splash)$, floating:1
|
||||||
|
windowrule = center, tag:jetbrains-splash
|
||||||
|
windowrule = nofocus, tag:jetbrains-splash
|
||||||
|
windowrule = noborder, tag:jetbrains-splash
|
||||||
|
|
||||||
# Fix tab dragging (tab titles are just one space)
|
# Center popups/find windows
|
||||||
windowrule = noinitialfocus, class:^(.*jetbrains.*)$, title:^\\s$
|
windowrule = tag +jetbrains, class:^(jetbrains-.*), title:^()$, floating:1
|
||||||
|
windowrule = center, tag:jetbrains
|
||||||
|
|
||||||
# Allow dialogs (like "Send usage statistics") to be focusable and clickable
|
# Enabling this makes it possible to provide input in popup dialogs (search window, new file, etc.)
|
||||||
windowrule = unset,nofocus,class:^(.*jetbrains.*)$,title:^$
|
windowrule = stayfocused, tag:jetbrains
|
||||||
windowrule = unset,noinitialfocus,class:^(.*jetbrains.*)$,title:^$
|
windowrule = noborder, tag:jetbrains
|
||||||
|
|
||||||
|
# For some reason tag:jetbrains does not work for size rule
|
||||||
|
windowrule = size >50% >50%, class:^(jetbrains-.*), title:^()$, floating:1
|
||||||
|
|
||||||
|
# Disable window flicker when autocomplete or tooltips appear
|
||||||
|
windowrule = noinitialfocus, class:^(jetbrains-.*)$, title:^(win.*)$, floating:1
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# Picture-in-picture overlays
|
# Picture-in-picture overlays
|
||||||
windowrule = tag +pip, title:(Picture.{0,1}in.{0,1}[Pp]icture)
|
windowrule = tag +pip, title:(Picture.?in.?[Pp]icture)
|
||||||
windowrule = float, tag:pip
|
windowrule = float, tag:pip
|
||||||
windowrule = pin, tag:pip
|
windowrule = pin, tag:pip
|
||||||
windowrule = size 600 338, tag:pip
|
windowrule = size 600 338, tag:pip
|
||||||
|
|||||||
@@ -1,14 +1,17 @@
|
|||||||
# Floating windows
|
# Floating windows
|
||||||
windowrule = float, tag:floating-window
|
windowrule = float, tag:floating-window
|
||||||
windowrule = center, tag:floating-window
|
windowrule = center, tag:floating-window
|
||||||
windowrule = size 800 600, tag:floating-window
|
windowrule = size 875 600, tag:floating-window
|
||||||
|
|
||||||
windowrule = tag +floating-window, class:(blueberry.py|Impala|Wiremix|org.gnome.NautilusPreviewer|com.gabm.satty|Omarchy|About|TUI.float)
|
windowrule = tag +floating-window, class:(blueberry.py|com.omarchy.Impala|com.omarchy.Wiremix|com.omarchy.Omarchy|org.gnome.NautilusPreviewer|com.gabm.satty|Omarchy|About|TUI.float)
|
||||||
windowrule = tag +floating-window, class:(xdg-desktop-portal-gtk|sublime_text|DesktopEditors|org.gnome.Nautilus), title:^(Open.*Files?|Open [F|f]older.*|Save.*Files?|Save.*As|Save|All Files|.*wants to [open|save].*|[C|c]hoose.*)
|
windowrule = tag +floating-window, class:(xdg-desktop-portal-gtk|sublime_text|DesktopEditors|org.gnome.Nautilus), title:^(Open.*Files?|Open [F|f]older.*|Save.*Files?|Save.*As|Save|All Files|.*wants to [open|save].*|[C|c]hoose.*)
|
||||||
windowrule = float, class:org.gnome.Calculator
|
windowrule = float, class:org.gnome.Calculator
|
||||||
|
|
||||||
# Fullscreen screensaver
|
# Fullscreen screensaver
|
||||||
windowrule = fullscreen, class:Screensaver
|
windowrule = fullscreen, class:com.omarchy.Screensaver
|
||||||
|
|
||||||
# No transparency on media windows
|
# No transparency on media windows
|
||||||
windowrule = opacity 1 1, class:^(zoom|vlc|mpv|org.kde.kdenlive|com.obsproject.Studio|com.github.PintaProject.Pinta|imv|org.gnome.NautilusPreviewer)$
|
windowrule = opacity 1 1, class:^(zoom|vlc|mpv|org.kde.kdenlive|com.obsproject.Studio|com.github.PintaProject.Pinta|imv|org.gnome.NautilusPreviewer)$
|
||||||
|
|
||||||
|
# Popped window rounding
|
||||||
|
windowrule = rounding 8, tag:pop
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ bindd = SUPER, T, Toggle window floating/tiling, togglefloating,
|
|||||||
bindd = SUPER, F, Full screen, fullscreen, 0
|
bindd = SUPER, F, Full screen, fullscreen, 0
|
||||||
bindd = SUPER CTRL, F, Tiled full screen, fullscreenstate, 0 2
|
bindd = SUPER CTRL, F, Tiled full screen, fullscreenstate, 0 2
|
||||||
bindd = SUPER ALT, F, Full width, fullscreen, 1
|
bindd = SUPER ALT, F, Full width, fullscreen, 1
|
||||||
|
bindd = SUPER, O, Pop window out (float & pin), exec, omarchy-hyprland-window-pop
|
||||||
|
|
||||||
# Move focus with SUPER + arrow keys
|
# Move focus with SUPER + arrow keys
|
||||||
bindd = SUPER, LEFT, Move window focus left, movefocus, l
|
bindd = SUPER, LEFT, Move window focus left, movefocus, l
|
||||||
@@ -47,6 +48,10 @@ bindd = SUPER, TAB, Next workspace, workspace, e+1
|
|||||||
bindd = SUPER SHIFT, TAB, Previous workspace, workspace, e-1
|
bindd = SUPER SHIFT, TAB, Previous workspace, workspace, e-1
|
||||||
bindd = SUPER CTRL, TAB, Former workspace, workspace, previous
|
bindd = SUPER CTRL, TAB, Former workspace, workspace, previous
|
||||||
|
|
||||||
|
# Move workspaces to other monitors
|
||||||
|
bindd = SUPER SHIFT ALT, LEFT, Move workspace to left monitor, movecurrentworkspacetomonitor, l
|
||||||
|
bindd = SUPER SHIFT ALT, RIGHT, Move workspace to right monitor, movecurrentworkspacetomonitor, r
|
||||||
|
|
||||||
# Swap active window with the one next to it with SUPER + SHIFT + arrow keys
|
# Swap active window with the one next to it with SUPER + SHIFT + arrow keys
|
||||||
bindd = SUPER SHIFT, LEFT, Swap window to the left, swapwindow, l
|
bindd = SUPER SHIFT, LEFT, Swap window to the left, swapwindow, l
|
||||||
bindd = SUPER SHIFT, RIGHT, Swap window to the right, swapwindow, r
|
bindd = SUPER SHIFT, RIGHT, Swap window to the right, swapwindow, r
|
||||||
@@ -86,14 +91,14 @@ bindd = SUPER ALT, DOWN, Move window to group on bottom, moveintogroup, d
|
|||||||
# Navigate a single set of grouped windows
|
# Navigate a single set of grouped windows
|
||||||
bindd = SUPER ALT, TAB, Next window in group, changegroupactive, f
|
bindd = SUPER ALT, TAB, Next window in group, changegroupactive, f
|
||||||
bindd = SUPER ALT SHIFT, TAB, Previous window in group, changegroupactive, b
|
bindd = SUPER ALT SHIFT, TAB, Previous window in group, changegroupactive, b
|
||||||
|
bindd = SUPER ALT, page_up, Next window in group, changegroupactive, f
|
||||||
# Scroll through a set of grouped windows with SUPER + ALT + scroll
|
bindd = SUPER ALT, page_down, Previous window in group, changegroupactive, b
|
||||||
bindd = SUPER ALT, mouse_down, Next window in group, changegroupactive, f
|
bindd = SUPER ALT, mouse_down, Next window in group, changegroupactive, f
|
||||||
bindd = SUPER ALT, mouse_up, Previous window in group, changegroupactive, b
|
bindd = SUPER ALT, mouse_up, Previous window in group, changegroupactive, b
|
||||||
|
|
||||||
# Activate window in a group by number
|
# Activate window in a group by number
|
||||||
bindd = SUPER ALT, 1, Switch to group window 1, changegroupactive, 1
|
bindd = SUPER ALT, code:10, Switch to group window 1, changegroupactive, 1
|
||||||
bindd = SUPER ALT, 2, Switch to group window 2, changegroupactive, 2
|
bindd = SUPER ALT, code:11, Switch to group window 2, changegroupactive, 2
|
||||||
bindd = SUPER ALT, 3, Switch to group window 3, changegroupactive, 3
|
bindd = SUPER ALT, code:12, Switch to group window 3, changegroupactive, 3
|
||||||
bindd = SUPER ALT, 4, Switch to group window 4, changegroupactive, 4
|
bindd = SUPER ALT, code:13, Switch to group window 4, changegroupactive, 4
|
||||||
bindd = SUPER ALT, 5, Switch to group window 5, changegroupactive, 5
|
bindd = SUPER ALT, code:14, Switch to group window 5, changegroupactive, 5
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ bindd = SUPER SHIFT, BACKSPACE, Toggle workspace gaps, exec, omarchy-hyprland-wo
|
|||||||
bindd = SUPER, COMMA, Dismiss last notification, exec, makoctl dismiss
|
bindd = SUPER, COMMA, Dismiss last notification, exec, makoctl dismiss
|
||||||
bindd = SUPER SHIFT, COMMA, Dismiss all notifications, exec, makoctl dismiss --all
|
bindd = SUPER SHIFT, COMMA, Dismiss all notifications, exec, makoctl dismiss --all
|
||||||
bindd = SUPER CTRL, COMMA, Toggle silencing notifications, exec, makoctl mode -t do-not-disturb && makoctl mode | grep -q 'do-not-disturb' && notify-send "Silenced notifications" || notify-send "Enabled notifications"
|
bindd = SUPER CTRL, COMMA, Toggle silencing notifications, exec, makoctl mode -t do-not-disturb && makoctl mode | grep -q 'do-not-disturb' && notify-send "Silenced notifications" || notify-send "Enabled notifications"
|
||||||
|
bindd = SUPER ALT, COMMA, Invoke last notification, exec, makoctl invoke
|
||||||
|
|
||||||
# Toggle idling
|
# Toggle idling
|
||||||
bindd = SUPER CTRL, I, Toggle locking on idle, exec, omarchy-toggle-idle
|
bindd = SUPER CTRL, I, Toggle locking on idle, exec, omarchy-toggle-idle
|
||||||
|
|||||||
@@ -14,3 +14,8 @@ input {
|
|||||||
natural_scroll = false
|
natural_scroll = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
misc {
|
||||||
|
key_press_enables_dpms = true # key press will trigger wake
|
||||||
|
mouse_move_enables_dpms = true # mouse move will trigger wake
|
||||||
|
}
|
||||||
|
|||||||
@@ -38,8 +38,11 @@ decoration {
|
|||||||
# https://wiki.hyprland.org/Configuring/Variables/#blur
|
# https://wiki.hyprland.org/Configuring/Variables/#blur
|
||||||
blur {
|
blur {
|
||||||
enabled = true
|
enabled = true
|
||||||
size = 3
|
size = 2
|
||||||
passes = 3
|
passes = 2
|
||||||
|
special = true
|
||||||
|
brightness = 0.60
|
||||||
|
contrast = 0.75
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
Server = https://mirror.omarchy.org/$repo/os/$arch
|
|
||||||
Server = https://mirror.rackspace.com/archlinux/$repo/os/$arch
|
|
||||||
Server = https://geo.mirror.pkgbuild.com/$repo/os/$arch
|
|
||||||
1
default/pacman/mirrorlist-edge
Normal file
1
default/pacman/mirrorlist-edge
Normal file
@@ -0,0 +1 @@
|
|||||||
|
Server = https://mirror.omarchy.org/$repo/os/$arch
|
||||||
1
default/pacman/mirrorlist-stable
Normal file
1
default/pacman/mirrorlist-stable
Normal file
@@ -0,0 +1 @@
|
|||||||
|
Server = https://stable-mirror.omarchy.org/$repo/os/$arch
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if pgrep -f "gpu-screen-recorder" >/dev/null; then
|
if pgrep -f "^gpu-screen-recorder" >/dev/null; then
|
||||||
echo '{"text": "", "tooltip": "Stop recording", "class": "active"}'
|
echo '{"text": "", "tooltip": "Stop recording", "class": "active"}'
|
||||||
else
|
else
|
||||||
echo '{"text": ""}'
|
echo '{"text": ""}'
|
||||||
|
|||||||
@@ -36,3 +36,22 @@ xdg-mime default mpv.desktop application/ogg
|
|||||||
|
|
||||||
# Use Hey for mailto: links
|
# Use Hey for mailto: links
|
||||||
xdg-mime default HEY.desktop x-scheme-handler/mailto
|
xdg-mime default HEY.desktop x-scheme-handler/mailto
|
||||||
|
|
||||||
|
# Open text files with nvim
|
||||||
|
xdg-mime default nvim.desktop text/plain
|
||||||
|
xdg-mime default nvim.desktop text/english
|
||||||
|
xdg-mime default nvim.desktop text/x-makefile
|
||||||
|
xdg-mime default nvim.desktop text/x-c++hdr
|
||||||
|
xdg-mime default nvim.desktop text/x-c++src
|
||||||
|
xdg-mime default nvim.desktop text/x-chdr
|
||||||
|
xdg-mime default nvim.desktop text/x-csrc
|
||||||
|
xdg-mime default nvim.desktop text/x-java
|
||||||
|
xdg-mime default nvim.desktop text/x-moc
|
||||||
|
xdg-mime default nvim.desktop text/x-pascal
|
||||||
|
xdg-mime default nvim.desktop text/x-tcl
|
||||||
|
xdg-mime default nvim.desktop text/x-tex
|
||||||
|
xdg-mime default nvim.desktop application/x-shellscript
|
||||||
|
xdg-mime default nvim.desktop text/x-c
|
||||||
|
xdg-mime default nvim.desktop text/x-c++
|
||||||
|
xdg-mime default nvim.desktop application/xml
|
||||||
|
xdg-mime default nvim.desktop text/xml
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
# Add ./bin to path for all items in ~/Work
|
# Setup default work directory (and tries)
|
||||||
mkdir -p "$HOME/Work"
|
mkdir -p "$HOME/Work"
|
||||||
|
mkdir -p "$HOME/Work/tries"
|
||||||
|
|
||||||
|
# Add ./bin to path for all items in ~/Work
|
||||||
cat >"$HOME/Work/.mise.toml" <<'EOF'
|
cat >"$HOME/Work/.mise.toml" <<'EOF'
|
||||||
[env]
|
[env]
|
||||||
_.path = "{{ cwd }}/bin"
|
_.path = "{{ cwd }}/bin"
|
||||||
|
|||||||
@@ -20,9 +20,6 @@ ln -snf ~/.config/omarchy/current/theme/btop.theme ~/.config/btop/themes/current
|
|||||||
mkdir -p ~/.config/mako
|
mkdir -p ~/.config/mako
|
||||||
ln -snf ~/.config/omarchy/current/theme/mako.ini ~/.config/mako/config
|
ln -snf ~/.config/omarchy/current/theme/mako.ini ~/.config/mako/config
|
||||||
|
|
||||||
mkdir -p ~/.config/eza
|
|
||||||
ln -snf ~/.config/omarchy/current/theme/eza.yml ~/.config/eza/theme.yml
|
|
||||||
|
|
||||||
# Add managed policy directories for Chromium and Brave for theme changes
|
# Add managed policy directories for Chromium and Brave for theme changes
|
||||||
sudo mkdir -p /etc/chromium/policies/managed
|
sudo mkdir -p /etc/chromium/policies/managed
|
||||||
sudo chmod a+rw /etc/chromium/policies/managed
|
sudo chmod a+rw /etc/chromium/policies/managed
|
||||||
|
|||||||
@@ -1,2 +1 @@
|
|||||||
notify-send " Update System" "When you have internet, click to update the system." -u critical
|
|
||||||
notify-send " Learn Keybindings" "Super + K for cheatsheet.\nSuper + Space for application launcher.\nSuper + Alt + Space for Omarchy Menu." -u critical
|
notify-send " Learn Keybindings" "Super + K for cheatsheet.\nSuper + Space for application launcher.\nSuper + Alt + Space for Omarchy Menu." -u critical
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
if ! ping -c3 -W1 1.1.1.1 >/dev/null 2>&1; then
|
if ! ping -c3 -W1 1.1.1.1 >/dev/null 2>&1; then
|
||||||
notify-send " Click to Setup Wi-Fi" "Tab to navigate, Space to select, ? for help." -u critical -t 30000
|
notify-send " Update System" "When you have internet, click to update the system." -u critical
|
||||||
|
notify-send " Click to Setup Wi-Fi" "Tab to navigate, Space to select, ? for help." -u critical
|
||||||
|
else
|
||||||
|
notify-send " Update System" "Click to update the system." -u critical
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -78,6 +78,11 @@ term_background_bright: 24283b
|
|||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
# Remove the original config file if it's not /boot/limine.conf
|
||||||
|
if [[ "$limine_config" != "/boot/limine.conf" ]] && [[ -f "$limine_config" ]]; then
|
||||||
|
sudo rm "$limine_config"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
# Match Snapper configs if not installing from the ISO
|
# Match Snapper configs if not installing from the ISO
|
||||||
if [[ -z ${OMARCHY_CHROOT_INSTALL:-} ]]; then
|
if [[ -z ${OMARCHY_CHROOT_INSTALL:-} ]]; then
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
1password-beta
|
1password-beta
|
||||||
1password-cli
|
1password-cli
|
||||||
aether
|
aether
|
||||||
alacritty
|
|
||||||
asdcontrol
|
asdcontrol
|
||||||
avahi
|
avahi
|
||||||
bash-completion
|
bash-completion
|
||||||
@@ -12,7 +11,6 @@ bat
|
|||||||
blueberry
|
blueberry
|
||||||
brightnessctl
|
brightnessctl
|
||||||
btop
|
btop
|
||||||
cargo
|
|
||||||
clang
|
clang
|
||||||
cups
|
cups
|
||||||
cups-browsed
|
cups-browsed
|
||||||
@@ -22,19 +20,6 @@ docker
|
|||||||
docker-buildx
|
docker-buildx
|
||||||
docker-compose
|
docker-compose
|
||||||
dust
|
dust
|
||||||
elephant
|
|
||||||
elephant-bluetooth
|
|
||||||
elephant-calc
|
|
||||||
elephant-clipboard
|
|
||||||
elephant-desktopapplications
|
|
||||||
elephant-files
|
|
||||||
elephant-menus
|
|
||||||
elephant-providerlist
|
|
||||||
elephant-runner
|
|
||||||
elephant-symbols
|
|
||||||
elephant-todo
|
|
||||||
elephant-unicode
|
|
||||||
elephant-websearch
|
|
||||||
evince
|
evince
|
||||||
expac
|
expac
|
||||||
eza
|
eza
|
||||||
@@ -46,6 +31,7 @@ fd
|
|||||||
ffmpegthumbnailer
|
ffmpegthumbnailer
|
||||||
fontconfig
|
fontconfig
|
||||||
fzf
|
fzf
|
||||||
|
ghostty
|
||||||
github-cli
|
github-cli
|
||||||
gnome-calculator
|
gnome-calculator
|
||||||
gnome-keyring
|
gnome-keyring
|
||||||
@@ -58,7 +44,7 @@ gvfs-nfs
|
|||||||
gvfs-smb
|
gvfs-smb
|
||||||
hypridle
|
hypridle
|
||||||
hyprland
|
hyprland
|
||||||
hyprland-qtutils
|
hyprland-guiutils
|
||||||
hyprlock
|
hyprlock
|
||||||
hyprpicker
|
hyprpicker
|
||||||
hyprsunset
|
hyprsunset
|
||||||
@@ -77,12 +63,12 @@ less
|
|||||||
libsecret
|
libsecret
|
||||||
libyaml
|
libyaml
|
||||||
libqalculate
|
libqalculate
|
||||||
libreoffice
|
libreoffice-fresh
|
||||||
llvm
|
llvm
|
||||||
localsend
|
localsend
|
||||||
luarocks
|
luarocks
|
||||||
mako
|
mako
|
||||||
man
|
man-db
|
||||||
mariadb-libs
|
mariadb-libs
|
||||||
mise
|
mise
|
||||||
mpv
|
mpv
|
||||||
@@ -98,6 +84,7 @@ obs-studio
|
|||||||
obsidian
|
obsidian
|
||||||
omarchy-chromium
|
omarchy-chromium
|
||||||
omarchy-nvim
|
omarchy-nvim
|
||||||
|
omarchy-walker
|
||||||
pamixer
|
pamixer
|
||||||
pinta
|
pinta
|
||||||
playerctl
|
playerctl
|
||||||
@@ -111,6 +98,8 @@ python-poetry-core
|
|||||||
python-terminaltexteffects
|
python-terminaltexteffects
|
||||||
qt5-wayland
|
qt5-wayland
|
||||||
ripgrep
|
ripgrep
|
||||||
|
ruby
|
||||||
|
rust
|
||||||
satty
|
satty
|
||||||
sddm
|
sddm
|
||||||
signal-desktop
|
signal-desktop
|
||||||
@@ -123,6 +112,7 @@ swayosd
|
|||||||
system-config-printer
|
system-config-printer
|
||||||
tldr
|
tldr
|
||||||
tree-sitter-cli
|
tree-sitter-cli
|
||||||
|
tobi-try
|
||||||
ttf-cascadia-mono-nerd
|
ttf-cascadia-mono-nerd
|
||||||
ttf-ia-writer
|
ttf-ia-writer
|
||||||
ttf-jetbrains-mono-nerd
|
ttf-jetbrains-mono-nerd
|
||||||
@@ -131,8 +121,8 @@ tzupdate
|
|||||||
ufw
|
ufw
|
||||||
ufw-docker
|
ufw-docker
|
||||||
unzip
|
unzip
|
||||||
|
usage
|
||||||
uwsm
|
uwsm
|
||||||
walker
|
|
||||||
waybar
|
waybar
|
||||||
wayfreeze
|
wayfreeze
|
||||||
whois
|
whois
|
||||||
@@ -143,6 +133,7 @@ wl-clipboard
|
|||||||
woff2-font-awesome
|
woff2-font-awesome
|
||||||
xdg-desktop-portal-gtk
|
xdg-desktop-portal-gtk
|
||||||
xdg-desktop-portal-hyprland
|
xdg-desktop-portal-hyprland
|
||||||
|
xdg-terminal-exec
|
||||||
xmlstarlet
|
xmlstarlet
|
||||||
xournalpp
|
xournalpp
|
||||||
yaru-icon-theme
|
yaru-icon-theme
|
||||||
|
|||||||
@@ -35,7 +35,6 @@ pipewire
|
|||||||
pipewire-alsa
|
pipewire-alsa
|
||||||
pipewire-jack
|
pipewire-jack
|
||||||
pipewire-pulse
|
pipewire-pulse
|
||||||
qt5-remoteobjects
|
|
||||||
qt6-wayland
|
qt6-wayland
|
||||||
sassc
|
sassc
|
||||||
snapper
|
snapper
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Configure pacman
|
# Configure pacman
|
||||||
sudo cp -f ~/.local/share/omarchy/default/pacman/pacman.conf /etc/pacman.conf
|
sudo cp -f ~/.local/share/omarchy/default/pacman/pacman.conf /etc/pacman.conf
|
||||||
sudo cp -f ~/.local/share/omarchy/default/pacman/mirrorlist /etc/pacman.d/mirrorlist
|
sudo cp -f ~/.local/share/omarchy/default/pacman/mirrorlist-stable /etc/pacman.d/mirrorlist
|
||||||
|
|
||||||
if lspci -nn | grep -q "106b:180[12]"; then
|
if lspci -nn | grep -q "106b:180[12]"; then
|
||||||
cat <<EOF | sudo tee -a /etc/pacman.conf >/dev/null
|
cat <<EOF | sudo tee -a /etc/pacman.conf >/dev/null
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
echo "Ensure nvim started from app launcher always starts nvim not $EDITOR"
|
|
||||||
|
|
||||||
if [ -f /usr/share/applications/nvim.desktop ]; then
|
|
||||||
rm ~/.local/share/applications/nvim.desktop
|
|
||||||
ln -s /usr/share/applications/nvim.desktop ~/.local/share/applications/nvim.desktop
|
|
||||||
update-desktop-database ~/.local/share/applications
|
|
||||||
fi
|
|
||||||
21
migrations/1761758552.sh
Normal file
21
migrations/1761758552.sh
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
echo "Set nvim as default via xdg-mime"
|
||||||
|
|
||||||
|
rm ~/.local/share/applications/nvim.desktop || true
|
||||||
|
|
||||||
|
xdg-mime default nvim.desktop text/plain
|
||||||
|
xdg-mime default nvim.desktop text/english
|
||||||
|
xdg-mime default nvim.desktop text/x-makefile
|
||||||
|
xdg-mime default nvim.desktop text/x-c++hdr
|
||||||
|
xdg-mime default nvim.desktop text/x-c++src
|
||||||
|
xdg-mime default nvim.desktop text/x-chdr
|
||||||
|
xdg-mime default nvim.desktop text/x-csrc
|
||||||
|
xdg-mime default nvim.desktop text/x-java
|
||||||
|
xdg-mime default nvim.desktop text/x-moc
|
||||||
|
xdg-mime default nvim.desktop text/x-pascal
|
||||||
|
xdg-mime default nvim.desktop text/x-tcl
|
||||||
|
xdg-mime default nvim.desktop text/x-tex
|
||||||
|
xdg-mime default nvim.desktop application/x-shellscript
|
||||||
|
xdg-mime default nvim.desktop text/x-c
|
||||||
|
xdg-mime default nvim.desktop text/x-c++
|
||||||
|
xdg-mime default nvim.desktop application/xml
|
||||||
|
xdg-mime default nvim.desktop text/xml
|
||||||
58
migrations/1762121828.sh
Normal file
58
migrations/1762121828.sh
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
echo "Setting up xdg-terminal-exec for gtk-launch terminal support"
|
||||||
|
# Solve for hardcoded glib terminals
|
||||||
|
# https://github.com/basecamp/omarchy/issues/1852
|
||||||
|
|
||||||
|
# Remove old symlink if it exists -- if someone ran the previous migration early
|
||||||
|
if [ -L /usr/local/bin/xdg-terminal-exec ]; then
|
||||||
|
sudo rm /usr/local/bin/xdg-terminal-exec
|
||||||
|
fi
|
||||||
|
|
||||||
|
omarchy-pkg-add xdg-terminal-exec
|
||||||
|
|
||||||
|
# Set up xdg-terminals.list based on current $TERMINAL
|
||||||
|
if [ -n "$TERMINAL" ]; then
|
||||||
|
case "$TERMINAL" in
|
||||||
|
alacritty) desktop_id="Alacritty.desktop" ;;
|
||||||
|
ghostty) desktop_id="com.mitchellh.ghostty.desktop" ;;
|
||||||
|
kitty) desktop_id="kitty.desktop" ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [ -n "$desktop_id" ]; then
|
||||||
|
mkdir -p ~/.config
|
||||||
|
cat > ~/.config/xdg-terminals.list << EOF
|
||||||
|
# Terminal emulator preference order for xdg-terminal-exec
|
||||||
|
# The first found and valid terminal will be used
|
||||||
|
$desktop_id
|
||||||
|
EOF
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Copy custom desktop entries with proper X-TerminalArg* keys
|
||||||
|
if command -v alacritty > /dev/null 2>&1; then
|
||||||
|
cp "$OMARCHY_PATH/applications/Alacritty.desktop" ~/.local/share/applications/
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Update hyprland bindings to use xdg-terminal-exec
|
||||||
|
sed -i 's/\$terminal = uwsm-app -- \$TERMINAL/$terminal = uwsm-app -- xdg-terminal-exec/' ~/.config/hypr/bindings.conf
|
||||||
|
# Update --working-directory to --dir for xdg-terminal-exec
|
||||||
|
sed -i 's/--working-directory=/--dir=/g' ~/.config/hypr/bindings.conf
|
||||||
|
|
||||||
|
# Update TERMINAL variable in uwsm config
|
||||||
|
sed -i 's/export TERMINAL=.*/export TERMINAL=xdg-terminal-exec/' ~/.config/uwsm/default
|
||||||
|
|
||||||
|
# Update waybar config to use xdg-terminal-exec
|
||||||
|
waybar_config=~/.config/waybar/config.jsonc
|
||||||
|
if [ -f "$waybar_config" ]; then
|
||||||
|
sed -i 's|"on-click-right": "omarchy-launch-terminal"|"on-click-right": "xdg-terminal-exec"|' "$waybar_config"
|
||||||
|
sed -i 's|"on-click": "\$TERMINAL -e btop"|"on-click": "xdg-terminal-exec btop"|' "$waybar_config"
|
||||||
|
sed -i 's|"on-click": "\$TERMINAL --class=Wiremix -e wiremix"|"on-click": "xdg-terminal-exec --app-id=com.omarchy.Wiremix -e wiremix"|' "$waybar_config"
|
||||||
|
omarchy-state set restart-waybar-required
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Update hyprland window rules to use DNS-format class names
|
||||||
|
system_conf=~/.config/hypr/apps/system.conf
|
||||||
|
if [ -f "$system_conf" ]; then
|
||||||
|
if grep -q 'class:(.*|Impala|' "$system_conf" || grep -q 'class:(.*|Wiremix|' "$system_conf" || grep -q '|Omarchy|' "$system_conf"; then
|
||||||
|
sed -i 's/\bImpala\b/com.omarchy.Impala/g; s/\bWiremix\b/com.omarchy.Wiremix/g; s/|Omarchy|/|com.omarchy.Omarchy|/g' "$system_conf"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
2
migrations/1762150269.sh
Normal file
2
migrations/1762150269.sh
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
echo "Install omarchy-walker meta package"
|
||||||
|
omarchy-pkg-add omarchy-walker
|
||||||
5
migrations/1762352101.sh
Normal file
5
migrations/1762352101.sh
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
echo "Increase Walker limit on how many entries can be shown to 256"
|
||||||
|
|
||||||
|
if ! grep -q "max_results" ~/.config/walker/config.toml; then
|
||||||
|
sed -i '/^\[providers\]$/a max_results = 256' ~/.config/walker/config.toml
|
||||||
|
fi
|
||||||
12
migrations/1762446739.sh
Normal file
12
migrations/1762446739.sh
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
echo "Remove alternative limine.conf files"
|
||||||
|
|
||||||
|
if omarchy-cmd-present limine; then
|
||||||
|
if [ ! -f /boot/limine.conf ]; then
|
||||||
|
echo "Error: /boot/limine.conf does not exist. Do not reboot without resolving this issue!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
sudo rm -f /boot/EFI/limine/limine.conf
|
||||||
|
sudo rm -f /boot/EFI/BOOT/limine.conf
|
||||||
|
sudo rm -f /boot/limine/limine.conf
|
||||||
|
fi
|
||||||
12
migrations/1762684663.sh
Normal file
12
migrations/1762684663.sh
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
echo "Update hyprlock font to match current system font"
|
||||||
|
|
||||||
|
font_name=$(omarchy-font-current)
|
||||||
|
|
||||||
|
if [[ -n "$font_name" ]]; then
|
||||||
|
cp ~/.config/hypr/hyprlock.conf ~/.config/hypr/hyprlock.conf.bak.$(date +%s)
|
||||||
|
|
||||||
|
echo "Found font '$font_name', updating hyprlock"
|
||||||
|
sed -i "s/font_family = .*/font_family = $font_name/g" ~/.config/hypr/hyprlock.conf
|
||||||
|
else
|
||||||
|
echo "No font found, skipping migration"
|
||||||
|
fi
|
||||||
12
migrations/1762685081.sh
Normal file
12
migrations/1762685081.sh
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
echo "Update hyprlock placeholder text based on fingerprint setup status"
|
||||||
|
|
||||||
|
cp ~/.config/hypr/hyprlock.conf ~/.config/hypr/hyprlock.conf.bak.$(date +%s)
|
||||||
|
|
||||||
|
# Check if fprintd is installed and has enrolled fingerprints
|
||||||
|
if command -v fprintd-list &>/dev/null && fprintd-list "$USER" 2>/dev/null | grep -q "Fingerprints for user"; then
|
||||||
|
echo "Fingerprint detected, updating placeholder text with fingerprint icon"
|
||||||
|
sed -i 's/placeholder_text = .*/placeholder_text = <span> Enter Password <\/span>/' ~/.config/hypr/hyprlock.conf
|
||||||
|
else
|
||||||
|
echo "No fingerprint enrolled, updating placeholder text without fingerprint icon"
|
||||||
|
sed -i 's/placeholder_text = .*/placeholder_text = Enter Password/' ~/.config/hypr/hyprlock.conf
|
||||||
|
fi
|
||||||
3
migrations/1762711005.sh
Normal file
3
migrations/1762711005.sh
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
echo "Add usage package to provide tab completion for mise"
|
||||||
|
|
||||||
|
omarchy-pkg-add usage
|
||||||
3
migrations/1762768186.sh
Normal file
3
migrations/1762768186.sh
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
echo "Ensure config/uwsm/default uses generic terminal exec"
|
||||||
|
|
||||||
|
sed -i 's/export TERMINAL=.*/export TERMINAL=xdg-terminal-exec/' ~/.config/uwsm/default
|
||||||
5
migrations/1762770442.sh
Normal file
5
migrations/1762770442.sh
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
echo "Slow down Ghostty mouse scrolling to match Alacritty"
|
||||||
|
|
||||||
|
if ! grep -q "mouse-scroll-multiplier" ~/.config/ghostty/config; then
|
||||||
|
echo -e "\n# Slowdown mouse scrolling\nmouse-scroll-multiplier = 0.95" >> ~/.config/ghostty/config
|
||||||
|
fi
|
||||||
3
migrations/1762770815.sh
Normal file
3
migrations/1762770815.sh
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
echo "Pull packages from stable Arch mirror"
|
||||||
|
|
||||||
|
omarchy-refresh-pacman-mirrorlist stable
|
||||||
4
migrations/1762781907.sh
Normal file
4
migrations/1762781907.sh
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
echo "Add try command for managing quick code experiments"
|
||||||
|
|
||||||
|
omarchy-pkg-add ruby tobi-try
|
||||||
|
mkdir -p ~/Work/tries
|
||||||
4
migrations/1762802472.sh
Normal file
4
migrations/1762802472.sh
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
echo "Update imv config with new keybindings"
|
||||||
|
|
||||||
|
mkdir -p ~/.config/imv
|
||||||
|
cp $OMARCHY_PATH/config/imv/config ~/.config/imv/
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
@define-color background-color #121212;
|
@define-color background-color #121212;
|
||||||
@define-color border-color #8A8A8D;
|
@define-color border-color #CCCCCC;
|
||||||
@define-color label #8A8A8D;
|
@define-color label #CCCCCC;
|
||||||
@define-color image #8A8A8D;
|
@define-color image #CCCCCC;
|
||||||
@define-color progress #8A8A8D;
|
@define-color progress #CCCCCC;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user