mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 12:19:24 +00:00
Compare commits
51 Commits
Author | SHA1 | Date | |
---|---|---|---|
17ead79b74 | |||
e03c9fce07 | |||
0f7d5744b9 | |||
19c2c708b6 | |||
621628d59b | |||
a62697de23 | |||
786d14071d | |||
1d93459af5 | |||
8fb744868f | |||
ab1fca0ce9 | |||
76d26fda4e | |||
d3953e2b35 | |||
d5fbab541f | |||
98d758b505 | |||
425603c790 | |||
00b621d7d7 | |||
49234a8a16 | |||
3c93e27440 | |||
ec0a1267b7 | |||
84d2fc3722 | |||
0d4f8145a2 | |||
2dc5b4fd8f | |||
dea0a547a6 | |||
9c79ac2208 | |||
b9b35c85c0 | |||
5a8687b386 | |||
3aa8c19b6e | |||
2045056610 | |||
a0105fab4a | |||
b43a99c11b | |||
d3f5662064 | |||
20a09cad86 | |||
9a5f17eefd | |||
ce766d475a | |||
b0beec5c0d | |||
bd8a98cd63 | |||
6f6b1565fe | |||
760f799943 | |||
d58d0f0b45 | |||
2d0f094449 | |||
c00f4c9608 | |||
5e2dd6ba15 | |||
46f52c7e4a | |||
54eb2460cb | |||
0e7e0b6e4f | |||
1481003bc4 | |||
bb59912530 | |||
d0e1924556 | |||
405bce4c46 | |||
36c6fb8b9e | |||
9906414866 |
@ -3,7 +3,7 @@
|
||||
yay -S --noconfirm --needed fprint
|
||||
|
||||
echo -e "\e[32m\nLet's setup your right index finger as the first fingerprint.\nKeep moving the finger around on sensor until the process completes.\n\e[0m"
|
||||
sudo fprintd-enroll
|
||||
sudo fprintd-enroll `whoami`
|
||||
|
||||
echo -e "\e[32m\nNow let's verify that it's working correctly.\e[0m\n"
|
||||
|
||||
|
26
bin/omarchy-power-menu
Executable file
26
bin/omarchy-power-menu
Executable file
@ -0,0 +1,26 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Power menu for Omarchy
|
||||
# Provides power off, restart, and sleep options
|
||||
|
||||
# Function to show power menu
|
||||
show_power_menu() {
|
||||
local menu_options="\u200B Lock
|
||||
\u200C Sleep
|
||||
\u200D Relaunch
|
||||
\u2060 Restart
|
||||
\u2063 Shutdown" # These first characters are invisible sort keys
|
||||
|
||||
local selection=$(echo -e "$menu_options" | wofi --show dmenu --prompt "Power Options" --width 200 --height 250 -O alphabetical)
|
||||
|
||||
case "$selection" in
|
||||
*Lock*) hyprlock ;;
|
||||
*Sleep*) systemctl suspend ;;
|
||||
*Relaunch*) hyprctl dispatch exit ;;
|
||||
*Restart*) systemctl reboot ;;
|
||||
*Shutdown*) systemctl poweroff ;;
|
||||
esac
|
||||
}
|
||||
|
||||
# Main execution
|
||||
show_power_menu
|
9
bin/omarchy-refresh-waybar
Executable file
9
bin/omarchy-refresh-waybar
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Overwrite local waybar settings with the latest in Omarchy
|
||||
cp -f ~/.local/share/omarchy/config/waybar/config ~/.config/waybar/ 2>/dev/null
|
||||
cp -f ~/.local/share/omarchy/config/waybar/style.css ~/.config/waybar/ 2>/dev/null
|
||||
|
||||
# Restart waybar
|
||||
pkill waybar &>/dev/null
|
||||
setsid waybar &>/dev/null &
|
@ -27,7 +27,6 @@ source = ~/.config/omarchy/current/theme/hyprland.conf
|
||||
# Extra env variables
|
||||
env = GDK_SCALE,2 # Change to 1 if on a 1x display
|
||||
|
||||
|
||||
# Extra bindings
|
||||
bind = SUPER, A, exec, $webapp="https://chatgpt.com"
|
||||
bind = SUPER SHIFT, A, exec, $webapp="https://grok.com"
|
||||
@ -39,8 +38,31 @@ bind = SUPER ALT, G, exec, $webapp="https://messages.google.com/web/conversation
|
||||
bind = SUPER, X, exec, $webapp="https://x.com/"
|
||||
bind = SUPER SHIFT, X, exec, $webapp="https://x.com/compose/post"
|
||||
|
||||
# Use multiple keyboard layouts and switch between them with Alt + Space
|
||||
# input {
|
||||
# kb_layout = us,dk
|
||||
# kb_options = compose:caps,grp:alt_space_toggle
|
||||
# }
|
||||
# Control your input devices
|
||||
# See https://wiki.hypr.land/Configuring/Variables/#input
|
||||
input {
|
||||
# Use multiple keyboard layouts and switch between them with Alt + Space
|
||||
# kb_layout = us,dk
|
||||
# kb_options = compose:caps,grp:alt_space_toggle
|
||||
|
||||
# Change speed of keyboard repeat
|
||||
repeat_rate = 40
|
||||
repeat_delay = 600
|
||||
|
||||
# Increase sensitity for mouse/trackpack (default: 0)
|
||||
# sensitivity = 0.35
|
||||
|
||||
touchpad {
|
||||
# Use natural (inverse) scrolling
|
||||
# natural_scroll = true
|
||||
|
||||
# Use two-finger clicks for right-click instead of lower-right corner
|
||||
# clickfinger_behavior = true
|
||||
|
||||
# Control the speed of your scrolling
|
||||
scroll_factor = 0.4
|
||||
}
|
||||
}
|
||||
|
||||
# Scroll faster in the terminal
|
||||
windowrule = scrolltouchpad 1.5, class:Alacritty
|
||||
|
@ -10,13 +10,12 @@
|
||||
"clock"
|
||||
],
|
||||
"modules-right": [
|
||||
"custom/dropbox",
|
||||
"bluetooth",
|
||||
"network",
|
||||
"pulseaudio",
|
||||
"cpu",
|
||||
"power-profiles-daemon",
|
||||
"battery"
|
||||
"battery",
|
||||
"custom/power-menu"
|
||||
],
|
||||
"hyprland/workspaces": {
|
||||
"on-click": "activate",
|
||||
@ -103,23 +102,9 @@
|
||||
"on-click-right": "pamixer -t",
|
||||
"ignored-sinks": ["Easy Effects Sink"]
|
||||
},
|
||||
"power-profiles-daemon": {
|
||||
"format": "{icon}",
|
||||
"tooltip-format": "Power profile: {profile}",
|
||||
"tooltip": true,
|
||||
"format-icons": {
|
||||
"power-saver": "",
|
||||
"balanced": "",
|
||||
"performance": ""
|
||||
}
|
||||
},
|
||||
"custom/dropbox": {
|
||||
"format": "",
|
||||
"on-click": "nautilus ~/Dropbox",
|
||||
"exec": "dropbox-cli status",
|
||||
"return-type": "text",
|
||||
"interval": 5,
|
||||
"tooltip": true,
|
||||
"tooltip-format": "{}"
|
||||
"custom/power-menu": {
|
||||
"format": "",
|
||||
"on-click": "~/.local/share/omarchy/bin/omarchy-power-menu",
|
||||
"tooltip": false
|
||||
}
|
||||
}
|
||||
|
@ -18,12 +18,12 @@
|
||||
|
||||
#custom-dropbox,
|
||||
#cpu,
|
||||
#power-profiles-daemon,
|
||||
#battery,
|
||||
#network,
|
||||
#bluetooth,
|
||||
#pulseaudio,
|
||||
#clock {
|
||||
#clock,
|
||||
#custom-power-menu {
|
||||
min-width: 12px;
|
||||
margin-right: 13px;
|
||||
}
|
||||
|
@ -5,7 +5,9 @@ HISTSIZE=32768
|
||||
HISTFILESIZE="${HISTSIZE}"
|
||||
|
||||
# Autocompletion
|
||||
# source /usr/share/bash-completion/bash_completion
|
||||
if [[ ! -v BASH_COMPLETION_VERSINFO && -f /usr/share/bash-completion/bash_completion ]]; then
|
||||
source /usr/share/bash-completion/bash_completion
|
||||
fi
|
||||
|
||||
# Set complete path
|
||||
export PATH="./bin:$HOME/.local/bin:$HOME/.local/share/omarchy/bin:$PATH"
|
||||
|
@ -16,6 +16,11 @@ bind = SUPER CTRL, SPACE, exec, ~/.local/share/omarchy/bin/swaybg-next
|
||||
bind = SUPER SHIFT CTRL, SPACE, exec, ~/.local/share/omarchy/bin/omarchy-theme-next
|
||||
bind = SUPER, K, exec, ~/.local/share/omarchy/bin/omarchy-show-keybindings
|
||||
|
||||
# Notifications
|
||||
bind = SUPER, comma, exec, makoctl dismiss
|
||||
bind = SUPER SHIFT, comma, exec, makoctl dismiss --all
|
||||
bind = SUPER CTRL, comma, exec, makoctl mode -t do-not-disturb && makoctl mode | grep -q 'do-not-disturb' && notify-send "Silenced notifications" || notify-send "Enabled notifications"
|
||||
|
||||
bind = SUPER, W, killactive,
|
||||
|
||||
# End active session
|
||||
|
@ -28,3 +28,7 @@ layerrule = blur,wofi
|
||||
windowrule = float, class:(clipse)
|
||||
windowrule = size 622 652, class:(clipse)
|
||||
windowrule = stayfocused, class:(clipse)
|
||||
|
||||
# Float and cneter file pickers
|
||||
windowrule = float, class:xdg-desktop-portal-gtk, title:^(Open.*Files?|Save.*Files?)
|
||||
windowrule = center, class:xdg-desktop-portal-gtk, title:^(Open.*Files?|Save.*Files?)
|
||||
|
@ -5,7 +5,10 @@ set -e
|
||||
trap 'echo "Omarchy installation failed! You can retry by running: source ~/.local/share/omarchy/install.sh"' ERR
|
||||
|
||||
# Install everything
|
||||
for f in ~/.local/share/omarchy/install/*.sh; do source "$f"; done
|
||||
for f in ~/.local/share/omarchy/install/*.sh; do
|
||||
echo -e "\nRunning installer: $f"
|
||||
source "$f"
|
||||
done
|
||||
|
||||
# Ensure locate is up to date now that everything has been installed
|
||||
sudo updatedb
|
||||
|
@ -3,4 +3,4 @@ yay -S --noconfirm --needed \
|
||||
fd eza fzf ripgrep zoxide bat \
|
||||
wl-clipboard fastfetch btop \
|
||||
man tldr less whois plocate \
|
||||
alacritty
|
||||
alacritty bash-completion
|
||||
|
@ -2,7 +2,7 @@ yay -S --noconfirm --needed \
|
||||
brightnessctl playerctl pamixer pavucontrol wireplumber \
|
||||
fcitx5 fcitx5-gtk fcitx5-qt fcitx5-configtool \
|
||||
wl-clip-persist clipse-bin \
|
||||
nautilus sushi gnome-calculator \
|
||||
nautilus sushi ffmpegthumbnailer gnome-calculator \
|
||||
1password-beta 1password-cli \
|
||||
chromium mpv \
|
||||
evince imv \
|
||||
|
@ -12,7 +12,7 @@
|
||||
if [ -n "$(lspci | grep -i 'nvidia')" ]; then
|
||||
# --- Driver Selection ---
|
||||
# Turing (16xx, 20xx), Ampere (30xx), Ada (40xx), and newer recommend the open-source kernel modules
|
||||
if echo "$gpu_info" | grep -q -E "RTX [2-9][0-9]|GTX 16"; then
|
||||
if echo "$(lspci | grep -i 'nvidia')" | grep -q -E "RTX [2-9][0-9]|GTX 16"; then
|
||||
NVIDIA_DRIVER_PACKAGE="nvidia-open-dkms"
|
||||
else
|
||||
NVIDIA_DRIVER_PACKAGE="nvidia-dkms"
|
||||
|
2
migrations/1751672984.sh
Normal file
2
migrations/1751672984.sh
Normal file
@ -0,0 +1,2 @@
|
||||
echo "Add LocalSend as new default application"
|
||||
yay -S --noconfirm --needed localsend-bin
|
2
migrations/1751679069.sh
Normal file
2
migrations/1751679069.sh
Normal file
@ -0,0 +1,2 @@
|
||||
echo "Install ffmpegthumbnailer for video thumbnails in the file manager"
|
||||
yay -S --noconfirm --needed ffmpegthumbnailer
|
2
migrations/1751821819.sh
Normal file
2
migrations/1751821819.sh
Normal file
@ -0,0 +1,2 @@
|
||||
echo "Install bash-completion"
|
||||
yay -S --noconfirm --needed bash-completion
|
@ -12,3 +12,9 @@ max-icon-size=32
|
||||
|
||||
[app-name=Spotify]
|
||||
invisible=1
|
||||
|
||||
[mode=do-not-disturb]
|
||||
invisible=true
|
||||
|
||||
[mode=do-not-disturb app-name=notify-send]
|
||||
invisible=false
|
||||
|
@ -12,3 +12,9 @@ max-icon-size=32
|
||||
|
||||
[app-name=Spotify]
|
||||
invisible=1
|
||||
|
||||
[mode=do-not-disturb]
|
||||
invisible=true
|
||||
|
||||
[mode=do-not-disturb app-name=notify-send]
|
||||
invisible=false
|
||||
|
@ -12,3 +12,9 @@ max-icon-size=32
|
||||
|
||||
[app-name=Spotify]
|
||||
invisible=1
|
||||
|
||||
[mode=do-not-disturb]
|
||||
invisible=true
|
||||
|
||||
[mode=do-not-disturb app-name=notify-send]
|
||||
invisible=false
|
||||
|
@ -12,3 +12,9 @@ max-icon-size=32
|
||||
|
||||
[app-name=Spotify]
|
||||
invisible=1
|
||||
|
||||
[mode=do-not-disturb]
|
||||
invisible=true
|
||||
|
||||
[mode=do-not-disturb app-name=notify-send]
|
||||
invisible=false
|
||||
|
@ -12,3 +12,9 @@ max-icon-size=32
|
||||
|
||||
[app-name=Spotify]
|
||||
invisible=1
|
||||
|
||||
[mode=do-not-disturb]
|
||||
invisible=true
|
||||
|
||||
[mode=do-not-disturb app-name=notify-send]
|
||||
invisible=false
|
||||
|
@ -12,3 +12,9 @@ max-icon-size=32
|
||||
|
||||
[app-name=Spotify]
|
||||
invisible=1
|
||||
|
||||
[mode=do-not-disturb]
|
||||
invisible=true
|
||||
|
||||
[mode=do-not-disturb app-name=notify-send]
|
||||
invisible=false
|
||||
|
Reference in New Issue
Block a user