Skip to content

Commit fad7e8d

Browse files
committed
Correction des commandes uwsm vers uwsm-app et ajout de nouveaux raccourcis pour le presse-papiers dans la documentation et les fichiers de configuration.
1 parent 07fd22f commit fad7e8d

22 files changed

+85
-61
lines changed

archlinux/install/hyprland/README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
| :--- | :--- |
1010
| `SUPER + W` | Close the active window |
1111
| `SUPER + J` | Toggle "split" (division) |
12-
| `SUPER + V` | Toggle floating mode |
1312
| `SUPER + P` | Toggle centerered floating mode |
1413
| `SHIFT + F11` | Force fullscreen |
1514
| `SUPER + ALT + ↑/↓` | Toggle monocle mode (fullscreen with background window management) |
@@ -30,6 +29,15 @@
3029

3130
---
3231

32+
### Clipboard
33+
34+
| Shortcut | Description |
35+
| :--- | :--- |
36+
| `SUPER + C` | Copy |
37+
| `SUPER + V` | Paste |
38+
39+
---
40+
3341
### Applications
3442

3543
| Shortcut | Description |

archlinux/install/hyprland/bin/dotarchy-background

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ check_images() {
2222
apply_background() {
2323
pkill -x swaybg
2424

25-
setsid uwsm app -- swaybg -i "$SYMLINK" -m fill >/dev/null 2>&1 &
25+
setsid uwsm-app -- swaybg -i "$SYMLINK" -m fill >/dev/null 2>&1 &
2626
}
2727

2828
get_current_index() {

archlinux/install/hyprland/bin/omarchy-install-docker-dbs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
options=("MySQL" "PostgreSQL" "Redis" "MongoDB" "MariaDB")
3+
options=("MySQL" "PostgreSQL" "Redis" "MongoDB" "MariaDB" "MSSQL")
44

55
if [[ "$#" -eq 0 ]]; then
66
choices=$(printf "%s\n" "${options[@]}" | gum choose --header "Select databases (space to select, return to install, esc to cancel)") || main_menu
@@ -16,6 +16,7 @@ if [[ -n "$choices" ]]; then
1616
MariaDB) docker run -d --restart unless-stopped -p "127.0.0.1:3306:3306" --name=mariadb11 -e MARIADB_ROOT_PASSWORD= -e MARIADB_ALLOW_EMPTY_ROOT_PASSWORD=true mariadb:11.8 ;;
1717
Redis) docker run -d --restart unless-stopped -p "127.0.0.1:6379:6379" --name=redis redis:7 ;;
1818
MongoDB) docker run -d --restart unless-stopped -p "127.0.0.1:27017:27017" --name mongodb -e MONGO_INITDB_ROOT_USERNAME=admin -e MONGO_INITDB_ROOT_PASSWORD=admin123 mongo:noble ;;
19+
MSSQL) sudo docker run -d --restart unless-stopped -p "127.0.0.1:1433:1433" --name mssql -e MSSQL_PID=Developer -e ACCEPT_EULA=Y -e "MSSQL_SA_PASSWORD=@dmin123" mcr.microsoft.com/mssql/server:2022-CU12-ubuntu-22.04 ;;
1920
esac
2021
done
2122
else

archlinux/install/hyprland/bin/omarchy-install-dropbox

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ echo "Installing all dependencies..."
44
sudo pacman -S --noconfirm --needed dropbox dropbox-cli libappindicator-gtk3 python-gpgme nautilus-dropbox
55

66
echo "Starting Dropbox..."
7-
uwsm app -- dropbox-cli start &>/dev/null &
7+
uwsm-app -- dropbox-cli start &>/dev/null &
88
echo "See Dropbox icon behind  hover tray in top right and right-click for setup."

archlinux/install/hyprland/bin/omarchy-launch-or-focus

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ if (($# == 0)); then
66
fi
77

88
WINDOW_PATTERN="$1"
9-
LAUNCH_COMMAND="${2:-"uwsm app -- $WINDOW_PATTERN"}"
9+
LAUNCH_COMMAND="${2:-"uwsm-app -- $WINDOW_PATTERN"}"
1010
WINDOW_ADDRESS=$(hyprctl clients -j | jq -r --arg p "$WINDOW_PATTERN" '.[]|select((.class|test("\\b" + $p + "\\b";"i")) or (.title|test("\\b" + $p + "\\b";"i")))|.address' | head -n1)
1111

1212
if [[ -n $WINDOW_ADDRESS ]]; then

archlinux/install/hyprland/bin/omarchy-launch-webapp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ google-chrome* | brave-browser* | microsoft-edge* | opera* | vivaldi*) ;;
77
*) browser="chromium.desktop" ;;
88
esac
99

10-
exec setsid uwsm app -- $(sed -n 's/^Exec=\([^ ]*\).*/\1/p' {~/.local,~/.nix-profile,/usr}/share/applications/$browser 2>/dev/null | head -1) --app="$1" "${@:2}"
10+
exec setsid uwsm-app -- $(sed -n 's/^Exec=\([^ ]*\).*/\1/p' {~/.local,~/.nix-profile,/usr}/share/applications/$browser 2>/dev/null | head -1) --app="$1" "${@:2}"

