mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 20:29:24 +00:00
Compare commits
7 Commits
7f681c71fb
...
178f97a6e3
Author | SHA1 | Date | |
---|---|---|---|
178f97a6e3 | |||
f99277ad71 | |||
ca69f15709 | |||
2e874adb50 | |||
3b0fd13be1 | |||
f8a7e1c7eb | |||
ee5785855a |
@ -2,7 +2,7 @@
|
|||||||
Name=Neovim
|
Name=Neovim
|
||||||
GenericName=Text Editor
|
GenericName=Text Editor
|
||||||
Comment=Edit text files
|
Comment=Edit text files
|
||||||
Exec=alacritty -e nvim -- %F
|
Exec=alacritty --class=nvim --title=nvim -e nvim -- %F
|
||||||
Terminal=false
|
Terminal=false
|
||||||
Type=Application
|
Type=Application
|
||||||
Keywords=Text;editor;
|
Keywords=Text;editor;
|
||||||
|
7
applications/wiremix.desktop
Normal file
7
applications/wiremix.desktop
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Name=Audio Settings
|
||||||
|
Comment=Using Wiremix
|
||||||
|
Exec=alacritty --class=Wiremix --title=Wiremix -e wiremix
|
||||||
|
Icon=audio-card
|
||||||
|
Type=Application
|
||||||
|
Terminal=false
|
@ -1,16 +1,14 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Power menu for Omarchy
|
|
||||||
# Provides power off, restart, and sleep options
|
|
||||||
|
|
||||||
# Function to show power menu. The first characters are invisible sort keys.
|
|
||||||
show_power_menu() {
|
show_power_menu() {
|
||||||
|
# The first characters are invisible sort keys.
|
||||||
local menu_options="\u200B Lock
|
local menu_options="\u200B Lock
|
||||||
\u200C Suspend
|
\u200C Suspend
|
||||||
\u200D Relaunch
|
\u200D Relaunch
|
||||||
\u2060 Restart
|
\u2060 Restart
|
||||||
\u2063 Shutdown"
|
\u2063 Shutdown"
|
||||||
local selection=$(echo -e "$menu_options" | wofi --show dmenu --prompt "Power Options" --width 150 --height 195 -O alphabetical --style ~/.config/wofi/select.css)
|
|
||||||
|
local selection=$(echo -e "$menu_options" | wofi --show dmenu --width 150 --height 195 -O alphabetical --style ~/.config/wofi/select.css)
|
||||||
|
|
||||||
case "$selection" in
|
case "$selection" in
|
||||||
*Lock*) hyprlock ;;
|
*Lock*) hyprlock ;;
|
||||||
@ -21,5 +19,4 @@ show_power_menu() {
|
|||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
# Main execution
|
|
||||||
show_power_menu
|
show_power_menu
|
||||||
|
14
bin/omarchy-screenrecord
Executable file
14
bin/omarchy-screenrecord
Executable file
@ -0,0 +1,14 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if pgrep -x wl-screenrec >/dev/null; then
|
||||||
|
pkill -x wl-screenrec
|
||||||
|
notify-send "Screen recording saved to ~/Videos" -t 2000
|
||||||
|
else
|
||||||
|
region=$(slurp) || exit 1
|
||||||
|
notify-send "Screen recording starting..." -t 1000
|
||||||
|
sleep 1
|
||||||
|
wl-screenrec \
|
||||||
|
-g "$region" \
|
||||||
|
-f "$HOME/Videos/screen-recording-$(date +'%Y-%m-%d_%H-%M-%S').mp4" \
|
||||||
|
--ffmpeg-encoder-options="-c:v libx264 -crf 23 -preset medium -movflags +faststart"
|
||||||
|
fi
|
@ -96,7 +96,7 @@
|
|||||||
},
|
},
|
||||||
"pulseaudio": {
|
"pulseaudio": {
|
||||||
"format": "{icon}",
|
"format": "{icon}",
|
||||||
"on-click": "pavucontrol",
|
"on-click": "alacritty --class=Wiremix -e wiremix",
|
||||||
"on-click-right": "pamixer -t",
|
"on-click-right": "pamixer -t",
|
||||||
"tooltip-format": "Playing at {volume}%",
|
"tooltip-format": "Playing at {volume}%",
|
||||||
"scroll-step": 5,
|
"scroll-step": 5,
|
||||||
|
@ -28,5 +28,8 @@ bind = , PRINT, exec, hyprshot -m region
|
|||||||
bind = SHIFT, PRINT, exec, hyprshot -m window
|
bind = SHIFT, PRINT, exec, hyprshot -m window
|
||||||
bind = CTRL, PRINT, exec, hyprshot -m output
|
bind = CTRL, PRINT, exec, hyprshot -m output
|
||||||
|
|
||||||
|
# Screenshots
|
||||||
|
bind = ALT, PRINT, exec, omarchy-screenrecord
|
||||||
|
|
||||||
# Color picker
|
# Color picker
|
||||||
bind = SUPER, PRINT, exec, hyprpicker -a
|
bind = SUPER, PRINT, exec, hyprpicker -a
|
||||||
|
@ -5,10 +5,10 @@ windowrule = suppressevent maximize, class:.*
|
|||||||
windowrule = tile, class:^(Chromium)$
|
windowrule = tile, class:^(Chromium)$
|
||||||
|
|
||||||
# Float and center settings and previews
|
# Float and center settings and previews
|
||||||
windowrule = float, class:^(org.pulseaudio.pavucontrol|blueberry.py|Impala|org.gnome.NautilusPreviewer|Omarchy)$
|
windowrule = float, class:^(blueberry.py|Impala|Wiremix|org.gnome.NautilusPreviewer|Omarchy)$
|
||||||
windowrule = size 800 600, class:^(org.pulseaudio.pavucontrol|blueberry.py|Impala|org.gnome.NautilusPreviewer)$
|
windowrule = size 800 600, class:^(blueberry.py|Impala|Wiremix|org.gnome.NautilusPreviewer)$
|
||||||
windowrule = size 645 350, class:Omarchy
|
windowrule = size 645 350, class:Omarchy
|
||||||
windowrule = center, class:^(org.pulseaudio.pavucontrol|blueberry.py|Impala|org.gnome.NautilusPreviewer|Omarchy)$
|
windowrule = center, class:^(blueberry.py|Impala|Wiremix|org.gnome.NautilusPreviewer|Omarchy)$
|
||||||
|
|
||||||
# Float and center file pickers
|
# Float and center file pickers
|
||||||
windowrule = float, class:xdg-desktop-portal-gtk, title:^(Open.*Files?|Save.*Files?|All Files|Save)
|
windowrule = float, class:xdg-desktop-portal-gtk, title:^(Open.*Files?|Save.*Files?|All Files|Save)
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
yay -S --noconfirm --needed \
|
yay -S --noconfirm --needed \
|
||||||
brightnessctl playerctl pamixer pavucontrol wireplumber \
|
brightnessctl playerctl pamixer wiremix wireplumber \
|
||||||
fcitx5 fcitx5-gtk fcitx5-qt fcitx5-configtool wl-clip-persist \
|
fcitx5 fcitx5-gtk fcitx5-qt wl-clip-persist \
|
||||||
nautilus sushi ffmpegthumbnailer \
|
nautilus sushi ffmpegthumbnailer \
|
||||||
|
slurp wl-screenrec \
|
||||||
mpv evince imv \
|
mpv evince imv \
|
||||||
chromium
|
chromium
|
||||||
|
2
migrations/1752885858.sh
Normal file
2
migrations/1752885858.sh
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
echo "Install slurp + wl-screenrec for new ALT+PrintScreen screen recorder"
|
||||||
|
yay -S --noconfirm --needed slurp wl-screenrec
|
9
migrations/1752896442.sh
Normal file
9
migrations/1752896442.sh
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
echo "Replace volume control GUI with a TUI"
|
||||||
|
|
||||||
|
if ! command -v wiremix &>/dev/null; then
|
||||||
|
yay -S --noconfirm --needed wiremix
|
||||||
|
yay -Rns --noconfirm pavucontrol
|
||||||
|
|
||||||
|
omarchy-refresh-applications
|
||||||
|
omarchy-refresh-waybar
|
||||||
|
fi
|
4
migrations/1752897642.sh
Normal file
4
migrations/1752897642.sh
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
echo "Remove needless fcitx5-configtool package"
|
||||||
|
if command -v fcitx5-configtool &>/dev/null; then
|
||||||
|
yay -Rns --noconfirm fcitx5-configtool
|
||||||
|
fi
|
Reference in New Issue
Block a user