Executable
+11
@@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Returns the battery full capacity in Wh (rounded to whole number).
|
||||||
|
# Used by omarchy-battery-status for displaying battery capacity.
|
||||||
|
|
||||||
|
battery_info=$(upower -i $(upower -e | grep BAT))
|
||||||
|
|
||||||
|
echo "$battery_info" | awk '/energy-full:/ {
|
||||||
|
printf "%d", $2
|
||||||
|
exit
|
||||||
|
}'
|
||||||
Executable
+16
@@ -0,0 +1,16 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Returns the battery time remaining (to empty or full) in a compact format.
|
||||||
|
|
||||||
|
battery_info=$(upower -i $(upower -e | grep BAT))
|
||||||
|
|
||||||
|
echo "$battery_info" | awk '/time to (empty|full)/ {
|
||||||
|
hours = int($4)
|
||||||
|
minutes = int(($4 - hours) * 60)
|
||||||
|
if (minutes > 0) {
|
||||||
|
printf "%dh %dm", hours, minutes
|
||||||
|
} else {
|
||||||
|
printf "%dh", hours
|
||||||
|
}
|
||||||
|
exit
|
||||||
|
}'
|
||||||
Executable
+28
@@ -0,0 +1,28 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Returns a formatted battery status string with percentage and power draw/charge.
|
||||||
|
# Used by the battery notification hotkey (Ctrl + Shift + Super + B).
|
||||||
|
|
||||||
|
battery_info=$(upower -i $(upower -e | grep BAT))
|
||||||
|
|
||||||
|
percentage=$(echo "$battery_info" | awk '/percentage/ {
|
||||||
|
print int($2)
|
||||||
|
exit
|
||||||
|
}')
|
||||||
|
|
||||||
|
power_rate=$(echo "$battery_info" | awk '/energy-rate/ {
|
||||||
|
rounded = sprintf("%.1f", $2)
|
||||||
|
sub(/\.0$/, "", rounded)
|
||||||
|
print rounded
|
||||||
|
exit
|
||||||
|
}')
|
||||||
|
|
||||||
|
state=$(echo "$battery_info" | awk '/state/ { print $2; exit }')
|
||||||
|
time_remaining=$(omarchy-battery-remaining-time)
|
||||||
|
capacity=$(omarchy-battery-capacity)
|
||||||
|
|
||||||
|
if [[ $state == "charging" ]]; then
|
||||||
|
echo " Battery ${percentage}% · ${time_remaining} to full · ${power_rate}W / ${capacity}Wh"
|
||||||
|
else
|
||||||
|
echo " Battery ${percentage}% · ${time_remaining} left · ${power_rate}W / ${capacity}Wh"
|
||||||
|
fi
|
||||||
@@ -135,7 +135,17 @@ stop_screenrecording() {
|
|||||||
notify-send "Screen recording error" "Recording process had to be force-killed. Video may be corrupted." -u critical -t 5000
|
notify-send "Screen recording error" "Recording process had to be force-killed. Video may be corrupted." -u critical -t 5000
|
||||||
else
|
else
|
||||||
trim_first_frame
|
trim_first_frame
|
||||||
notify-send "Screen recording saved to $OUTPUT_DIR" -t 2000
|
local filename=$(cat "$RECORDING_FILE" 2>/dev/null)
|
||||||
|
local preview="${filename%.mp4}-preview.png"
|
||||||
|
|
||||||
|
# Generate a preview thumbnail from the first frame
|
||||||
|
ffmpeg -y -i "$filename" -ss 00:00:00.1 -vframes 1 -q:v 2 "$preview" -loglevel quiet 2>/dev/null
|
||||||
|
|
||||||
|
(
|
||||||
|
ACTION=$(notify-send "Screen recording saved" "Open with Super + Alt + , (or click this)" -t 10000 -i "${preview:-$filename}" -A "default=open")
|
||||||
|
[[ $ACTION == "default" ]] && mpv "$filename"
|
||||||
|
rm -f "$preview"
|
||||||
|
) &
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rm -f "$RECORDING_FILE"
|
rm -f "$RECORDING_FILE"
|
||||||
|
|||||||
+24
-21
@@ -65,27 +65,30 @@ get_rectangles() {
|
|||||||
|
|
||||||
# Select based on mode
|
# Select based on mode
|
||||||
case "$MODE" in
|
case "$MODE" in
|
||||||
region)
|
region)
|
||||||
hyprpicker -r -z >/dev/null 2>&1 & PID=$!
|
hyprpicker -r -z >/dev/null 2>&1 &
|
||||||
sleep .1
|
PID=$!
|
||||||
SELECTION=$(slurp 2>/dev/null)
|
sleep .1
|
||||||
kill $PID 2>/dev/null
|
SELECTION=$(slurp 2>/dev/null)
|
||||||
;;
|
kill $PID 2>/dev/null
|
||||||
windows)
|
;;
|
||||||
hyprpicker -r -z >/dev/null 2>&1 & PID=$!
|
windows)
|
||||||
sleep .1
|
hyprpicker -r -z >/dev/null 2>&1 &
|
||||||
SELECTION=$(get_rectangles | slurp -r 2>/dev/null)
|
PID=$!
|
||||||
kill $PID 2>/dev/null
|
sleep .1
|
||||||
;;
|
SELECTION=$(get_rectangles | slurp -r 2>/dev/null)
|
||||||
fullscreen)
|
kill $PID 2>/dev/null
|
||||||
SELECTION=$(hyprctl monitors -j | jq -r "${JQ_MONITOR_GEO} .[] | select(.focused == true) | format_geo")
|
;;
|
||||||
;;
|
fullscreen)
|
||||||
smart|*)
|
SELECTION=$(hyprctl monitors -j | jq -r "${JQ_MONITOR_GEO} .[] | select(.focused == true) | format_geo")
|
||||||
RECTS=$(get_rectangles)
|
;;
|
||||||
hyprpicker -r -z >/dev/null 2>&1 & PID=$!
|
smart | *)
|
||||||
sleep .1
|
RECTS=$(get_rectangles)
|
||||||
SELECTION=$(echo "$RECTS" | slurp 2>/dev/null)
|
hyprpicker -r -z >/dev/null 2>&1 &
|
||||||
kill $PID 2>/dev/null
|
PID=$!
|
||||||
|
sleep .1
|
||||||
|
SELECTION=$(echo "$RECTS" | slurp 2>/dev/null)
|
||||||
|
kill $PID 2>/dev/null
|
||||||
|
|
||||||
# If the selection area is L * W < 20, we'll assume you were trying to select whichever
|
# If the selection area is L * W < 20, we'll assume you were trying to select whichever
|
||||||
# window or output it was inside of to prevent accidental 2px snapshots
|
# window or output it was inside of to prevent accidental 2px snapshots
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ if [[ ! -f $RESUME_DROP_IN ]]; then
|
|||||||
RESUME_DEVICE=$(findmnt -no SOURCE -T "$SWAP_FILE" | sed 's/\[.*\]//')
|
RESUME_DEVICE=$(findmnt -no SOURCE -T "$SWAP_FILE" | sed 's/\[.*\]//')
|
||||||
RESUME_OFFSET=$(btrfs inspect-internal map-swapfile -r "$SWAP_FILE")
|
RESUME_OFFSET=$(btrfs inspect-internal map-swapfile -r "$SWAP_FILE")
|
||||||
sudo mkdir -p /etc/limine-entry-tool.d
|
sudo mkdir -p /etc/limine-entry-tool.d
|
||||||
echo "KERNEL_CMDLINE[default]+=\"resume=$RESUME_DEVICE resume_offset=$RESUME_OFFSET\"" | sudo tee "$RESUME_DROP_IN" >/dev/null
|
echo "KERNEL_CMDLINE[default]+=\" resume=$RESUME_DEVICE resume_offset=$RESUME_OFFSET\"" | sudo tee "$RESUME_DROP_IN" >/dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Use ACPI alarm for RTC wakeup on s2idle systems (needed for suspend-then-hibernate)
|
# Use ACPI alarm for RTC wakeup on s2idle systems (needed for suspend-then-hibernate)
|
||||||
@@ -84,7 +84,7 @@ if grep -q "\[s2idle\]" /sys/power/mem_sleep 2>/dev/null; then
|
|||||||
if [[ ! -f $LIMINE_DROP_IN ]]; then
|
if [[ ! -f $LIMINE_DROP_IN ]]; then
|
||||||
echo "Enabling ACPI RTC alarm for s2idle suspend"
|
echo "Enabling ACPI RTC alarm for s2idle suspend"
|
||||||
sudo mkdir -p /etc/limine-entry-tool.d
|
sudo mkdir -p /etc/limine-entry-tool.d
|
||||||
echo 'KERNEL_CMDLINE[default]+="rtc_cmos.use_acpi_alarm=1"' | sudo tee "$LIMINE_DROP_IN" >/dev/null
|
echo 'KERNEL_CMDLINE[default]+=" rtc_cmos.use_acpi_alarm=1"' | sudo tee "$LIMINE_DROP_IN" >/dev/null
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
MONITOR_INFO=$(hyprctl monitors -j | jq -r '.[] | select(.focused == true)')
|
MONITOR_INFO=$(hyprctl monitors -j | jq -r '.[] | select(.focused == true)')
|
||||||
ACTIVE_MONITOR=$(echo "$MONITOR_INFO" | jq -r '.name')
|
ACTIVE_MONITOR=$(echo "$MONITOR_INFO" | jq -r '.name')
|
||||||
CURRENT_SCALE=$(echo "$MONITOR_INFO" | jq -r '.scale')
|
CURRENT_SCALE=$(echo "$MONITOR_INFO" | jq -r '.scale')
|
||||||
|
WIDTH=$(echo "$MONITOR_INFO" | jq -r '.width')
|
||||||
|
HEIGHT=$(echo "$MONITOR_INFO" | jq -r '.height')
|
||||||
|
REFRESH_RATE=$(echo "$MONITOR_INFO" | jq -r '.refreshRate')
|
||||||
|
|
||||||
# Cycle through scales: 1 → 1.6 → 2 → 3 → 1
|
# Cycle through scales: 1 → 1.6 → 2 → 3 → 1
|
||||||
CURRENT_INT=$(awk -v s="$CURRENT_SCALE" 'BEGIN { printf "%.0f", s * 10 }')
|
CURRENT_INT=$(awk -v s="$CURRENT_SCALE" 'BEGIN { printf "%.0f", s * 10 }')
|
||||||
@@ -16,6 +19,6 @@ case "$CURRENT_INT" in
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
hyprctl keyword misc:disable_scale_notification true
|
hyprctl keyword misc:disable_scale_notification true
|
||||||
hyprctl keyword monitor "$ACTIVE_MONITOR,preferred,auto,$NEW_SCALE"
|
hyprctl keyword monitor "$ACTIVE_MONITOR,${WIDTH}x${HEIGHT}@${REFRESH_RATE},auto,$NEW_SCALE"
|
||||||
hyprctl keyword misc:disable_scale_notification false
|
hyprctl keyword misc:disable_scale_notification false
|
||||||
notify-send " Display scaling set to ${NEW_SCALE}x"
|
notify-send " Display scaling set to ${NEW_SCALE}x"
|
||||||
|
|||||||
+11
-2
@@ -19,6 +19,13 @@ back_to() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
toggle_existing_menu() {
|
||||||
|
if pgrep -f "walker.*--dmenu" > /dev/null; then
|
||||||
|
walker --close > /dev/null 2>&1
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
menu() {
|
menu() {
|
||||||
local prompt="$1"
|
local prompt="$1"
|
||||||
local options="$2"
|
local options="$2"
|
||||||
@@ -308,7 +315,7 @@ show_install_menu() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
show_install_service_menu() {
|
show_install_service_menu() {
|
||||||
case $(menu "Install" " Dropbox\n Tailscale\n NordVPN\n Bitwarden\n Chromium Account") in
|
case $(menu "Install" " Dropbox\n Tailscale\n NordVPN [AUR]\n Bitwarden\n Chromium Account") in
|
||||||
*Dropbox*) present_terminal omarchy-install-dropbox ;;
|
*Dropbox*) present_terminal omarchy-install-dropbox ;;
|
||||||
*Tailscale*) present_terminal omarchy-install-tailscale ;;
|
*Tailscale*) present_terminal omarchy-install-tailscale ;;
|
||||||
*NordVPN*) present_terminal omarchy-install-nordvpn ;;
|
*NordVPN*) present_terminal omarchy-install-nordvpn ;;
|
||||||
@@ -353,7 +360,7 @@ show_install_ai_menu() {
|
|||||||
*Gemini*) install "Gemini CLI" "gemini-cli" ;;
|
*Gemini*) install "Gemini CLI" "gemini-cli" ;;
|
||||||
*Copilot*) install "Copilot CLI" "github-copilot-cli" ;;
|
*Copilot*) install "Copilot CLI" "github-copilot-cli" ;;
|
||||||
*Cursor*) install "Cursor CLI" "cursor-cli" ;;
|
*Cursor*) install "Cursor CLI" "cursor-cli" ;;
|
||||||
*Studio*) install "LM Studio" "lmstudio" ;;
|
*Studio*) install "LM Studio" "lmstudio-bin" ;;
|
||||||
*Ollama*) install "Ollama" $ollama_pkg ;;
|
*Ollama*) install "Ollama" $ollama_pkg ;;
|
||||||
*Crush*) install "Crush" "crush-bin" ;;
|
*Crush*) install "Crush" "crush-bin" ;;
|
||||||
*) show_install_menu ;;
|
*) show_install_menu ;;
|
||||||
@@ -619,6 +626,8 @@ go_to_menu() {
|
|||||||
USER_EXTENSIONS="$HOME/.config/omarchy/extensions/menu.sh"
|
USER_EXTENSIONS="$HOME/.config/omarchy/extensions/menu.sh"
|
||||||
[[ -f $USER_EXTENSIONS ]] && source "$USER_EXTENSIONS"
|
[[ -f $USER_EXTENSIONS ]] && source "$USER_EXTENSIONS"
|
||||||
|
|
||||||
|
toggle_existing_menu
|
||||||
|
|
||||||
if [[ -n $1 ]]; then
|
if [[ -n $1 ]]; then
|
||||||
BACK_TO_EXIT=true
|
BACK_TO_EXIT=true
|
||||||
go_to_menu "$1"
|
go_to_menu "$1"
|
||||||
|
|||||||
Executable
+5
@@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Restart makima - key remapping service for remapping Copilot key to Omarchy Menu
|
||||||
|
|
||||||
|
sudo systemctl restart makima
|
||||||
+1
-1
@@ -5,7 +5,7 @@ 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
|
||||||
|
|
||||||
if [[ $1 == "-y" ]] || omarchy-update-confirm; then
|
if [[ $1 == "-y" ]] || omarchy-update-confirm; then
|
||||||
omarchy-snapshot create || (( $? == 127 ))
|
omarchy-snapshot create || (($? == 127))
|
||||||
omarchy-update-git
|
omarchy-update-git
|
||||||
omarchy-update-perform
|
omarchy-update-perform
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -4,5 +4,7 @@ set -e
|
|||||||
|
|
||||||
echo -e "\e[32mUpdate Omarchy\e[0m"
|
echo -e "\e[32mUpdate Omarchy\e[0m"
|
||||||
|
|
||||||
|
omarchy-update-time
|
||||||
|
|
||||||
git -C $OMARCHY_PATH pull --autostash
|
git -C $OMARCHY_PATH pull --autostash
|
||||||
git -C $OMARCHY_PATH --no-pager diff --check || git -C $OMARCHY_PATH reset --merge
|
git -C $OMARCHY_PATH --no-pager diff --check || git -C $OMARCHY_PATH reset --merge
|
||||||
|
|||||||
@@ -3,14 +3,13 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Ensure screensaver/sleep doesn't set in during updates
|
# Ensure screensaver/sleep doesn't set in during updates
|
||||||
hyprctl dispatch tagwindow +noidle &> /dev/null || true
|
hyprctl dispatch tagwindow +noidle &>/dev/null || true
|
||||||
|
|
||||||
# Capture update logs (CLICOLOR_FORCE keeps gum styled when stdout is piped through tee)
|
# Capture update logs (CLICOLOR_FORCE keeps gum styled when stdout is piped through tee)
|
||||||
export CLICOLOR_FORCE=1
|
export CLICOLOR_FORCE=1
|
||||||
exec > >(tee "/tmp/omarchy-update.log") 2>&1
|
exec > >(tee "/tmp/omarchy-update.log") 2>&1
|
||||||
|
|
||||||
# Perform all update steps
|
# Perform all update steps
|
||||||
omarchy-update-time
|
|
||||||
omarchy-update-keyring
|
omarchy-update-keyring
|
||||||
omarchy-update-available-reset
|
omarchy-update-available-reset
|
||||||
omarchy-update-system-pkgs
|
omarchy-update-system-pkgs
|
||||||
@@ -24,4 +23,4 @@ omarchy-update-analyze-logs
|
|||||||
omarchy-update-restart
|
omarchy-update-restart
|
||||||
|
|
||||||
# Re-enable screensaver/sleep after updates
|
# Re-enable screensaver/sleep after updates
|
||||||
hyprctl dispatch tagwindow -- -noidle &> /dev/null || true
|
hyprctl dispatch tagwindow -- -noidle &>/dev/null || true
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Application bindings
|
# Application bindings
|
||||||
bindd = SUPER, RETURN, Terminal, exec, uwsm-app -- xdg-terminal-exec --dir="$(omarchy-cmd-terminal-cwd)"
|
bindd = SUPER, RETURN, Terminal, exec, uwsm-app -- xdg-terminal-exec --dir="$(omarchy-cmd-terminal-cwd)"
|
||||||
bindd = SUPER ALT, RETURN, Tmux, exec, uwsm-app -- xdg-terminal-exec --dir="$(omarchy-cmd-terminal-cwd)" tmux new
|
bindd = SUPER ALT, RETURN, Tmux, exec, uwsm-app -- xdg-terminal-exec --dir="$(omarchy-cmd-terminal-cwd)" bash -c "tmux attach || tmux new -s Work"
|
||||||
bindd = SUPER SHIFT, RETURN, Browser, exec, omarchy-launch-browser
|
bindd = SUPER SHIFT, RETURN, Browser, exec, omarchy-launch-browser
|
||||||
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 ALT SHIFT, F, File manager (cwd), exec, uwsm-app -- nautilus --new-window "$(omarchy-cmd-terminal-cwd)"
|
bindd = SUPER ALT SHIFT, F, File manager (cwd), exec, uwsm-app -- nautilus --new-window "$(omarchy-cmd-terminal-cwd)"
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ input {
|
|||||||
|
|
||||||
# Increase sensitivity for mouse/trackpad (default: 0)
|
# Increase sensitivity for mouse/trackpad (default: 0)
|
||||||
# sensitivity = 0.35
|
# sensitivity = 0.35
|
||||||
|
|
||||||
# Turn off mouse acceleration (default: false)
|
# Turn off mouse acceleration (default: false)
|
||||||
# force_no_accel = true
|
# force_no_accel = true
|
||||||
|
|
||||||
@@ -47,3 +47,7 @@ windowrule = match:class com.mitchellh.ghostty, scroll_touchpad 0.2
|
|||||||
# Enable touchpad gestures for changing workspaces
|
# Enable touchpad gestures for changing workspaces
|
||||||
# See https://wiki.hyprland.org/Configuring/Gestures/
|
# See https://wiki.hyprland.org/Configuring/Gestures/
|
||||||
# gesture = 3, horizontal, workspace
|
# gesture = 3, horizontal, workspace
|
||||||
|
|
||||||
|
# Enable touchpad gestures for moving focus (helpful on scrolling layout)
|
||||||
|
# gesture = 3, left, dispatcher, movefocus, l
|
||||||
|
# gesture = 3, right, dispatcher, movefocus, r
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
# relative paths are resolved relative to the location of the config file
|
# relative paths are resolved relative to the location of the config file
|
||||||
stylesheets: ["../omarchy/current/theme/hyprland-preview-share-picker.css"]
|
stylesheets: ["../omarchy/current/theme/hyprland-preview-share-picker.css"]
|
||||||
# default page selected when the picker is opened
|
# default page selected when the picker is opened
|
||||||
default_page: windows
|
default_page: outputs
|
||||||
|
|
||||||
window:
|
window:
|
||||||
# height of the application window
|
# height of the application window
|
||||||
|
|||||||
@@ -43,6 +43,8 @@ bind -n M-9 select-window -t 9
|
|||||||
|
|
||||||
bind -n M-Left select-window -t -1
|
bind -n M-Left select-window -t -1
|
||||||
bind -n M-Right select-window -t +1
|
bind -n M-Right select-window -t +1
|
||||||
|
bind -n M-S-Left swap-window -t -1 \; select-window -t -1
|
||||||
|
bind -n M-S-Right swap-window -t +1 \; select-window -t +1
|
||||||
|
|
||||||
# Session controls
|
# Session controls
|
||||||
bind R command-prompt -I "#S" "rename-session -- '%%'"
|
bind R command-prompt -I "#S" "rename-session -- '%%'"
|
||||||
@@ -75,11 +77,13 @@ set -g status-interval 5
|
|||||||
set -g status-left-length 30
|
set -g status-left-length 30
|
||||||
set -g status-right-length 50
|
set -g status-right-length 50
|
||||||
set -g window-status-separator ""
|
set -g window-status-separator ""
|
||||||
|
set -gw automatic-rename on
|
||||||
|
set -gw automatic-rename-format '#{b:pane_current_path}'
|
||||||
|
|
||||||
# Theme
|
# Theme
|
||||||
set -g status-style "bg=default,fg=default"
|
set -g status-style "bg=default,fg=default"
|
||||||
set -g status-left "#[fg=black,bg=blue,bold] #S #[bg=default] "
|
set -g status-left "#[fg=black,bg=blue,bold] #S #[bg=default] "
|
||||||
set -g status-right "#[fg=blue]#{?client_prefix,PREFIX ,}#[fg=brightblack]#h "
|
set -g status-right "#[fg=blue]#{?client_prefix,PREFIX ,}#{?window_zoomed_flag,ZOOM ,}#[fg=brightblack]#h "
|
||||||
set -g window-status-format "#[fg=brightblack] #I:#W "
|
set -g window-status-format "#[fg=brightblack] #I:#W "
|
||||||
set -g window-status-current-format "#[fg=blue,bold] #I:#W "
|
set -g window-status-current-format "#[fg=blue,bold] #I:#W "
|
||||||
set -g pane-border-style "fg=brightblack"
|
set -g pane-border-style "fg=brightblack"
|
||||||
|
|||||||
+1
-1
@@ -8,4 +8,4 @@ export PATH=$OMARCHY_PATH/bin:$PATH
|
|||||||
source ~/.config/uwsm/default
|
source ~/.config/uwsm/default
|
||||||
|
|
||||||
# Activate mise if present on the system
|
# Activate mise if present on the system
|
||||||
omarchy-cmd-present mise && eval "$(mise activate bash)"
|
omarchy-cmd-present mise && eval "$(mise activate bash --shims)"
|
||||||
|
|||||||
+11
-5
@@ -12,12 +12,18 @@ alias eff='$EDITOR "$(ff)"'
|
|||||||
if command -v zoxide &> /dev/null; then
|
if command -v zoxide &> /dev/null; then
|
||||||
alias cd="zd"
|
alias cd="zd"
|
||||||
zd() {
|
zd() {
|
||||||
if [ $# -eq 0 ]; then
|
if (( $# == 0 )); then
|
||||||
builtin cd ~ && return
|
builtin cd ~ || return
|
||||||
elif [ -d "$1" ]; then
|
elif [[ -d $1 ]]; then
|
||||||
builtin cd "$1"
|
builtin cd "$1" || return
|
||||||
else
|
else
|
||||||
z "$@" && printf "\U000F17A9 " && pwd || echo "Error: Directory not found"
|
if ! z "$@"; then
|
||||||
|
echo "Error: Directory not found"
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
printf "\U000F17A9 "
|
||||||
|
pwd
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -0,0 +1,36 @@
|
|||||||
|
# Create a new worktree and branch from within current git directory.
|
||||||
|
ga() {
|
||||||
|
if [[ -z "$1" ]]; then
|
||||||
|
echo "Usage: ga [branch name]"
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
local branch="$1"
|
||||||
|
local base="$(basename "$PWD")"
|
||||||
|
local path="../${base}--${branch}"
|
||||||
|
|
||||||
|
git worktree add -b "$branch" "$path"
|
||||||
|
mise trust "$path"
|
||||||
|
cd "$path"
|
||||||
|
}
|
||||||
|
|
||||||
|
# Remove worktree and branch from within active worktree directory.
|
||||||
|
gd() {
|
||||||
|
if gum confirm "Remove worktree and branch?"; then
|
||||||
|
local cwd base branch root worktree
|
||||||
|
|
||||||
|
cwd="$(pwd)"
|
||||||
|
worktree="$(basename "$cwd")"
|
||||||
|
|
||||||
|
# split on first `--`
|
||||||
|
root="${worktree%%--*}"
|
||||||
|
branch="${worktree#*--}"
|
||||||
|
|
||||||
|
# Protect against accidentally nuking a non-worktree directory
|
||||||
|
if [[ "$root" != "$worktree" ]]; then
|
||||||
|
cd "../$root"
|
||||||
|
git worktree remove "$cwd" --force || return 1
|
||||||
|
git branch -D "$branch"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
+1
-1
@@ -11,7 +11,7 @@ if command -v zoxide &> /dev/null; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if command -v try &> /dev/null; then
|
if command -v try &> /dev/null; then
|
||||||
eval "$(SHELL=/bin/bash try init ~/Work/tries)"
|
eval "$(SHELL=/bin/bash command try init ~/Work/tries)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if command -v fzf &> /dev/null; then
|
if command -v fzf &> /dev/null; then
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
--
|
--
|
||||||
Name = "omarchythemes"
|
Name = "omarchythemes"
|
||||||
NamePretty = "Omarchy Themes"
|
NamePretty = "Omarchy Themes"
|
||||||
|
HideFromProviderlist = true
|
||||||
|
|
||||||
-- Check if file exists using Lua (no subprocess)
|
-- Check if file exists using Lua (no subprocess)
|
||||||
local function file_exists(path)
|
local function file_exists(path)
|
||||||
@@ -93,4 +94,3 @@ function GetEntries()
|
|||||||
|
|
||||||
return entries
|
return entries
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ windowrule {
|
|||||||
windowrule {
|
windowrule {
|
||||||
name = jetbrains-popup
|
name = jetbrains-popup
|
||||||
match:class = ^(jetbrains-.*)
|
match:class = ^(jetbrains-.*)
|
||||||
match:title = ^()$
|
match:title = ^(| )$
|
||||||
match:float = 1
|
match:float = 1
|
||||||
tag = +jetbrains
|
tag = +jetbrains
|
||||||
center = on
|
center = on
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
# Float LocalSend and fzf file picker
|
# Float LocalSend and fzf file picker
|
||||||
windowrule = float on, match:class (Share|localsend)
|
windowrule = float on, match:class (Share|localsend)
|
||||||
windowrule = center on, match:class (Share|localsend)
|
windowrule = center on, match:class (Share|localsend)
|
||||||
|
windowrule = size 1100 700, match:class localsend
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ bindd = SUPER CTRL, S, Share, exec, omarchy-menu share
|
|||||||
|
|
||||||
# Waybar-less information
|
# Waybar-less information
|
||||||
bindd = SUPER CTRL ALT, T, Show time, exec, notify-send " $(date +"%A %H:%M — %d %B W%V %Y")"
|
bindd = SUPER CTRL ALT, T, Show time, exec, notify-send " $(date +"%A %H:%M — %d %B W%V %Y")"
|
||||||
bindd = SUPER CTRL ALT, B, Show battery remaining, exec, notify-send " Battery is at $(omarchy-battery-remaining)%"
|
bindd = SUPER CTRL ALT, B, Show battery remaining, exec, notify-send "$(omarchy-battery-status)"
|
||||||
|
|
||||||
# Control panels
|
# Control panels
|
||||||
bindd = SUPER CTRL, A, Audio controls, exec, omarchy-launch-audio
|
bindd = SUPER CTRL, A, Audio controls, exec, omarchy-launch-audio
|
||||||
|
|||||||
@@ -103,6 +103,7 @@ animations {
|
|||||||
animation = fadeLayersIn, 1, 1.79, almostLinear
|
animation = fadeLayersIn, 1, 1.79, almostLinear
|
||||||
animation = fadeLayersOut, 1, 1.39, almostLinear
|
animation = fadeLayersOut, 1, 1.39, almostLinear
|
||||||
animation = workspaces, 0, 0, ease
|
animation = workspaces, 0, 0, ease
|
||||||
|
animation = specialWorkspace, 1, 4, easeOutQuint, slidevert
|
||||||
}
|
}
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
# Run omarchy-restart-makima after any changes
|
||||||
|
|
||||||
|
[remap]
|
||||||
|
KEY_LEFTMETA-KEY_LEFTSHIFT-KEY_F23 = ["KEY_LEFTMETA", "KEY_LEFTALT", "KEY_SPACE"]
|
||||||
|
|
||||||
|
[settings]
|
||||||
|
GRAB_DEVICE = "true"
|
||||||
@@ -20,10 +20,12 @@ run_logged $OMARCHY_INSTALL/config/walker-elephant.sh
|
|||||||
run_logged $OMARCHY_INSTALL/config/fast-shutdown.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/input-group.sh
|
run_logged $OMARCHY_INSTALL/config/input-group.sh
|
||||||
|
run_logged $OMARCHY_INSTALL/config/makima.sh
|
||||||
run_logged $OMARCHY_INSTALL/config/omarchy-ai-skill.sh
|
run_logged $OMARCHY_INSTALL/config/omarchy-ai-skill.sh
|
||||||
run_logged $OMARCHY_INSTALL/config/kernel-modules-hook.sh
|
run_logged $OMARCHY_INSTALL/config/kernel-modules-hook.sh
|
||||||
run_logged $OMARCHY_INSTALL/config/powerprofilesctl-rules.sh
|
run_logged $OMARCHY_INSTALL/config/powerprofilesctl-rules.sh
|
||||||
run_logged $OMARCHY_INSTALL/config/wifi-powersave-rules.sh
|
run_logged $OMARCHY_INSTALL/config/wifi-powersave-rules.sh
|
||||||
|
run_logged $OMARCHY_INSTALL/config/plocate-ac-only.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
|
||||||
run_logged $OMARCHY_INSTALL/config/hardware/fix-fkeys.sh
|
run_logged $OMARCHY_INSTALL/config/hardware/fix-fkeys.sh
|
||||||
@@ -32,7 +34,9 @@ run_logged $OMARCHY_INSTALL/config/hardware/printer.sh
|
|||||||
run_logged $OMARCHY_INSTALL/config/hardware/usb-autosuspend.sh
|
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/intel.sh
|
||||||
run_logged $OMARCHY_INSTALL/config/hardware/vulkan.sh
|
run_logged $OMARCHY_INSTALL/config/hardware/vulkan.sh
|
||||||
|
run_logged $OMARCHY_INSTALL/config/hardware/fix-intel-panther-lake-display.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-bcm43xx.sh
|
run_logged $OMARCHY_INSTALL/config/hardware/fix-bcm43xx.sh
|
||||||
run_logged $OMARCHY_INSTALL/config/hardware/fix-apple-spi-keyboard.sh
|
run_logged $OMARCHY_INSTALL/config/hardware/fix-apple-spi-keyboard.sh
|
||||||
|
|||||||
@@ -30,6 +30,6 @@ EOF
|
|||||||
sudo mkdir -p /etc/limine-entry-tool.d
|
sudo mkdir -p /etc/limine-entry-tool.d
|
||||||
cat <<EOF | sudo tee /etc/limine-entry-tool.d/t2-mac.conf >/dev/null
|
cat <<EOF | sudo tee /etc/limine-entry-tool.d/t2-mac.conf >/dev/null
|
||||||
# Generated by Omarchy installer for T2 Mac support
|
# Generated by Omarchy installer for T2 Mac support
|
||||||
KERNEL_CMDLINE[default]+="intel_iommu=on iommu=pt pcie_ports=compat"
|
KERNEL_CMDLINE[default]+=" intel_iommu=on iommu=pt pcie_ports=compat"
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -0,0 +1,18 @@
|
|||||||
|
# Fix display issues on Intel Panther Lake (Xe3) GPUs by disabling power-saving
|
||||||
|
# features that cause screen to run at 10hz (e.g. Dell XPS 2026).
|
||||||
|
if lspci | grep -iE 'vga|3d|display' | grep -qi 'panther lake'; then
|
||||||
|
echo "Detected Intel Panther Lake GPU, applying display fixes..."
|
||||||
|
|
||||||
|
PANTHER_LAKE_CMDLINE='KERNEL_CMDLINE[default]+=" xe.enable_psr=0 xe.enable_panel_replay=0 xe.enable_fbc=0 xe.enable_dc=0"'
|
||||||
|
|
||||||
|
sudo mkdir -p /etc/limine-entry-tool.d
|
||||||
|
cat <<EOF | sudo tee /etc/limine-entry-tool.d/intel-panther-lake-display.conf >/dev/null
|
||||||
|
# Fix Panther Lake display issues by disabling Xe power-saving features
|
||||||
|
$PANTHER_LAKE_CMDLINE
|
||||||
|
EOF
|
||||||
|
|
||||||
|
# Also append to /etc/default/limine if it exists, since it overrides drop-in configs
|
||||||
|
if [ -f /etc/default/limine ] && ! grep -q 'xe.enable_psr' /etc/default/limine; then
|
||||||
|
echo "$PANTHER_LAKE_CMDLINE" | sudo tee -a /etc/default/limine >/dev/null
|
||||||
|
fi
|
||||||
|
fi
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
# This installs hardware video acceleration for Intel GPUs
|
# This installs hardware video acceleration for Intel GPUs
|
||||||
# Check if we have an Intel GPU at all
|
# Check if we have an Intel GPU at all
|
||||||
if INTEL_GPU=$(lspci | grep -iE 'vga|3d|display' | grep -i 'intel'); then
|
if INTEL_GPU=$(lspci | grep -iE 'vga|3d|display' | grep -i 'intel'); then
|
||||||
# HD Graphics and newer uses intel-media-driver
|
# HD Graphics / Iris / Xe / Arc use intel-media-driver
|
||||||
if [[ ${INTEL_GPU,,} =~ "hd graphics"|"xe"|"iris" ]]; then
|
if [[ ${INTEL_GPU,,} =~ (hd\ graphics|uhd\ graphics|xe|iris|arc) ]]; then
|
||||||
omarchy-pkg-add intel-media-driver
|
omarchy-pkg-add intel-media-driver
|
||||||
elif [[ ${INTEL_GPU,,} =~ "gma" ]]; then
|
elif [[ ${INTEL_GPU,,} =~ "gma" ]]; then
|
||||||
# Older generations from 2008 to ~2014-2017 use libva-intel-driver
|
# Older generations from 2008 to ~2014-2017 use libva-intel-driver
|
||||||
|
|||||||
@@ -0,0 +1,14 @@
|
|||||||
|
# Remap Copilot key (Super+Shift+F23) to Super+Alt+Space (Omarchy Menu) using makima
|
||||||
|
mkdir -p "$HOME/.config/makima"
|
||||||
|
cp "$OMARCHY_PATH/default/makima/AT Translated Set 2 keyboard.toml" "$HOME/.config/makima/"
|
||||||
|
|
||||||
|
# Create systemd override with correct user and config path
|
||||||
|
sudo mkdir -p /etc/systemd/system/makima.service.d
|
||||||
|
sudo tee /etc/systemd/system/makima.service.d/override.conf > /dev/null <<EOF
|
||||||
|
[Service]
|
||||||
|
User=$USER
|
||||||
|
Environment="MAKIMA_CONFIG=/home/$USER/.config/makima"
|
||||||
|
EOF
|
||||||
|
|
||||||
|
sudo systemctl daemon-reload
|
||||||
|
sudo systemctl enable --now makima 2>/dev/null || true
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
sudo install -d /etc/systemd/system/plocate-updatedb.service.d
|
||||||
|
printf '%s\n' '[Unit]' 'ConditionACPower=true' | sudo tee /etc/systemd/system/plocate-updatedb.service.d/ac-only.conf >/dev/null
|
||||||
|
sudo systemctl daemon-reload
|
||||||
@@ -32,6 +32,11 @@ EOF
|
|||||||
sudo cp $OMARCHY_PATH/default/limine/default.conf /etc/default/limine
|
sudo cp $OMARCHY_PATH/default/limine/default.conf /etc/default/limine
|
||||||
sudo sed -i "s|@@CMDLINE@@|$CMDLINE|g" /etc/default/limine
|
sudo sed -i "s|@@CMDLINE@@|$CMDLINE|g" /etc/default/limine
|
||||||
|
|
||||||
|
# Append any drop-in kernel cmdline configs (from hardware fix scripts, etc.)
|
||||||
|
for dropin in /etc/limine-entry-tool.d/*.conf; do
|
||||||
|
[ -f "$dropin" ] && cat "$dropin" | sudo tee -a /etc/default/limine >/dev/null
|
||||||
|
done
|
||||||
|
|
||||||
# UKI and EFI fallback are EFI only
|
# UKI and EFI fallback are EFI only
|
||||||
if [[ -z $EFI ]]; then
|
if [[ -z $EFI ]]; then
|
||||||
sudo sed -i '/^ENABLE_UKI=/d; /^ENABLE_LIMINE_FALLBACK=/d' /etc/default/limine
|
sudo sed -i '/^ENABLE_UKI=/d; /^ENABLE_LIMINE_FALLBACK=/d' /etc/default/limine
|
||||||
|
|||||||
@@ -75,6 +75,7 @@ libreoffice-fresh
|
|||||||
llvm
|
llvm
|
||||||
localsend
|
localsend
|
||||||
luarocks
|
luarocks
|
||||||
|
makima-bin
|
||||||
mako
|
mako
|
||||||
man-db
|
man-db
|
||||||
mariadb-libs
|
mariadb-libs
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
echo "Drop wayfreeze as hyprpicker replaces its function"
|
echo "Drop wayfreeze as hyprpicker replaces its function"
|
||||||
|
|
||||||
omarchy-pkg-drop wayfreeze
|
omarchy-pkg-drop wayfreeze-git wayfreeze
|
||||||
|
|||||||
@@ -0,0 +1,13 @@
|
|||||||
|
echo "Add Alt+Shift+Arrow keybindings for swapping tmux windows"
|
||||||
|
|
||||||
|
TMUX_CONF=~/.config/tmux/tmux.conf
|
||||||
|
|
||||||
|
if [[ -f $TMUX_CONF ]]; then
|
||||||
|
if ! grep -q "bind -n M-S-Left swap-window" "$TMUX_CONF"; then
|
||||||
|
sed -i '/bind -n M-Right select-window -t +1/a\
|
||||||
|
bind -n M-S-Left swap-window -t -1 \\; select-window -t -1\
|
||||||
|
bind -n M-S-Right swap-window -t +1 \\; select-window -t +1' "$TMUX_CONF"
|
||||||
|
fi
|
||||||
|
|
||||||
|
omarchy-restart-tmux
|
||||||
|
fi
|
||||||
@@ -0,0 +1,67 @@
|
|||||||
|
echo "Fix nvim transparency to preserve highlight foreground colors"
|
||||||
|
|
||||||
|
TRANSPARENCY_FILE="$HOME/.config/nvim/plugin/after/transparency.lua"
|
||||||
|
|
||||||
|
if [[ -f "$TRANSPARENCY_FILE" ]]; then
|
||||||
|
cat > "$TRANSPARENCY_FILE" << 'EOF'
|
||||||
|
-- Make highlight groups transparent while preserving their other attributes
|
||||||
|
local function make_transparent(name)
|
||||||
|
local ok, hl = pcall(vim.api.nvim_get_hl, 0, { name = name, link = false })
|
||||||
|
if ok then
|
||||||
|
hl.bg = nil
|
||||||
|
vim.api.nvim_set_hl(0, name, hl)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
local groups = {
|
||||||
|
-- transparent background
|
||||||
|
"Normal",
|
||||||
|
"NormalFloat",
|
||||||
|
"FloatBorder",
|
||||||
|
"Pmenu",
|
||||||
|
"Terminal",
|
||||||
|
"EndOfBuffer",
|
||||||
|
"FoldColumn",
|
||||||
|
"Folded",
|
||||||
|
"SignColumn",
|
||||||
|
"LineNr",
|
||||||
|
"CursorLineNr",
|
||||||
|
"NormalNC",
|
||||||
|
"WhichKeyFloat",
|
||||||
|
"TelescopeBorder",
|
||||||
|
"TelescopeNormal",
|
||||||
|
"TelescopePromptBorder",
|
||||||
|
"TelescopePromptTitle",
|
||||||
|
-- neotree
|
||||||
|
"NeoTreeNormal",
|
||||||
|
"NeoTreeNormalNC",
|
||||||
|
"NeoTreeVertSplit",
|
||||||
|
"NeoTreeWinSeparator",
|
||||||
|
"NeoTreeEndOfBuffer",
|
||||||
|
-- nvim-tree
|
||||||
|
"NvimTreeNormal",
|
||||||
|
"NvimTreeVertSplit",
|
||||||
|
"NvimTreeEndOfBuffer",
|
||||||
|
-- notify
|
||||||
|
"NotifyINFOBody",
|
||||||
|
"NotifyERRORBody",
|
||||||
|
"NotifyWARNBody",
|
||||||
|
"NotifyTRACEBody",
|
||||||
|
"NotifyDEBUGBody",
|
||||||
|
"NotifyINFOTitle",
|
||||||
|
"NotifyERRORTitle",
|
||||||
|
"NotifyWARNTitle",
|
||||||
|
"NotifyTRACETitle",
|
||||||
|
"NotifyDEBUGTitle",
|
||||||
|
"NotifyINFOBorder",
|
||||||
|
"NotifyERRORBorder",
|
||||||
|
"NotifyWARNBorder",
|
||||||
|
"NotifyTRACEBorder",
|
||||||
|
"NotifyDEBUGBorder",
|
||||||
|
}
|
||||||
|
|
||||||
|
for _, name in ipairs(groups) do
|
||||||
|
make_transparent(name)
|
||||||
|
end
|
||||||
|
EOF
|
||||||
|
fi
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
echo "Use mise shims in ~/.config/uwsm/env"
|
||||||
|
|
||||||
|
UWSM_ENV="$HOME/.config/uwsm/env"
|
||||||
|
|
||||||
|
if [[ -f $UWSM_ENV ]] && grep -q 'mise activate bash)' "$UWSM_ENV"; then
|
||||||
|
sed -i 's/mise activate bash)/mise activate bash --shims)/g' "$UWSM_ENV"
|
||||||
|
fi
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
echo "Remap Copilot key to Omarchy Menu using makima"
|
||||||
|
|
||||||
|
omarchy-pkg-add makima-bin
|
||||||
|
source $OMARCHY_PATH/install/config/makima.sh
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
echo "Add automatic-rename settings to tmux configuration"
|
||||||
|
|
||||||
|
if [[ -f ~/.config/tmux/tmux.conf ]]; then
|
||||||
|
if ! grep -q "set -gw automatic-rename on" ~/.config/tmux/tmux.conf; then
|
||||||
|
sed -i '/set -g window-status-separator ""/a\
|
||||||
|
set -gw automatic-rename on\
|
||||||
|
set -gw automatic-rename-format '\''#{b:pane_current_path}'\''\
|
||||||
|
' ~/.config/tmux/tmux.conf
|
||||||
|
omarchy-restart-tmux
|
||||||
|
fi
|
||||||
|
fi
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
echo "Only run plocate indexing on AC power to prevent hangs after sleep"
|
||||||
|
|
||||||
|
source $OMARCHY_PATH/install/config/plocate-ac-only.sh
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
echo "Update hyprland-preview-share-picker config to default to outputs page"
|
||||||
|
|
||||||
|
CONFIG_FILE=~/.config/hyprland-preview-share-picker/config.yaml
|
||||||
|
|
||||||
|
if [[ -f $CONFIG_FILE ]]; then
|
||||||
|
sed -i 's/^default_page: windows$/default_page: outputs/' "$CONFIG_FILE"
|
||||||
|
fi
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
echo "Install Intel GPU hardware acceleration drivers if missing"
|
||||||
|
|
||||||
|
if lspci | grep -iE 'vga|3d|display' | grep -qi 'intel'; then
|
||||||
|
source "$OMARCHY_PATH/install/config/hardware/intel.sh"
|
||||||
|
fi
|
||||||
Reference in New Issue
Block a user