archlinux/install/hyprland/bin/omarchy-menu

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ show_setup_menu() {
9898
local options=" Audio\n Wifi\n󰂯 Bluetooth\n󱐋 Power Profile\n󰍹 Resolution\n󰍹 Monitors"
9999
[ -f ~/.config/hypr/bindings.conf ] && options="$options\n Keybindings"
100100
[ -f ~/.config/hypr/input.conf ] && options="$options\n Input"
101-
options="$options\n Config\n󰈷 Fingerprint"
101+
options="$options\n Config\n󰈷 Fingerprint\n Firmware"
102102

103103
case $(dotarchy-display-menu "Setup" "$options") in
104104
*Audio*) alacritty --class=Wiremix -e wiremix ;;
@@ -117,6 +117,7 @@ show_setup_menu() {
117117
*Input*) edit_in_nvim ~/.config/hypr/input.conf ;;
118118
*Config*) show_setup_config_menu ;;
119119
*Fingerprint*) present_terminal omarchy-setup-fingerprint ;;
120+
*Firmware*) present_terminal omarchy-update-firmware ;;
120121
*) show_main_menu ;;
121122
esac
122123
}
@@ -125,7 +126,7 @@ show_setup_power_menu() {
125126
profile=$(dotarchy-display-menu "Power Profile" "$(omarchy-powerprofiles-list)" "" "$(powerprofilesctl get)")
126127

127128
if [[ "$profile" == "CNCLD" || -z "$profile" ]]; then
128-
back_to show_main_menu
129+
back_to show_main_menu
129130
else
130131
powerprofilesctl set "$profile"
131132
fi
@@ -166,8 +167,9 @@ show_install_service_menu() {
166167
}
167168

168169
show_install_ai_menu() {
169-
case $(dotarchy-display-menu "Install" "󱚤 Claude Code\n󱚤 Gemini\n󱚤 LM Studio\n󱚤 Ollama\n󱚤 Crush\n󱚤 opencode") in
170+
case $(dotarchy-display-menu "Install" "󱚤 Claude Code\n󱚤 Cursor CLI\n󱚤 Gemini\n󱚤 LM Studio\n󱚤 Ollama\n󱚤 Crush\n󱚤 opencode") in
170171
*Claude*) install "Claude Code" "claude-code" ;;
172+
*Cursor*) install "Cursor CLI" "cursor-cli" ;;
171173
*Gemini*) install "Gemini" "gemini-cli-bin" ;;
172174
*Studio*) install "LM Studio" "lmstudio" ;;
173175
*Ollama*) install "Ollama" "ollama" ;;
@@ -238,8 +240,8 @@ show_system_menu() {
238240
*Screensaver*) omarchy-launch-screensaver force ;;
239241
*Suspend*) systemctl suspend ;;
240242
*Logout*) uwsm stop ;;
241-
*Restart*) systemctl reboot ;;
242-
*Shutdown*) systemctl poweroff ;;
243+
*Restart*) systemctl reboot --no-wall ;;
244+
*Shutdown*) systemctl poweroff --no-wall ;;
243245
*) back_to show_main_menu ;;
244246
esac
245247
}
@@ -253,13 +255,13 @@ show_theme_menu() {
253255
fi
254256
}
255257

256-
show_style_menu(){
258+
show_style_menu() {
257259
case $(dotarchy-display-menu "Style" "󰸌 Themes\n Background\n Hyprland") in
258-
*Themes*) show_theme_menu ;;
259-
# *Background*) dotarchy-background next ;;
260-
*Background*) dotarchy-background-menu ;;
261-
*Hyprland*) open_in_editor ~/.config/hypr/looknfeel.conf ;;
262-
*) show_main_menu ;;
260+
*Themes*) show_theme_menu ;;
261+
# *Background*) dotarchy-background next ;;
262+
*Background*) dotarchy-background-menu ;;
263+
*Hyprland*) open_in_editor ~/.config/hypr/looknfeel.conf ;;
264+
*) show_main_menu ;;
263265
esac
264266
}
265267

archlinux/install/hyprland/bin/omarchy-menu-keybindings

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dynamic_bindings() {
1616
sed -r \
1717
-e 's/null//' \
1818
-e 's,~/.local/share/omarchy/bin/,,' \
19-
-e 's,uwsm app -- ,,' \
19+
-e 's,uwsm-app -- ,,' \
2020
-e 's/@0//' \
2121
-e 's/,@/,code:/' \
2222
-e 's/,code:10,/,1,/' \
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/bash
22

33
pkill -x $1
4-
setsid uwsm app -- $1 >/dev/null 2>&1 &
4+
setsid uwsm-app -- $1 >/dev/null 2>&1 &

archlinux/install/hyprland/bin/omarchy-setup-fingerprint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ print_info() {
2020
}
2121

2222
check_fingerprint_hardware() {
23-
if ! lsusb | grep -Eiq 'fingerprint|synaptics|goodix|elan|validity'; then
23+
if ! lsusb | grep -Eiq 'fingerprint|synaptics|goodix|elan|validity|FPC'; then
2424
print_error "\nNo fingerprint sensor detected."
2525
return 1
2626
fi

0 commit comments

Comments
 (0)