Switch from makima to a straight copilot to omarchy menu mapping

This commit is contained in:
David Heinemeier Hansson
2026-04-11 20:41:42 -04:00
parent 691b11901c
commit 1732551873
6 changed files with 12 additions and 36 deletions
-2
View File
@@ -222,7 +222,6 @@ show_font_menu() {
show_setup_menu() {
local options=" Audio\n Wifi\n󰂯 Bluetooth\n󱐋 Power Profile\n System Sleep\n󰍹 Monitors"
[[ -f ~/.config/hypr/bindings.conf ]] && options="$options\n Keybindings"
options="$options\n Key Remapping"
[[ -f ~/.config/hypr/input.conf ]] && options="$options\n Input"
options="$options\n󰱔 DNS\n Security\n Config"
@@ -235,7 +234,6 @@ show_setup_menu() {
*Monitors*) open_in_editor ~/.config/hypr/monitors.conf ;;
*Keybindings*) open_in_editor ~/.config/hypr/bindings.conf ;;
*Input*) open_in_editor ~/.config/hypr/input.conf ;;
*Key\ Remapping*) omarchy-setup-makima && open_in_editor "$HOME/.config/makima/AT Translated Set 2 keyboard.toml" && omarchy-restart-makima ;;
*DNS*) present_terminal omarchy-setup-dns ;;
*Security*) show_setup_security_menu ;;
*Config*) show_setup_config_menu ;;
-5
View File
@@ -1,5 +0,0 @@
#!/bin/bash
# Restart makima - key remapping service for remapping Copilot key to Omarchy Menu
sudo systemctl restart makima
-22
View File
@@ -1,22 +0,0 @@
#!/bin/bash
# Setup makima - key remapping service for remapping Copilot key to Omarchy Menu
CONFIG_FILE="$HOME/.config/makima/AT Translated Set 2 keyboard.toml"
if [[ ! -f $CONFIG_FILE ]]; then
omarchy-pkg-add makima-bin
mkdir -p "$HOME/.config/makima"
cp "$OMARCHY_PATH/default/makima/AT Translated Set 2 keyboard.toml" "$CONFIG_FILE"
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
fi
+1
View File
@@ -4,6 +4,7 @@ bindd = SUPER CTRL, E, Emoji picker, exec, omarchy-launch-walker -m symbols
bindd = SUPER CTRL, C, Capture menu, exec, omarchy-menu capture
bindd = SUPER CTRL, O, Toggle menu, exec, omarchy-menu toggle
bindd = SUPER ALT, SPACE, Omarchy menu, exec, omarchy-menu
bindd = SUPER SHIFT, code:201, Omarchy menu (Copilot key), exec, omarchy-menu
bindd = SUPER, ESCAPE, System menu, exec, omarchy-menu system
bindld = , XF86PowerOff, Power menu, exec, omarchy-menu system
bindd = SUPER, K, Show key bindings, exec, omarchy-menu-keybindings
@@ -1,7 +0,0 @@
# Run omarchy-restart-makima after any changes
[remap]
KEY_LEFTMETA-KEY_LEFTSHIFT-KEY_F23 = ["KEY_LEFTMETA", "KEY_LEFTALT", "KEY_SPACE"]
[settings]
GRAB_DEVICE = "true"
+11
View File
@@ -0,0 +1,11 @@
echo "Remove makima key remapping service (Copilot key now handled natively by Hyprland)"
if systemctl is-enabled makima &>/dev/null; then
sudo systemctl disable --now makima
fi
sudo rm -rf /etc/systemd/system/makima.service.d
sudo rm -f /etc/udev/rules.d/99-uinput.rules
rm -rf "$HOME/.config/makima"
omarchy-pkg-drop makima-bin