mirror of
https://github.com/LukeHagar/omarchy.git
synced 2025-12-07 12:37:45 +00:00
Merge branch 'dev' into sddm-uki-changes
This commit is contained in:
2
applications/hidden/electron36.desktop
Normal file
2
applications/hidden/electron36.desktop
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Hidden=true
|
||||||
2
applications/hidden/electron37.desktop
Normal file
2
applications/hidden/electron37.desktop
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Hidden=true
|
||||||
2
applications/hidden/java-java-openjdk.desktop
Normal file
2
applications/hidden/java-java-openjdk.desktop
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Hidden=true
|
||||||
2
applications/hidden/jconsole-java-openjdk.desktop
Normal file
2
applications/hidden/jconsole-java-openjdk.desktop
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Hidden=true
|
||||||
2
applications/hidden/jshell-java-openjdk.desktop
Normal file
2
applications/hidden/jshell-java-openjdk.desktop
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Hidden=true
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
Name=Neovim
|
Name=Neovim
|
||||||
GenericName=Text Editor
|
GenericName=Text Editor
|
||||||
Comment=Edit text files
|
Comment=Edit text files
|
||||||
Exec=$TERMINAL --class=nvim --title=nvim -e nvim -- %F
|
Exec=sh -c "$TERMINAL --class=nvim --title=nvim -e nvim -- %F"
|
||||||
Terminal=false
|
Terminal=false
|
||||||
Type=Application
|
Type=Application
|
||||||
Keywords=Text;editor;
|
Keywords=Text;editor;
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ SCOPE="$1"
|
|||||||
AUDIO=$([[ $2 == "audio" ]] && echo "--audio")
|
AUDIO=$([[ $2 == "audio" ]] && echo "--audio")
|
||||||
|
|
||||||
start_screenrecording() {
|
start_screenrecording() {
|
||||||
filename="$OUTPUT_DIR/screenrecording-$(date +'%Y-%m-%d_%H-%M-%S').mp4"
|
local filename="$OUTPUT_DIR/screenrecording-$(date +'%Y-%m-%d_%H-%M-%S').mp4"
|
||||||
|
|
||||||
if lspci | grep -qi 'nvidia'; then
|
if lspci | grep -qi 'nvidia'; then
|
||||||
wf-recorder $AUDIO -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 "$@" &
|
||||||
@@ -47,7 +47,8 @@ screenrecording_active() {
|
|||||||
if screenrecording_active; then
|
if screenrecording_active; then
|
||||||
stop_screenrecording
|
stop_screenrecording
|
||||||
elif [[ "$SCOPE" == "output" ]]; then
|
elif [[ "$SCOPE" == "output" ]]; then
|
||||||
start_screenrecording
|
output=$(slurp -o) || exit 1
|
||||||
|
start_screenrecording -g "$output"
|
||||||
else
|
else
|
||||||
region=$(slurp) || exit 1
|
region=$(slurp) || exit 1
|
||||||
start_screenrecording -g "$region"
|
start_screenrecording -g "$region"
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ hyprctl keyword cursor:invisible true
|
|||||||
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 $(($(tput lines) - 1)) --anchor-canvas c --anchor-text c \
|
||||||
"$effect" &
|
"$effect" &
|
||||||
|
|
||||||
while pgrep -x tte >/dev/null; do
|
while pgrep -x tte >/dev/null; do
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
options=("MySQL" "PostgreSQL" "Redis" "MongoDB" "MariaDB")
|
options=("MySQL" "PostgreSQL" "Redis" "MongoDB" "MariaDB")
|
||||||
|
|
||||||
if [[ "$#" -eq 0 ]]; then
|
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
|
choices=$(printf "%s\n" "${options[@]}" | gum choose --header "Select database (return to install, esc to cancel)") || main_menu
|
||||||
else
|
else
|
||||||
choices="$@"
|
choices="$@"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -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*) ;;
|
google-chrome* | brave-browser* | microsoft-edge* | opera* | vivaldi* | helium-browser*) ;;
|
||||||
*) browser="chromium.desktop" ;;
|
*) browser="chromium.desktop" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|||||||
@@ -451,9 +451,9 @@ show_system_menu() {
|
|||||||
*Lock*) omarchy-lock-screen ;;
|
*Lock*) omarchy-lock-screen ;;
|
||||||
*Screensaver*) omarchy-launch-screensaver force ;;
|
*Screensaver*) omarchy-launch-screensaver force ;;
|
||||||
*Suspend*) systemctl suspend ;;
|
*Suspend*) systemctl suspend ;;
|
||||||
*Relaunch*) sudo systemctl restart sddm ;;
|
*Relaunch*) omarchy-state clear relaunch-required && sudo systemctl restart sddm ;;
|
||||||
*Restart*) systemctl reboot ;;
|
*Restart*) omarchy-state clear re*-required && systemctl reboot ;;
|
||||||
*Shutdown*) systemctl poweroff ;;
|
*Shutdown*) omarchy-state clear re*-required && systemctl poweroff ;;
|
||||||
*) back_to show_main_menu ;;
|
*) back_to show_main_menu ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,69 @@
|
|||||||
# A script to display Hyprland keybindings defined in your configuration
|
# A script to display Hyprland keybindings defined in your configuration
|
||||||
# using walker for an interactive search menu.
|
# using walker for an interactive search menu.
|
||||||
|
|
||||||
|
declare -A KEYCODE_SYM_MAP
|
||||||
|
|
||||||
|
build_keymap_cache() {
|
||||||
|
local keymap
|
||||||
|
keymap="$(xkbcli compile-keymap)" || {
|
||||||
|
echo "Failed to compile keymap" >&2
|
||||||
|
return 1
|
||||||
|
}
|
||||||
|
|
||||||
|
while IFS=, read -r code sym; do
|
||||||
|
[[ -z "$code" || -z "$sym" ]] && continue
|
||||||
|
KEYCODE_SYM_MAP["$code"]="$sym"
|
||||||
|
done < <(
|
||||||
|
awk '
|
||||||
|
BEGIN { sec = "" }
|
||||||
|
/xkb_keycodes/ { sec = "codes"; next }
|
||||||
|
/xkb_symbols/ { sec = "syms"; next }
|
||||||
|
sec == "codes" {
|
||||||
|
if (match($0, /<([A-Za-z0-9_]+)>\s*=\s*([0-9]+)\s*;/, m)) code_by_name[m[1]] = m[2]
|
||||||
|
}
|
||||||
|
sec == "syms" {
|
||||||
|
if (match($0, /key\s*<([A-Za-z0-9_]+)>\s*\{\s*\[\s*([^, \]]+)/, m)) sym_by_name[m[1]] = m[2]
|
||||||
|
}
|
||||||
|
END {
|
||||||
|
for (k in code_by_name) {
|
||||||
|
c = code_by_name[k]
|
||||||
|
s = sym_by_name[k]
|
||||||
|
if (c != "" && s != "" && s != "NoSymbol") print c "," s
|
||||||
|
}
|
||||||
|
}
|
||||||
|
' <<<"$keymap"
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
lookup_keycode_cached() {
|
||||||
|
printf '%s\n' "${KEYCODE_SYM_MAP[$1]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
parse_keycodes() {
|
||||||
|
local start end elapsed
|
||||||
|
[[ "${DEBUG:-0}" == "1" ]] && start=$(date +%s.%N)
|
||||||
|
while IFS= read -r line; do
|
||||||
|
if [[ "$line" =~ code:([0-9]+) ]]; then
|
||||||
|
code="${BASH_REMATCH[1]}"
|
||||||
|
symbol=$(lookup_keycode_cached "$code" "$XKB_KEYMAP_CACHE")
|
||||||
|
echo "${line/code:${code}/$symbol}"
|
||||||
|
else
|
||||||
|
echo "$line"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
if [[ "$DEBUG" == "1" ]]; then
|
||||||
|
end=$(date +%s.%N)
|
||||||
|
# fall back to awk if bc is missing
|
||||||
|
if command -v bc >/dev/null 2>&1; then
|
||||||
|
elapsed=$(echo "$end - $start" | bc)
|
||||||
|
else
|
||||||
|
elapsed=$(awk -v s="$start" -v e="$end" 'BEGIN{printf "%.6f", (e - s)}')
|
||||||
|
fi
|
||||||
|
echo "[DEBUG] parse_keycodes elapsed: ${elapsed}s" >&2
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
# Fetch dynamic keybindings from Hyprland
|
# Fetch dynamic keybindings from Hyprland
|
||||||
#
|
#
|
||||||
# Also do some pre-processing:
|
# Also do some pre-processing:
|
||||||
@@ -11,30 +74,30 @@
|
|||||||
# - Map numeric modifier key mask to a textual rendition
|
# - Map numeric modifier key mask to a textual rendition
|
||||||
# - Output comma-separated values that the parser can understand
|
# - Output comma-separated values that the parser can understand
|
||||||
dynamic_bindings() {
|
dynamic_bindings() {
|
||||||
hyprctl -j binds | \
|
hyprctl -j binds |
|
||||||
jq -r '.[] | {modmask, key, keycode, description, dispatcher, arg} | "\(.modmask),\(.key)@\(.keycode),\(.description),\(.dispatcher),\(.arg)"' | \
|
jq -r '.[] | {modmask, key, keycode, description, dispatcher, arg} | "\(.modmask),\(.key)@\(.keycode),\(.description),\(.dispatcher),\(.arg)"' |
|
||||||
sed -r \
|
sed -r \
|
||||||
-e 's/null//' \
|
-e 's/null//' \
|
||||||
-e 's,~/.local/share/omarchy/bin/,,' \
|
-e 's,~/.local/share/omarchy/bin/,,' \
|
||||||
-e 's,uwsm app -- ,,' \
|
-e 's,uwsm app -- ,,' \
|
||||||
-e 's/@0//' \
|
-e 's/@0//' \
|
||||||
-e 's/,@/,code:/' \
|
-e 's/,@/,code:/' \
|
||||||
-e 's/^0,/,/' \
|
-e 's/^0,/,/' \
|
||||||
-e 's/^1,/SHIFT,/' \
|
-e 's/^1,/SHIFT,/' \
|
||||||
-e 's/^4,/CTRL,/' \
|
-e 's/^4,/CTRL,/' \
|
||||||
-e 's/^5,/SHIFT CTRL,/' \
|
-e 's/^5,/SHIFT CTRL,/' \
|
||||||
-e 's/^8,/ALT,/' \
|
-e 's/^8,/ALT,/' \
|
||||||
-e 's/^9,/SHIFT ALT,/' \
|
-e 's/^9,/SHIFT ALT,/' \
|
||||||
-e 's/^12,/CTRL ALT,/' \
|
-e 's/^12,/CTRL ALT,/' \
|
||||||
-e 's/^13,/SHIFT CTRL ALT,/' \
|
-e 's/^13,/SHIFT CTRL ALT,/' \
|
||||||
-e 's/^64,/SUPER,/' \
|
-e 's/^64,/SUPER,/' \
|
||||||
-e 's/^65,/SUPER SHIFT,/' \
|
-e 's/^65,/SUPER SHIFT,/' \
|
||||||
-e 's/^68,/SUPER CTRL,/' \
|
-e 's/^68,/SUPER CTRL,/' \
|
||||||
-e 's/^69,/SUPER SHIFT CTRL,/' \
|
-e 's/^69,/SUPER SHIFT CTRL,/' \
|
||||||
-e 's/^72,/SUPER ALT,/' \
|
-e 's/^72,/SUPER ALT,/' \
|
||||||
-e 's/^73,/SUPER SHIFT ALT,/' \
|
-e 's/^73,/SUPER SHIFT ALT,/' \
|
||||||
-e 's/^76,/SUPER CTRL ALT,/' \
|
-e 's/^76,/SUPER CTRL ALT,/' \
|
||||||
-e 's/^77,/SUPER SHIFT CTRL ALT,/'
|
-e 's/^77,/SUPER SHIFT CTRL ALT,/'
|
||||||
}
|
}
|
||||||
|
|
||||||
# Parse and format keybindings
|
# Parse and format keybindings
|
||||||
@@ -86,8 +149,10 @@ parse_bindings() {
|
|||||||
monitor_height=$(hyprctl monitors -j | jq -r '.[] | select(.focused == true) | .height')
|
monitor_height=$(hyprctl monitors -j | jq -r '.[] | select(.focused == true) | .height')
|
||||||
menu_height=$((monitor_height * 40 / 100))
|
menu_height=$((monitor_height * 40 / 100))
|
||||||
|
|
||||||
dynamic_bindings | \
|
build_keymap_cache
|
||||||
sort -u | \
|
|
||||||
parse_bindings | \
|
|
||||||
walker --dmenu --theme keybindings -p 'Keybindings' -w 800 -h "$menu_height"
|
|
||||||
|
|
||||||
|
dynamic_bindings |
|
||||||
|
sort -u |
|
||||||
|
parse_keycodes |
|
||||||
|
parse_bindings |
|
||||||
|
walker --dmenu --theme keybindings -p 'Keybindings' -w 800 -h "$menu_height"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
echo -e "Restarting pirewire audio service...\n"
|
echo -e "Restarting pipewire audio service...\n"
|
||||||
systemctl --user restart pipewire.service
|
systemctl --user restart pipewire.service
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ print_info() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
check_fingerprint_hardware() {
|
check_fingerprint_hardware() {
|
||||||
if ! lsusb | grep -Eiq 'fingerprint|synaptics|goodix|elan|validity'; then
|
if ! lsusb | grep -Eiq 'fingerprint|synaptics|goodix|elan|validity|FPC'; then
|
||||||
print_error "\nNo fingerprint sensor detected."
|
print_error "\nNo fingerprint sensor detected."
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -4,16 +4,17 @@ CHROMIUM_THEME=~/.config/omarchy/current/theme/chromium.theme
|
|||||||
|
|
||||||
if omarchy-cmd-present chromium || omarchy-cmd-present brave; then
|
if omarchy-cmd-present chromium || omarchy-cmd-present brave; then
|
||||||
if [[ -f $CHROMIUM_THEME ]]; then
|
if [[ -f $CHROMIUM_THEME ]]; then
|
||||||
rgb=$(<$CHROMIUM_THEME)
|
THEME_RGB_COLOR=$(<$CHROMIUM_THEME)
|
||||||
THEME_HEX_COLOR=$(printf '#%02x%02x%02x' ${rgb//,/ })
|
THEME_HEX_COLOR=$(printf '#%02x%02x%02x' ${rgb//,/ })
|
||||||
else
|
else
|
||||||
# Use a default, neutral grey if theme doesn't have a color
|
# Use a default, neutral grey if theme doesn't have a color
|
||||||
|
THEME_RGB_COLOR="28,32,39"
|
||||||
THEME_HEX_COLOR="#1c2027"
|
THEME_HEX_COLOR="#1c2027"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if omarchy-cmd-present chromium; then
|
if omarchy-cmd-present chromium; then
|
||||||
echo "{\"BrowserThemeColor\": \"$THEME_HEX_COLOR\"}" | tee "/etc/chromium/policies/managed/color.json" >/dev/null
|
rm -f /etc/chromium/policies/managed/color.json
|
||||||
chromium --refresh-platform-policy --no-startup-window
|
chromium --no-startup-window --set-theme-color="$THEME_RGB_COLOR"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if omarchy-cmd-present brave; then
|
if omarchy-cmd-present brave; then
|
||||||
|
|||||||
@@ -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=\$TERMINAL --class=$APP_CLASS -e $APP_EXEC
|
||||||
Terminal=false
|
Terminal=false
|
||||||
Type=Application
|
Type=Application
|
||||||
Icon=$ICON_PATH
|
Icon=$ICON_PATH
|
||||||
|
|||||||
@@ -1,3 +1,2 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
cat $OMARCHY_PATH/version
|
||||||
git -C "$OMARCHY_PATH" describe --tags $(git -C "$OMARCHY_PATH" rev-list --tags --max-count=1)
|
|
||||||
|
|||||||
11
bin/omarchy-webapp-handler-hey
Executable file
11
bin/omarchy-webapp-handler-hey
Executable file
@@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
url="$1"
|
||||||
|
web_url="https://app.hey.com"
|
||||||
|
|
||||||
|
# Handle mailto: URLs
|
||||||
|
if [[ $url =~ ^mailto: ]]; then
|
||||||
|
email=$(echo "$url" | sed 's/mailto://')
|
||||||
|
web_url="https://app.hey.com/messages/new?to=$email"
|
||||||
|
fi
|
||||||
|
|
||||||
|
exec omarchy-launch-webapp "$web_url"
|
||||||
@@ -6,7 +6,7 @@ DESKTOP_DIR="$HOME/.local/share/applications/"
|
|||||||
if [ "$#" -eq 0 ]; then
|
if [ "$#" -eq 0 ]; then
|
||||||
# Find all web apps
|
# Find all web apps
|
||||||
while IFS= read -r -d '' file; do
|
while IFS= read -r -d '' file; do
|
||||||
if grep -q '^Exec=.*omarchy-launch-webapp.*' "$file"; then
|
if grep -q '^Exec=.*\(omarchy-launch-webapp\|omarchy-webapp-handler\).*' "$file"; then
|
||||||
WEB_APPS+=("$(basename "${file%.desktop}")")
|
WEB_APPS+=("$(basename "${file%.desktop}")")
|
||||||
fi
|
fi
|
||||||
done < <(find "$DESKTOP_DIR" -name '*.desktop' -print0)
|
done < <(find "$DESKTOP_DIR" -name '*.desktop' -print0)
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
$terminal = uwsm app -- $TERMINAL
|
$terminal = uwsm app -- $TERMINAL
|
||||||
$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 SHIFT, B, Browser (private), exec, $browser --private
|
bindd = SUPER SHIFT, B, Browser (private), exec, $browser --private
|
||||||
@@ -12,7 +12,7 @@ bindd = SUPER, T, Activity, exec, $terminal -e btop
|
|||||||
bindd = SUPER, D, Docker, exec, $terminal -e lazydocker
|
bindd = SUPER, D, Docker, exec, $terminal -e lazydocker
|
||||||
bindd = SUPER, G, Signal, exec, omarchy-launch-or-focus signal "uwsm app -- signal-desktop"
|
bindd = SUPER, G, Signal, exec, omarchy-launch-or-focus signal "uwsm app -- signal-desktop"
|
||||||
bindd = SUPER, O, Obsidian, exec, omarchy-launch-or-focus obsidian "uwsm app -- obsidian -disable-gpu --enable-wayland-ime"
|
bindd = SUPER, O, Obsidian, exec, omarchy-launch-or-focus obsidian "uwsm app -- obsidian -disable-gpu --enable-wayland-ime"
|
||||||
bindd = SUPER, slash, Passwords, exec, uwsm app -- 1password
|
bindd = SUPER, SLASH, Passwords, exec, uwsm app -- 1password
|
||||||
|
|
||||||
# If your web app url contains #, type it as ## to prevent hyperland treat it as comments
|
# If your web app url contains #, type it as ## to prevent hyperland treat it as comments
|
||||||
bindd = SUPER, A, ChatGPT, exec, omarchy-launch-webapp "https://chatgpt.com"
|
bindd = SUPER, A, ChatGPT, exec, omarchy-launch-webapp "https://chatgpt.com"
|
||||||
|
|||||||
@@ -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:alts_toggle
|
kb_options = compose:caps # ,grp:shifts_toggle
|
||||||
|
|
||||||
# Change speed of keyboard repeat
|
# Change speed of keyboard repeat
|
||||||
repeat_rate = 40
|
repeat_rate = 40
|
||||||
@@ -12,7 +12,7 @@ input {
|
|||||||
# Start with numlock on by default
|
# Start with numlock on by default
|
||||||
numlock_by_default = true
|
numlock_by_default = true
|
||||||
|
|
||||||
# Increase sensitity for mouse/trackpack (default: 0)
|
# Increase sensitivity for mouse/trackpad (default: 0)
|
||||||
# sensitivity = 0.35
|
# sensitivity = 0.35
|
||||||
|
|
||||||
touchpad {
|
touchpad {
|
||||||
|
|||||||
@@ -15,3 +15,9 @@ decoration {
|
|||||||
# Use round window corners
|
# Use round window corners
|
||||||
# rounding = 8
|
# rounding = 8
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# https://wiki.hypr.land/Configuring/Dwindle-Layout/
|
||||||
|
dwindle {
|
||||||
|
# Avoid overly wide single-window layouts on wide screens
|
||||||
|
# single_window_aspect_ratio = 1 1
|
||||||
|
}
|
||||||
|
|||||||
56
config/nvim/lua/plugins/all-themes.lua
Normal file
56
config/nvim/lua/plugins/all-themes.lua
Normal file
@@ -0,0 +1,56 @@
|
|||||||
|
return {
|
||||||
|
-- Load all theme plugins but don't apply them
|
||||||
|
-- This ensures all colorschemes are available for hot-reloading
|
||||||
|
{
|
||||||
|
"ribru17/bamboo.nvim",
|
||||||
|
lazy = true,
|
||||||
|
priority = 1000,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"catppuccin/nvim",
|
||||||
|
name = "catppuccin",
|
||||||
|
lazy = true,
|
||||||
|
priority = 1000,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"sainnhe/everforest",
|
||||||
|
lazy = true,
|
||||||
|
priority = 1000,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"ellisonleao/gruvbox.nvim",
|
||||||
|
lazy = true,
|
||||||
|
priority = 1000,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"rebelot/kanagawa.nvim",
|
||||||
|
lazy = true,
|
||||||
|
priority = 1000,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tahayvr/matteblack.nvim",
|
||||||
|
lazy = true,
|
||||||
|
priority = 1000,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"loctvl842/monokai-pro.nvim",
|
||||||
|
lazy = true,
|
||||||
|
priority = 1000,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"shaunsingh/nord.nvim",
|
||||||
|
lazy = true,
|
||||||
|
priority = 1000,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"rose-pine/neovim",
|
||||||
|
name = "rose-pine",
|
||||||
|
lazy = true,
|
||||||
|
priority = 1000,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"folke/tokyonight.nvim",
|
||||||
|
lazy = true,
|
||||||
|
priority = 1000,
|
||||||
|
},
|
||||||
|
}
|
||||||
45
config/nvim/lua/plugins/omarchy-theme-hotreload.lua
Normal file
45
config/nvim/lua/plugins/omarchy-theme-hotreload.lua
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
return {
|
||||||
|
{
|
||||||
|
name = "theme-hotreload",
|
||||||
|
dir = vim.fn.stdpath("config"),
|
||||||
|
lazy = false,
|
||||||
|
priority = 1000,
|
||||||
|
config = function()
|
||||||
|
local transparency_file = vim.fn.stdpath("config") .. "/plugin/after/transparency.lua"
|
||||||
|
|
||||||
|
vim.api.nvim_create_autocmd("User", {
|
||||||
|
pattern = "LazyReload",
|
||||||
|
callback = function()
|
||||||
|
package.loaded["plugins.theme"] = nil
|
||||||
|
|
||||||
|
vim.schedule(function()
|
||||||
|
local ok, theme_spec = pcall(require, "plugins.theme")
|
||||||
|
if not ok then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
for _, spec in ipairs(theme_spec) do
|
||||||
|
if spec[1] == "LazyVim/LazyVim" and spec.opts and spec.opts.colorscheme then
|
||||||
|
local colorscheme = spec.opts.colorscheme
|
||||||
|
|
||||||
|
require("lazy.core.loader").colorscheme(colorscheme)
|
||||||
|
|
||||||
|
vim.defer_fn(function()
|
||||||
|
pcall(vim.cmd.colorscheme, colorscheme)
|
||||||
|
|
||||||
|
if vim.fn.filereadable(transparency_file) == 1 then
|
||||||
|
vim.defer_fn(function()
|
||||||
|
vim.cmd.source(transparency_file)
|
||||||
|
end, 5)
|
||||||
|
end
|
||||||
|
end, 5)
|
||||||
|
|
||||||
|
break
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end)
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
return {
|
|
||||||
{
|
|
||||||
"LazyVim/LazyVim",
|
|
||||||
opts = {
|
|
||||||
colorscheme = "tokyonight",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
# 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|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
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Float Steam, fullscreen RetroArch
|
# Float Steam
|
||||||
windowrule = float, class:steam
|
windowrule = float, class:steam
|
||||||
windowrule = center, class:steam, title:Steam
|
windowrule = center, class:steam, title:Steam
|
||||||
windowrule = opacity 1 1, class:steam
|
windowrule = opacity 1 1, class:steam
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ exec-once = uwsm app -- waybar
|
|||||||
exec-once = uwsm app -- fcitx5
|
exec-once = uwsm app -- fcitx5
|
||||||
exec-once = uwsm app -- swaybg -i ~/.config/omarchy/current/background -m fill
|
exec-once = uwsm app -- swaybg -i ~/.config/omarchy/current/background -m fill
|
||||||
exec-once = uwsm app -- swayosd-server
|
exec-once = uwsm app -- swayosd-server
|
||||||
exec-once = uwsm app -- walker --gapplication-service &
|
exec-once = uwsm app -- walker --gapplication-service
|
||||||
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||||
exec-once = wl-clip-persist --clipboard regular --all-mime-type-regex '^(?!x-kde-passwordManagerHint).+'
|
exec-once = wl-clip-persist --clipboard regular --all-mime-type-regex '^(?!x-kde-passwordManagerHint).+'
|
||||||
exec-once = omarchy-cmd-first-run
|
exec-once = omarchy-cmd-first-run
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Deprecated bindings file. New installations include everything directly.
|
# Deprecated bindings file. New installations include everything directly.
|
||||||
|
|
||||||
bindd = SUPER, return, Terminal, exec, $terminal
|
bindd = SUPER, RETURN, Terminal, exec, $terminal
|
||||||
bindd = SUPER, F, File manager, exec, $fileManager
|
bindd = SUPER, F, File manager, exec, $fileManager
|
||||||
bindd = SUPER, B, Web browser, exec, $browser
|
bindd = SUPER, B, Web browser, exec, $browser
|
||||||
bindd = SUPER, M, Music player, exec, $music
|
bindd = SUPER, M, Music player, exec, $music
|
||||||
@@ -9,7 +9,7 @@ bindd = SUPER, T, Top, exec, $terminal -e btop
|
|||||||
bindd = SUPER, D, Lazy Docker, exec, $terminal -e lazydocker
|
bindd = SUPER, D, Lazy Docker, exec, $terminal -e lazydocker
|
||||||
bindd = SUPER, G, Messenger, exec, $messenger
|
bindd = SUPER, G, Messenger, exec, $messenger
|
||||||
bindd = SUPER, O, Obsidian, exec, obsidian -disable-gpu
|
bindd = SUPER, O, Obsidian, exec, obsidian -disable-gpu
|
||||||
bindd = SUPER, slash, Password manager, exec, $passwordManager
|
bindd = SUPER, SLASH, Password manager, exec, $passwordManager
|
||||||
|
|
||||||
source = ~/.local/share/omarchy/default/hypr/bindings/media.conf
|
source = ~/.local/share/omarchy/default/hypr/bindings/media.conf
|
||||||
source = ~/.local/share/omarchy/default/hypr/bindings/tiling.conf
|
source = ~/.local/share/omarchy/default/hypr/bindings/tiling.conf
|
||||||
|
|||||||
@@ -10,10 +10,10 @@ bindd = SHIFT, F11, Force full screen, fullscreen, 0
|
|||||||
bindd = ALT, F11, Full width, fullscreen, 1
|
bindd = ALT, F11, Full width, fullscreen, 1
|
||||||
|
|
||||||
# Move focus with SUPER + arrow keys
|
# Move focus with SUPER + arrow keys
|
||||||
bindd = SUPER, left, Move focus left, movefocus, l
|
bindd = SUPER, LEFT, Move focus left, movefocus, l
|
||||||
bindd = SUPER, right, Move focus right, movefocus, r
|
bindd = SUPER, RIGHT, Move focus right, movefocus, r
|
||||||
bindd = SUPER, up, Move focus up, movefocus, u
|
bindd = SUPER, UP, Move focus up, movefocus, u
|
||||||
bindd = SUPER, down, Move focus down, movefocus, d
|
bindd = SUPER, DOWN, Move focus down, movefocus, d
|
||||||
|
|
||||||
# Switch workspaces with SUPER + [0-9]
|
# Switch workspaces with SUPER + [0-9]
|
||||||
bindd = SUPER, code:10, Switch to workspace 1, workspace, 1
|
bindd = SUPER, code:10, Switch to workspace 1, workspace, 1
|
||||||
@@ -39,22 +39,22 @@ bindd = SUPER SHIFT, code:17, Move window to workspace 8, movetoworkspace, 8
|
|||||||
bindd = SUPER SHIFT, code:18, Move window to workspace 9, movetoworkspace, 9
|
bindd = SUPER SHIFT, code:18, Move window to workspace 9, movetoworkspace, 9
|
||||||
bindd = SUPER SHIFT, code:19, Move window to workspace 10, movetoworkspace, 10
|
bindd = SUPER SHIFT, code:19, Move window to workspace 10, movetoworkspace, 10
|
||||||
|
|
||||||
# Tab between workspaces
|
# TAB between workspaces
|
||||||
bindd = SUPER, TAB, Next workspace, workspace, e+1
|
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
|
||||||
|
|
||||||
# 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
|
||||||
bindd = SUPER SHIFT, up, Swap window up, swapwindow, u
|
bindd = SUPER SHIFT, UP, Swap window up, swapwindow, u
|
||||||
bindd = SUPER SHIFT, down, Swap window down, swapwindow, d
|
bindd = SUPER SHIFT, DOWN, Swap window down, swapwindow, d
|
||||||
|
|
||||||
# Cycle through applications on active workspace
|
# Cycle through applications on active workspace
|
||||||
bindd = ALT, Tab, Cycle to next window, cyclenext
|
bindd = ALT, TAB, Cycle to next window, cyclenext
|
||||||
bindd = ALT SHIFT, Tab, Cycle to prev window, cyclenext, prev
|
bindd = ALT SHIFT, TAB, Cycle to prev window, cyclenext, prev
|
||||||
bindd = ALT, Tab, Reveal active window on top, bringactivetotop
|
bindd = ALT, TAB, Reveal active window on top, bringactivetotop
|
||||||
bindd = ALT SHIFT, Tab, Reveal active window on top, bringactivetotop
|
bindd = ALT SHIFT, TAB, Reveal active window on top, bringactivetotop
|
||||||
|
|
||||||
# Resize active window
|
# Resize active window
|
||||||
bindd = SUPER, code:20, Expand window left, resizeactive, -100 0 # - key
|
bindd = SUPER, code:20, Expand window left, resizeactive, -100 0 # - key
|
||||||
@@ -63,8 +63,8 @@ bindd = SUPER SHIFT, code:20, Shrink window up, resizeactive, 0 -100
|
|||||||
bindd = SUPER SHIFT, code:21, Expand window down, resizeactive, 0 100
|
bindd = SUPER SHIFT, code:21, Expand window down, resizeactive, 0 100
|
||||||
|
|
||||||
# Scroll through existing workspaces with SUPER + scroll
|
# Scroll through existing workspaces with SUPER + scroll
|
||||||
bindd = SUPER, mouse_down, Scroll active workspace forward, workspace, e+1
|
bindd = SUPER, MOUSE_DOWN, Scroll active workspace forward, workspace, e+1
|
||||||
bindd = SUPER, mouse_up, Scroll active workspace backward, workspace, e-1
|
bindd = SUPER, MOUSE_UP, Scroll active workspace backward, workspace, e-1
|
||||||
|
|
||||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||||
bindmd = SUPER, mouse:272, Move window, movewindow
|
bindmd = SUPER, mouse:272, Move window, movewindow
|
||||||
|
|||||||
@@ -86,6 +86,7 @@ misc {
|
|||||||
disable_hyprland_logo = true
|
disable_hyprland_logo = true
|
||||||
disable_splash_rendering = true
|
disable_splash_rendering = true
|
||||||
focus_on_activate = true
|
focus_on_activate = true
|
||||||
|
anr_missed_pings = 3
|
||||||
}
|
}
|
||||||
|
|
||||||
# https://wiki.hypr.land/Configuring/Variables/#cursor
|
# https://wiki.hypr.land/Configuring/Variables/#cursor
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ run_logged $OMARCHY_INSTALL/config/fix-powerprofilesctl-shebang.sh
|
|||||||
run_logged $OMARCHY_INSTALL/config/docker.sh
|
run_logged $OMARCHY_INSTALL/config/docker.sh
|
||||||
run_logged $OMARCHY_INSTALL/config/mimetypes.sh
|
run_logged $OMARCHY_INSTALL/config/mimetypes.sh
|
||||||
run_logged $OMARCHY_INSTALL/config/localdb.sh
|
run_logged $OMARCHY_INSTALL/config/localdb.sh
|
||||||
|
run_logged $OMARCHY_INSTALL/config/fast-shutdown.sh
|
||||||
run_logged $OMARCHY_INSTALL/config/sudoless-asdcontrol.sh
|
run_logged $OMARCHY_INSTALL/config/sudoless-asdcontrol.sh
|
||||||
run_logged $OMARCHY_INSTALL/config/hardware/network.sh
|
run_logged $OMARCHY_INSTALL/config/hardware/network.sh
|
||||||
run_logged $OMARCHY_INSTALL/config/hardware/set-wireless-regdom.sh
|
run_logged $OMARCHY_INSTALL/config/hardware/set-wireless-regdom.sh
|
||||||
@@ -24,6 +25,6 @@ run_logged $OMARCHY_INSTALL/config/hardware/usb-autosuspend.sh
|
|||||||
run_logged $OMARCHY_INSTALL/config/hardware/ignore-power-button.sh
|
run_logged $OMARCHY_INSTALL/config/hardware/ignore-power-button.sh
|
||||||
run_logged $OMARCHY_INSTALL/config/hardware/nvidia.sh
|
run_logged $OMARCHY_INSTALL/config/hardware/nvidia.sh
|
||||||
run_logged $OMARCHY_INSTALL/config/hardware/fix-f13-amd-audio-input.sh
|
run_logged $OMARCHY_INSTALL/config/hardware/fix-f13-amd-audio-input.sh
|
||||||
run_logged $OMARCHY_INSTALL/config/hardware/fix-apple-bcm4360.sh
|
run_logged $OMARCHY_INSTALL/config/hardware/fix-apple-bcm43xx.sh
|
||||||
run_logged $OMARCHY_INSTALL/config/hardware/fix-apple-spi-keyboard.sh
|
run_logged $OMARCHY_INSTALL/config/hardware/fix-apple-spi-keyboard.sh
|
||||||
run_logged $OMARCHY_INSTALL/config/hardware/fix-apple-t2.sh
|
run_logged $OMARCHY_INSTALL/config/hardware/fix-apple-t2.sh
|
||||||
|
|||||||
7
install/config/fast-shutdown.sh
Executable file
7
install/config/fast-shutdown.sh
Executable file
@@ -0,0 +1,7 @@
|
|||||||
|
sudo mkdir -p /etc/systemd/system.conf.d
|
||||||
|
|
||||||
|
cat <<EOF | sudo tee /etc/systemd/system.conf.d/10-faster-shutdown.conf
|
||||||
|
[Manager]
|
||||||
|
DefaultTimeoutStopSec=5s
|
||||||
|
EOF
|
||||||
|
sudo systemctl daemon-reload
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
# Install wifi drivers for 2013-2015 MacBooks using the BCM4360 chip
|
|
||||||
if lspci -nnv | grep -A2 "14e4:43a0" | grep -q "106b:"; then
|
|
||||||
echo "Apple BCM4360 detected"
|
|
||||||
sudo pacman -S --noconfirm --needed broadcom-wl dkms linux-headers
|
|
||||||
fi
|
|
||||||
11
install/config/hardware/fix-apple-bcm43xx.sh
Normal file
11
install/config/hardware/fix-apple-bcm43xx.sh
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# Install Wi-Fi drivers for Broadcom chips on MacBooks:
|
||||||
|
# - BCM4360 (2013–2015)
|
||||||
|
# - BCM4331 (2012, early 2013)
|
||||||
|
|
||||||
|
pci_info=$(lspci -nnv)
|
||||||
|
|
||||||
|
if echo "$pci_info" | grep -q "106b:" &&
|
||||||
|
(echo "$pci_info" | grep -q "14e4:43a0" || echo "$pci_info" | grep -q "14e4:4331"); then
|
||||||
|
echo "Apple BCM4360 / BCM4331 detected"
|
||||||
|
sudo pacman -S --noconfirm --needed broadcom-wl dkms linux-headers
|
||||||
|
fi
|
||||||
@@ -1,7 +1,12 @@
|
|||||||
# Detect MacBook models that need SPI keyboard modules
|
# Detect MacBook models that need SPI keyboard modules
|
||||||
if [[ "$(cat /sys/class/dmi/id/product_name 2>/dev/null)" =~ MacBook12,1|MacBookPro13,[123]|MacBookPro14,[123] ]]; then
|
product_name="$(cat /sys/class/dmi/id/product_name 2>/dev/null)"
|
||||||
|
if [[ "$product_name" =~ MacBook[89],1|MacBook1[02],1|MacBookPro13,[123]|MacBookPro14,[123] ]]; then
|
||||||
echo "Detected MacBook with SPI keyboard"
|
echo "Detected MacBook with SPI keyboard"
|
||||||
|
|
||||||
sudo pacman -S --noconfirm --needed macbook12-spi-driver-dkms
|
sudo pacman -S --noconfirm --needed macbook12-spi-driver-dkms
|
||||||
echo "MODULES=(applespi intel_lpss_pci spi_pxa2xx_platform)" | sudo tee /etc/mkinitcpio.conf.d/macbook_spi_modules.conf >/dev/null
|
if [[ "$product_name" == "MacBook8,1" ]]; then
|
||||||
|
echo "MODULES=(applespi spi_pxa2xx_platform spi_pxa2xx_pci)" | sudo tee /etc/mkinitcpio.conf.d/macbook_spi_modules.conf >/dev/null
|
||||||
|
else
|
||||||
|
echo "MODULES=(applespi intel_lpss_pci spi_pxa2xx_platform)" | sudo tee /etc/mkinitcpio.conf.d/macbook_spi_modules.conf >/dev/null
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -33,3 +33,6 @@ xdg-mime default mpv.desktop video/x-ms-asf
|
|||||||
xdg-mime default mpv.desktop video/x-ogm+ogg
|
xdg-mime default mpv.desktop video/x-ogm+ogg
|
||||||
xdg-mime default mpv.desktop video/x-theora+ogg
|
xdg-mime default mpv.desktop video/x-theora+ogg
|
||||||
xdg-mime default mpv.desktop application/ogg
|
xdg-mime default mpv.desktop application/ogg
|
||||||
|
|
||||||
|
# Use Hey for mailto: links
|
||||||
|
xdg-mime default HEY.desktop x-scheme-handler/mailto
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
# Setup sudo-less controls for controlling brightness on Apple Displays
|
# Setup sudo-less controls for controlling brightness on Apple Displays
|
||||||
echo "$USER ALL=(ALL) NOPASSWD: /usr/local/bin/asdcontrol" | sudo tee /etc/sudoers.d/asdcontrol
|
echo "$USER ALL=(ALL) NOPASSWD: /usr/bin/asdcontrol" | sudo tee /etc/sudoers.d/asdcontrol
|
||||||
sudo chmod 440 /etc/sudoers.d/asdcontrol
|
sudo chmod 440 /etc/sudoers.d/asdcontrol
|
||||||
|
|||||||
@@ -69,6 +69,7 @@ mariadb-libs
|
|||||||
mise
|
mise
|
||||||
mpv
|
mpv
|
||||||
nautilus
|
nautilus
|
||||||
|
gnome-disk-utility
|
||||||
noto-fonts
|
noto-fonts
|
||||||
noto-fonts-cjk
|
noto-fonts-cjk
|
||||||
noto-fonts-emoji
|
noto-fonts-emoji
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
omarchy-webapp-install "HEY" https://app.hey.com HEY.png
|
omarchy-webapp-install "HEY" https://app.hey.com HEY.png "omarchy-webapp-handler-hey %u" "x-scheme-handler/mailto"
|
||||||
omarchy-webapp-install "Basecamp" https://launchpad.37signals.com Basecamp.png
|
omarchy-webapp-install "Basecamp" https://launchpad.37signals.com Basecamp.png
|
||||||
omarchy-webapp-install "WhatsApp" https://web.whatsapp.com/ WhatsApp.png
|
omarchy-webapp-install "WhatsApp" https://web.whatsapp.com/ WhatsApp.png
|
||||||
omarchy-webapp-install "Google Photos" https://photos.google.com/ "Google Photos.png"
|
omarchy-webapp-install "Google Photos" https://photos.google.com/ "Google Photos.png"
|
||||||
|
|||||||
@@ -18,6 +18,9 @@ done
|
|||||||
# Must be x86 only to fully work
|
# Must be x86 only to fully work
|
||||||
[ "$(uname -m)" != "x86_64" ] && abort "x86_64 CPU"
|
[ "$(uname -m)" != "x86_64" ] && abort "x86_64 CPU"
|
||||||
|
|
||||||
|
# Must have secure boot disabled
|
||||||
|
bootctl status 2>/dev/null | grep -q 'Secure Boot: disabled' || abort "Secure Boot disabled"
|
||||||
|
|
||||||
# Must not have Gnome or KDE already install
|
# Must not have Gnome or KDE already install
|
||||||
pacman -Qe gnome-shell &>/dev/null && abort "Fresh + Vanilla Arch"
|
pacman -Qe gnome-shell &>/dev/null && abort "Fresh + Vanilla Arch"
|
||||||
pacman -Qe plasma-desktop &>/dev/null && abort "Fresh + Vanilla Arch"
|
pacman -Qe plasma-desktop &>/dev/null && abort "Fresh + Vanilla Arch"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
echo "Use current terminal shell cwd for new terminal working directories"
|
echo "Use current terminal shell cwd for new terminal working directories"
|
||||||
|
|
||||||
if ! grep -q "working-directory" ~/.config/hypr/bindings.conf; then
|
if ! grep -q "working-directory" ~/.config/hypr/bindings.conf; then
|
||||||
sed -i '/bindd = SUPER, return, Terminal, exec, \$terminal/ s|$| --working-directory=$(omarchy-cmd-terminal-cwd)|' ~/.config/hypr/bindings.conf
|
sed -i '/bindd = SUPER, RETURN, Terminal, exec, \$terminal/ s|$| --working-directory=$(omarchy-cmd-terminal-cwd)|' ~/.config/hypr/bindings.conf
|
||||||
fi
|
fi
|
||||||
|
|||||||
4
migrations/1758081785.sh
Normal file
4
migrations/1758081785.sh
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
echo "Add live themeing to neovim"
|
||||||
|
|
||||||
|
cp -f $OMARCHY_PATH/config/nvim/lua/plugins/all-themes.lua ~/.config/nvim/lua/plugins/
|
||||||
|
cp -f $OMARCHY_PATH/config/nvim/lua/plugins/omarchy-theme-hotreload.lua ~/.config/nvim/lua/plugins/
|
||||||
17
migrations/1758436991.sh
Normal file
17
migrations/1758436991.sh
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
echo "Fix Disk Usage and Docker TUIs"
|
||||||
|
|
||||||
|
APP_DIR="$HOME/.local/share/applications"
|
||||||
|
ICON_DIR="$APP_DIR/icons"
|
||||||
|
|
||||||
|
# Don't use omarchy-tui-remove to preserve icons
|
||||||
|
|
||||||
|
if [[ -f "$APP_DIR/Docker.desktop" ]]; then
|
||||||
|
rm "$APP_DIR/Docker.desktop"
|
||||||
|
omarchy-tui-install "Docker" "lazydocker" tile "$ICON_DIR/Docker.png"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -f "$APP_DIR/Disk Usage.desktop" ]]; then
|
||||||
|
rm "$APP_DIR/Disk Usage.desktop"
|
||||||
|
omarchy-tui-install "Disk Usage" "bash -c 'dust -r; read -n 1 -s'" float "$ICON_DIR/Disk Usage.png"
|
||||||
|
fi
|
||||||
|
|
||||||
2
migrations/1758564460.sh
Normal file
2
migrations/1758564460.sh
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
echo "Enable fast shutdown"
|
||||||
|
source $OMARCHY_PATH/install/config/fast-shutdown.sh
|
||||||
3
migrations/1759093827.sh
Normal file
3
migrations/1759093827.sh
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
echo "Adding hidden entries for electron apps"
|
||||||
|
|
||||||
|
cp $OMARCHY_PATH/applications/hidden/electron*.desktop ~/.local/share/applications/
|
||||||
5
migrations/1759691413.sh
Normal file
5
migrations/1759691413.sh
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
echo "Correct path for sudoless asdcontrol for working Apple Display hotkeys"
|
||||||
|
|
||||||
|
if [[ $(command -v asdcontrol) == "/usr/bin/asdcontrol" ]]; then
|
||||||
|
echo "$USER ALL=(ALL) NOPASSWD: /usr/bin/asdcontrol" | sudo tee /etc/sudoers.d/asdcontrol
|
||||||
|
fi
|
||||||
3
migrations/1759693134.sh
Normal file
3
migrations/1759693134.sh
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
echo "Fix opening in nvim from files manager"
|
||||||
|
|
||||||
|
cp -f $OMARCHY_PATH/applications/nvim.desktop ~/.local/share/applications/nvim.desktop
|
||||||
4
migrations/1759694076.sh
Normal file
4
migrations/1759694076.sh
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
echo "Hide OpenJDK applications from app launcher"
|
||||||
|
|
||||||
|
cp $OMARCHY_PATH/applications/hidden/*openjdk.desktop ~/.local/share/applications/
|
||||||
|
|
||||||
@@ -3,12 +3,9 @@ return {
|
|||||||
"catppuccin/nvim",
|
"catppuccin/nvim",
|
||||||
name = "catppuccin",
|
name = "catppuccin",
|
||||||
priority = 1000,
|
priority = 1000,
|
||||||
config = function()
|
opts = {
|
||||||
require("catppuccin").setup({
|
flavour = "latte",
|
||||||
flavour = "latte", -- other options: "mocha", "frappe", "macchiato"
|
},
|
||||||
})
|
|
||||||
vim.cmd.colorscheme("catppuccin-latte")
|
|
||||||
end,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"LazyVim/LazyVim",
|
"LazyVim/LazyVim",
|
||||||
|
|||||||
@@ -1,4 +1,9 @@
|
|||||||
return {
|
return {
|
||||||
|
{
|
||||||
|
"catppuccin/nvim",
|
||||||
|
name = "catppuccin",
|
||||||
|
priority = 1000,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"LazyVim/LazyVim",
|
"LazyVim/LazyVim",
|
||||||
opts = {
|
opts = {
|
||||||
|
|||||||
@@ -1,9 +1,13 @@
|
|||||||
return {
|
return {
|
||||||
"ribru17/bamboo.nvim",
|
{
|
||||||
lazy = false,
|
"ribru17/bamboo.nvim",
|
||||||
priority = 1000,
|
priority = 1000,
|
||||||
config = function()
|
opts = {},
|
||||||
require("bamboo").setup({})
|
},
|
||||||
require("bamboo").load()
|
{
|
||||||
end,
|
"LazyVim/LazyVim",
|
||||||
|
opts = {
|
||||||
|
colorscheme = "bamboo",
|
||||||
|
},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,31 +1,14 @@
|
|||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"gthelding/monokai-pro.nvim",
|
"loctvl842/monokai-pro.nvim",
|
||||||
config = function()
|
opts = {
|
||||||
require("monokai-pro").setup({
|
filter = "ristretto",
|
||||||
filter = "ristretto",
|
},
|
||||||
override = function()
|
},
|
||||||
return {
|
{
|
||||||
NonText = { fg = "#948a8b" },
|
"LazyVim/LazyVim",
|
||||||
MiniIconsGrey = { fg = "#948a8b" },
|
opts = {
|
||||||
MiniIconsRed = { fg = "#fd6883" },
|
colorscheme = "monokai-pro",
|
||||||
MiniIconsBlue = { fg = "#85dacc" },
|
},
|
||||||
MiniIconsGreen = { fg = "#adda78" },
|
},
|
||||||
MiniIconsYellow = { fg = "#f9cc6c" },
|
|
||||||
MiniIconsOrange = { fg = "#f38d70" },
|
|
||||||
MiniIconsPurple = { fg = "#a8a9eb" },
|
|
||||||
MiniIconsAzure = { fg = "#a8a9eb" },
|
|
||||||
MiniIconsCyan = { fg = "#85dacc" }, -- same value as MiniIconsBlue for consistency
|
|
||||||
}
|
|
||||||
end,
|
|
||||||
})
|
|
||||||
vim.cmd([[colorscheme monokai-pro]])
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"LazyVim/LazyVim",
|
|
||||||
opts = {
|
|
||||||
colorscheme = "monokai-pro",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,123 +1,121 @@
|
|||||||
# see https://github.com/eza-community/eza-themes/blob/main/themes/rose-pine.yml
|
# see https://github.com/eza-community/eza-themes/blob/main/themes/rose-pine-dawn.yml
|
||||||
|
|
||||||
colourful: true
|
colourful: true
|
||||||
|
|
||||||
# Colors are in format of:
|
# Colors are in format of:
|
||||||
# color/paletteRef (Description) #color code
|
# color/paletteRef (Description) #color code
|
||||||
|
|
||||||
# Gold (Terminal Yellow) #f6c177
|
# Gold (Terminal Yellow) #ea9d34
|
||||||
# Love (Terminal Red) #eb6f92
|
# Love (Terminal Red) #b4637a
|
||||||
# Rose (Terminal Cyan) #ebbcba
|
# Rose (Terminal Cyan) #d7827e
|
||||||
# Base (Primary Background) #191724
|
# Base (Primary Background) #faf4ed
|
||||||
# Iris (Terminal Magenta) #c4a7e7
|
# Iris (Terminal Magenta) #907aa9
|
||||||
# Foam (Terminal Blue) #9ccfd8
|
# Foam (Terminal Blue) #56949f
|
||||||
# Pine (Terminal Green) #31748f
|
# Pine (Terminal Green) #286983
|
||||||
# Muted (Low Contrast Foreground) #6e6a86
|
# Text (High contrast foreground) #575279
|
||||||
# Surface (Secondary Background Atop Base) #1f1d2e
|
# Muted (Low Contrast Foreground) #9893a5
|
||||||
# Overlay (Tertiary Background Atop Surface) #26233a
|
# Subtle (Medium Contrast Foreground) #797593
|
||||||
# Subtle (Medium Contrast Foreground) #908caa
|
# Highlight Low (Low contrast highlight) #f4ede8
|
||||||
# Text (High Contrast Foreground) #e0def4
|
# Highlight Med (Medium Contrast Highlight) #dfdad9
|
||||||
# Highlight Low (Low Contrast Highlight) #21202e
|
# Highlight High (High Contrast Highlight) #cecacd
|
||||||
# Highlight Med (Medium Contrast Highlight) #403d52
|
|
||||||
# Highlight High (High Contrast Highlight) #524f67
|
|
||||||
|
|
||||||
filekinds:
|
filekinds:
|
||||||
normal: {foreground: "#e0def4"}
|
normal: { foreground: "#575279" }
|
||||||
directory: {foreground: "#9ccfd8"}
|
directory: { foreground: "#56949f" }
|
||||||
symlink: {foreground: "#524f67"}
|
symlink: { foreground: "#cecacd" }
|
||||||
pipe: {foreground: "#908caa"}
|
pipe: { foreground: "#797593" }
|
||||||
block_device: {foreground: "#ebbcba"}
|
block_device: { foreground: "#d7827e" }
|
||||||
char_device: {foreground: "#f6c177"}
|
char_device: { foreground: "#ea9d34" }
|
||||||
socket: {foreground: "#21202e"}
|
socket: { foreground: "#f4ede8" }
|
||||||
special: {foreground: "#c4a7e7"}
|
special: { foreground: "#907aa9" }
|
||||||
executable: {foreground: "#c4a7e7"}
|
executable: { foreground: "#907aa9" }
|
||||||
mount_point: {foreground: "#403d52"}
|
mount_point: { foreground: "#dfdad9" }
|
||||||
|
|
||||||
perms:
|
perms:
|
||||||
user_read: {foreground: "#908caa"}
|
user_read: { foreground: "#797593" }
|
||||||
user_write: {foreground: "#403d52"}
|
user_write: { foreground: "#d7827e" }
|
||||||
user_execute_file: {foreground: "#c4a7e7"}
|
user_execute_file: { foreground: "#907aa9" }
|
||||||
user_execute_other: {foreground: "#c4a7e7"}
|
user_execute_other: { foreground: "#907aa9" }
|
||||||
group_read: {foreground: "#908caa"}
|
group_read: { foreground: "#797593" }
|
||||||
group_write: {foreground: "#403d52"}
|
group_write: { foreground: "#d7827e" }
|
||||||
group_execute: {foreground: "#c4a7e7"}
|
group_execute: { foreground: "#907aa9" }
|
||||||
other_read: {foreground: "#908caa"}
|
other_read: { foreground: "#797593" }
|
||||||
other_write: {foreground: "#403d52"}
|
other_write: { foreground: "#d7827e" }
|
||||||
other_execute: {foreground: "#c4a7e7"}
|
other_execute: { foreground: "#907aa9" }
|
||||||
special_user_file: {foreground: "#c4a7e7"}
|
special_user_file: { foreground: "#907aa9" }
|
||||||
special_other: {foreground: "#403d52"}
|
special_other: { foreground: "#d7827e" }
|
||||||
attribute: {foreground: "#908caa"}
|
attribute: { foreground: "#797593" }
|
||||||
|
|
||||||
size:
|
size:
|
||||||
major: {foreground: "#908caa"}
|
major: { foreground: "#797593" }
|
||||||
minor: {foreground: "#9ccfd8"}
|
minor: { foreground: "#56949f" }
|
||||||
number_byte: {foreground: "#908caa"}
|
number_byte: { foreground: "#797593" }
|
||||||
number_kilo: {foreground: "#524f67"}
|
number_kilo: { foreground: "#cecacd" }
|
||||||
number_mega: {foreground: "#31748f"}
|
number_mega: { foreground: "#286983" }
|
||||||
number_giga: {foreground: "#c4a7e7"}
|
number_giga: { foreground: "#907aa9" }
|
||||||
number_huge: {foreground: "#c4a7e7"}
|
number_huge: { foreground: "#907aa9" }
|
||||||
unit_byte: {foreground: "#908caa"}
|
unit_byte: { foreground: "#797593" }
|
||||||
unit_kilo: {foreground: "#31748f"}
|
unit_kilo: { foreground: "#286983" }
|
||||||
unit_mega: {foreground: "#c4a7e7"}
|
unit_mega: { foreground: "#907aa9" }
|
||||||
unit_giga: {foreground: "#c4a7e7"}
|
unit_giga: { foreground: "#907aa9" }
|
||||||
unit_huge: {foreground: "#9ccfd8"}
|
unit_huge: { foreground: "#56949f" }
|
||||||
|
|
||||||
users:
|
users:
|
||||||
user_you: {foreground: "#f6c177"}
|
user_you: { foreground: "#ea9d34" }
|
||||||
user_root: {foreground: "#eb6f92"}
|
user_root: { foreground: "#b4637a" }
|
||||||
user_other: {foreground: "#c4a7e7"}
|
user_other: { foreground: "#907aa9" }
|
||||||
group_yours: {foreground: "#524f67"}
|
group_yours: { foreground: "#cecacd" }
|
||||||
group_other: {foreground: "#6e6a86"}
|
group_other: { foreground: "#9893a5" }
|
||||||
group_root: {foreground: "#eb6f92"}
|
group_root: { foreground: "#b4637a" }
|
||||||
|
|
||||||
links:
|
links:
|
||||||
normal: {foreground: "#9ccfd8"}
|
normal: { foreground: "#56949f" }
|
||||||
multi_link_file: {foreground: "#31748f"}
|
multi_link_file: { foreground: "#286983" }
|
||||||
|
|
||||||
git:
|
git:
|
||||||
new: {foreground: "#9ccfd8"}
|
new: { foreground: "#56949f" }
|
||||||
modified: {foreground: "#f6c177"}
|
modified: { foreground: "#ea9d34" }
|
||||||
deleted: {foreground: "#eb6f92"}
|
deleted: { foreground: "#b4637a" }
|
||||||
renamed: {foreground: "#31748f"}
|
renamed: { foreground: "#286983" }
|
||||||
typechange: {foreground: "#c4a7e7"}
|
typechange: { foreground: "#907aa9" }
|
||||||
ignored: {foreground: "#6e6a86"}
|
ignored: { foreground: "#9893a5" }
|
||||||
conflicted: {foreground: "#ebbcba"}
|
conflicted: { foreground: "#d7827e" }
|
||||||
|
|
||||||
git_repo:
|
git_repo:
|
||||||
branch_main: {foreground: "#908caa"}
|
branch_main: { foreground: "#797593" }
|
||||||
branch_other: {foreground: "#c4a7e7"}
|
branch_other: { foreground: "#907aa9" }
|
||||||
git_clean: {foreground: "#9ccfd8"}
|
git_clean: { foreground: "#56949f" }
|
||||||
git_dirty: {foreground: "#eb6f92"}
|
git_dirty: { foreground: "#b4637a" }
|
||||||
|
|
||||||
security_context:
|
security_context:
|
||||||
colon: {foreground: "#908caa"}
|
colon: { foreground: "#797593" }
|
||||||
user: {foreground: "#9ccfd8"}
|
user: { foreground: "#56949f" }
|
||||||
role: {foreground: "#c4a7e7"}
|
role: { foreground: "#907aa9" }
|
||||||
typ: {foreground: "#6e6a86"}
|
typ: { foreground: "#9893a5" }
|
||||||
range: {foreground: "#c4a7e7"}
|
range: { foreground: "#907aa9" }
|
||||||
|
|
||||||
file_type:
|
file_type:
|
||||||
image: {foreground: "#f6c177"}
|
image: { foreground: "#ea9d34" }
|
||||||
video: {foreground: "#eb6f92"}
|
video: { foreground: "#b4637a" }
|
||||||
music: {foreground: "#9ccfd8"}
|
music: { foreground: "#56949f" }
|
||||||
lossless: {foreground: "#6e6a86"}
|
lossless: { foreground: "#9893a5" }
|
||||||
crypto: {foreground: "#403d52"}
|
crypto: { foreground: "#dfdad9" }
|
||||||
document: {foreground: "#908caa"}
|
document: { foreground: "#797593" }
|
||||||
compressed: {foreground: "#c4a7e7"}
|
compressed: { foreground: "#907aa9" }
|
||||||
temp: {foreground: "#ebbcba"}
|
temp: { foreground: "#d7827e" }
|
||||||
compiled: {foreground: "#31748f"}
|
compiled: { foreground: "#286983" }
|
||||||
build: {foreground: "#6e6a86"}
|
build: { foreground: "#9893a5" }
|
||||||
source: {foreground: "#ebbcba"}
|
source: { foreground: "#d7827e" }
|
||||||
|
|
||||||
punctuation: {foreground: "#524f67"}
|
punctuation: { foreground: "#cecacd" }
|
||||||
date: {foreground: "#31748f"}
|
date: { foreground: "#286983" }
|
||||||
inode: {foreground: "#908caa"}
|
inode: { foreground: "#797593" }
|
||||||
blocks: {foreground: "#6e6a86"}
|
blocks: { foreground: "#9893a5" }
|
||||||
header: {foreground: "#908caa"}
|
header: { foreground: "#797593" }
|
||||||
octal: {foreground: "#9ccfd8"}
|
octal: { foreground: "#56949f" }
|
||||||
flags: {foreground: "#c4a7e7"}
|
flags: { foreground: "#907aa9" }
|
||||||
|
|
||||||
symlink_path: {foreground: "#9ccfd8"}
|
symlink_path: { foreground: "#56949f" }
|
||||||
control_char: {foreground: "#31748f"}
|
control_char: { foreground: "#286983" }
|
||||||
broken_symlink: {foreground: "#eb6f92"}
|
broken_symlink: { foreground: "#b4637a" }
|
||||||
broken_path_overlay: {foreground: "#524f67"}
|
broken_path_overlay: { foreground: "#cecacd" }
|
||||||
|
|||||||
@@ -1,8 +1,12 @@
|
|||||||
return {
|
return {
|
||||||
|
{
|
||||||
|
"folke/tokyonight.nvim",
|
||||||
|
priority = 1000,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"LazyVim/LazyVim",
|
"LazyVim/LazyVim",
|
||||||
opts = {
|
opts = {
|
||||||
colorscheme = "tokyonight",
|
colorscheme = "tokyonight-night",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user