7 Commits

Author SHA1 Message Date
178f97a6e3 We don't need the GUI for fcitx5
The fewer packages the better
2025-07-18 23:33:08 -05:00
f99277ad71 Remove needless comments 2025-07-18 23:00:42 -05:00
ca69f15709 Not needed 2025-07-18 22:58:48 -05:00
2e874adb50 Add simple screen recordings (#235)
* Add simple screen recording tool

* Need slurp too
2025-07-18 22:55:28 -05:00
3b0fd13be1 Set class/title in case we want to do window settings on it 2025-07-18 22:54:42 -05:00
f8a7e1c7eb Finish transition from audio settings GUI to TUI 2025-07-18 22:54:17 -05:00
ee5785855a Replace pavucontrol with wiremix (#225)
Add to install
2025-07-18 22:40:42 -05:00
11 changed files with 50 additions and 13 deletions

View File

@ -2,7 +2,7 @@
Name=Neovim
GenericName=Text Editor
Comment=Edit text files
Exec=alacritty -e nvim -- %F
Exec=alacritty --class=nvim --title=nvim -e nvim -- %F
Terminal=false
Type=Application
Keywords=Text;editor;

View 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

View File

@ -1,16 +1,14 @@
#!/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() {
# The first characters are invisible sort keys.
local menu_options="\u200B Lock
\u200C󰤄 Suspend
\u200D Relaunch
\u2060󰜉 Restart
\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
*Lock*) hyprlock ;;
@ -21,5 +19,4 @@ show_power_menu() {
esac
}
# Main execution
show_power_menu

14
bin/omarchy-screenrecord Executable file
View 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

View File

@ -96,7 +96,7 @@
},
"pulseaudio": {
"format": "{icon}",
"on-click": "pavucontrol",
"on-click": "alacritty --class=Wiremix -e wiremix",
"on-click-right": "pamixer -t",
"tooltip-format": "Playing at {volume}%",
"scroll-step": 5,

View File

@ -28,5 +28,8 @@ bind = , PRINT, exec, hyprshot -m region
bind = SHIFT, PRINT, exec, hyprshot -m window
bind = CTRL, PRINT, exec, hyprshot -m output
# Screenshots
bind = ALT, PRINT, exec, omarchy-screenrecord
# Color picker
bind = SUPER, PRINT, exec, hyprpicker -a

View File

@ -5,10 +5,10 @@ windowrule = suppressevent maximize, class:.*
windowrule = tile, class:^(Chromium)$
# Float and center settings and previews
windowrule = float, class:^(org.pulseaudio.pavucontrol|blueberry.py|Impala|org.gnome.NautilusPreviewer|Omarchy)$
windowrule = size 800 600, class:^(org.pulseaudio.pavucontrol|blueberry.py|Impala|org.gnome.NautilusPreviewer)$
windowrule = float, class:^(blueberry.py|Impala|Wiremix|org.gnome.NautilusPreviewer|Omarchy)$
windowrule = size 800 600, class:^(blueberry.py|Impala|Wiremix|org.gnome.NautilusPreviewer)$
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
windowrule = float, class:xdg-desktop-portal-gtk, title:^(Open.*Files?|Save.*Files?|All Files|Save)

View File

@ -1,8 +1,9 @@
#!/bin/bash
yay -S --noconfirm --needed \
brightnessctl playerctl pamixer pavucontrol wireplumber \
fcitx5 fcitx5-gtk fcitx5-qt fcitx5-configtool wl-clip-persist \
brightnessctl playerctl pamixer wiremix wireplumber \
fcitx5 fcitx5-gtk fcitx5-qt wl-clip-persist \
nautilus sushi ffmpegthumbnailer \
slurp wl-screenrec \
mpv evince imv \
chromium

2
migrations/1752885858.sh Normal file
View 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
View 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
View 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