Ports the classic dotfiles Omarchy setup to a no-home-manager NixOS
system module (configs/omarchy.nix), scoped to straylight only so the
other desktop hosts keep i3.
- Hyprland (programs.hyprland) becomes the default lightdm session; i3
stays enabled and selectable as a fallback.
- Omarchy config layout under ~/.config/{hypr,waybar,rofi,wlogout,
swayosd,alacritty} symlinked from the store; mutable theme/wallpaper
state in ~/.config/omarchy/current.
- omarchy-dots generates 8 themes (hyprland/hyprlock/waybar/rofi/
swayosd/wlogout/alacritty/mako colour files) from each theme's
palette, with wallpapers fetched from the Omarchy v3.8.4 tag.
- Helper scripts: omarchy-theme-set/bg-next/bg-set/apply, omarchy-menu
(rofi power/theme/background menus), waybar toggle, screenshot, lock.
- Shared desktop modules (desktop.nix / desktop-light.nix) untouched.
117 lines
5.8 KiB
Plaintext
117 lines
5.8 KiB
Plaintext
# Keybindings — ported from Omarchy v3 (bindings/tiling-v2, utilities and
|
|
# application bindings), with omarchy-* helpers replaced by the small set of
|
|
# scripts shipped in ~/.local/share/omarchy/bin. Launcher is rofi (Omarchy
|
|
# v3 shipped walker; rofi-wayland is used here per request).
|
|
|
|
# ---- Applications ----
|
|
bindd = SUPER, RETURN, Terminal, exec, alacritty
|
|
bindd = SUPER ALT, RETURN, Tmux, exec, alacritty -e tmux new -A -s Work
|
|
bindd = SUPER SHIFT, RETURN, Browser, exec, ungoogled-chromium
|
|
bindd = SUPER SHIFT, F, File manager, exec, nautilus --new-window
|
|
bindd = SUPER, SPACE, Launch apps, exec, rofi -show drun -show-icons
|
|
bindd = SUPER CTRL, E, Emoji picker, exec, rofi -show emoji
|
|
bindd = SUPER CTRL, C, Capture menu, exec, omarchy-menu capture
|
|
bindd = SUPER ALT, SPACE, Omarchy menu, exec, omarchy-menu
|
|
bindd = SUPER, K, Show key bindings, exec, omarchy-menu keybindings
|
|
bindd = , XF86Calculator, Calculator, exec, gnome-calculator
|
|
|
|
# ---- Close / control windows ----
|
|
bindd = SUPER, W, Close window, killactive,
|
|
bindd = SUPER, BACKSPACE, Close window, killactive,
|
|
bindd = SUPER, J, Toggle window split, layoutmsg, togglesplit
|
|
bindd = SUPER, P, Pseudo window, pseudo,
|
|
bindd = SUPER, T, Toggle floating/tiling, togglefloating,
|
|
bindd = SUPER, F, Full screen, fullscreen, 0
|
|
bindd = SUPER ALT, F, Full width, fullscreen, 1
|
|
bindd = SUPER, Q, Toggle window transparency, exec, hyprctl setprop active opaque toggle
|
|
|
|
# ---- Focus ----
|
|
bindd = SUPER, LEFT, Focus left, movefocus, l
|
|
bindd = SUPER, RIGHT, Focus right, movefocus, r
|
|
bindd = SUPER, UP, Focus up, movefocus, u
|
|
bindd = SUPER, DOWN, Focus down, movefocus, d
|
|
bindd = ALT, TAB, Focus next window, cyclenext
|
|
bindd = ALT SHIFT, TAB, Focus previous window, cyclenext, prev
|
|
|
|
# ---- Swap / move windows ----
|
|
bindd = SUPER SHIFT, LEFT, Swap window left, swapwindow, l
|
|
bindd = SUPER SHIFT, RIGHT, Swap window right, swapwindow, r
|
|
bindd = SUPER SHIFT, UP, Swap window up, swapwindow, u
|
|
bindd = SUPER SHIFT, DOWN, Swap window down, swapwindow, d
|
|
|
|
# ---- Workspaces ----
|
|
bindd = SUPER, code:10, Workspace 1, workspace, 1
|
|
bindd = SUPER, code:11, Workspace 2, workspace, 2
|
|
bindd = SUPER, code:12, Workspace 3, workspace, 3
|
|
bindd = SUPER, code:13, Workspace 4, workspace, 4
|
|
bindd = SUPER, code:14, Workspace 5, workspace, 5
|
|
bindd = SUPER, code:15, Workspace 6, workspace, 6
|
|
bindd = SUPER, code:16, Workspace 7, workspace, 7
|
|
bindd = SUPER, code:17, Workspace 8, workspace, 8
|
|
bindd = SUPER, code:18, Workspace 9, workspace, 9
|
|
bindd = SUPER, code:19, Workspace 10, workspace, 10
|
|
|
|
bindd = SUPER SHIFT, code:10, Move window to workspace 1, movetoworkspace, 1
|
|
bindd = SUPER SHIFT, code:11, Move window to workspace 2, movetoworkspace, 2
|
|
bindd = SUPER SHIFT, code:12, Move window to workspace 3, movetoworkspace, 3
|
|
bindd = SUPER SHIFT, code:13, Move window to workspace 4, movetoworkspace, 4
|
|
bindd = SUPER SHIFT, code:14, Move window to workspace 5, movetoworkspace, 5
|
|
bindd = SUPER SHIFT, code:15, Move window to workspace 6, movetoworkspace, 6
|
|
bindd = SUPER SHIFT, code:16, Move window to workspace 7, movetoworkspace, 7
|
|
bindd = SUPER SHIFT, code:17, Move window to workspace 8, movetoworkspace, 8
|
|
bindd = SUPER SHIFT, code:18, Move window to workspace 9, movetoworkspace, 9
|
|
bindd = SUPER SHIFT, code:19, Move window to workspace 10, movetoworkspace, 10
|
|
|
|
bindd = SUPER, TAB, Next workspace, workspace, e+1
|
|
bindd = SUPER SHIFT, TAB, Previous workspace, workspace, e-1
|
|
bindd = SUPER CTRL, TAB, Former workspace, workspace, previous
|
|
bindd = SUPER, mouse_down, Next workspace, workspace, e+1
|
|
bindd = SUPER, mouse_up, Previous workspace, workspace, e-1
|
|
|
|
# ---- Scratchpad ----
|
|
bindd = SUPER, S, Toggle scratchpad, togglespecialworkspace, scratchpad
|
|
bindd = SUPER ALT, S, Move window to scratchpad, movetoworkspacesilent, special:scratchpad
|
|
|
|
# ---- Resize ----
|
|
bindd = SUPER, code:20, Shrink window width, resizeactive, -100 0
|
|
bindd = SUPER, code:21, Expand window width, resizeactive, 100 0
|
|
bindd = SUPER SHIFT, code:20, Shrink window height, resizeactive, 0 -100
|
|
bindd = SUPER SHIFT, code:21, Expand window height, resizeactive, 0 100
|
|
|
|
bindmd = SUPER, mouse:272, Move window, movewindow
|
|
bindmd = SUPER, mouse:273, Resize window, resizewindow
|
|
|
|
# ---- Aesthetics ----
|
|
bindd = SUPER SHIFT, SPACE, Toggle top bar, exec, omarchy-toggle-waybar
|
|
bindd = SUPER CTRL, SPACE, Next background, exec, omarchy-theme-bg-next
|
|
bindd = SUPER SHIFT CTRL, SPACE, Theme menu, exec, omarchy-menu theme
|
|
|
|
# ---- Screenshots / capture ----
|
|
bindd = , PRINT, Screenshot region, exec, omarchy-capture-screenshot region
|
|
bindd = SHIFT, PRINT, Screenshot window, exec, omarchy-capture-screenshot window
|
|
bindd = CTRL, PRINT, Screenshot output, exec, omarchy-capture-screenshot output
|
|
bindd = SUPER, PRINT, Color picker, exec, pkill hyprpicker || hyprpicker -a
|
|
|
|
# ---- Clipboard ----
|
|
bindd = SUPER CTRL, V, Clipboard history, exec, clipse
|
|
|
|
# ---- Multimedia / brightness ----
|
|
bindl = , XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+
|
|
bindl = , XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
|
bindl = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
|
bindl = , XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
|
|
bindl = , XF86MonBrightnessUp, exec, brightnessctl -e4 -n2 set 5%+
|
|
bindl = , XF86MonBrightnessDown, exec, brightnessctl -e4 -n2 set 5%-
|
|
bindl = , XF86AudioNext, exec, playerctl next
|
|
bindl = , XF86AudioPrev, exec, playerctl previous
|
|
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
|
bindl = , XF86AudioPause, exec, playerctl play-pause
|
|
|
|
# ---- Session / power ----
|
|
bindd = SUPER CTRL, L, Lock system, exec, omarchy-system-lock
|
|
bindd = SUPER, ESCAPE, Power menu, exec, omarchy-menu system
|
|
bindld = , XF86PowerOff, Power menu, exec, omarchy-menu system
|
|
bindd = SUPER SHIFT, ESCAPE, Log out, exit,
|
|
bindd = SUPER CTRL, ESCAPE, Reboot, exec, systemctl reboot
|
|
bindd = SUPER SHIFT CTRL, ESCAPE, Shut down, exec, systemctl poweroff
|