{ config, pkgs, ... }: # -- Missing -- # Toggle cheatsheet (vicinae) # Clipboard history (vicinae) # Emoji (vicinae) # Toggle media controls ? # Change wallpaper # Restart hyprland and plugins # AI # Move from silent to normal workspace # ---- { wayland.windowManager.hyprland.settings = let super = "Super"; in { bind = [ # "${super}, Super_L, exec, pkill fuzzel || fuzzel" "Ctrl, Space, exec, vicinae toggle" "${super}, Super_L, exec, vicinae toggle" # "${super}, g, hyprexpo:expo, toggle" "${super}, H, exec, ~/.config/hypr/scripts/hide_window.sh h" "${super}, I, exec, ~/.config/hypr/scripts/hide_window.sh u" "${super}, P, pseudo" "${super}, Q, killactive" "${super}+Shift+Alt, Q, exec, hyprctl kill" "${super}+Shift, R, exec, reload" "${super}, Left, movefocus, l" "${super}, Right, movefocus, r" "${super}, Up, movefocus, u" "${super}, Down, movefocus, d" "${super}+Shift, Left, movewindow, l" "${super}+Shift, Right, movewindow, r" "${super}+Shift, Up, movewindow, u" "${super}+Shift, Down, movewindow, d" "${super}, D, fullscreen, 1" "${super}, F, fullscreen, 0" "${super}+Alt, F, togglefloating" "${super}, 1, exec, ~/.config/hypr/scripts/workspace_action.sh workspace 1" "${super}, 2, exec, ~/.config/hypr/scripts/workspace_action.sh workspace 2" "${super}, 3, exec, ~/.config/hypr/scripts/workspace_action.sh workspace 3" "${super}, 4, exec, ~/.config/hypr/scripts/workspace_action.sh workspace 4" "${super}, 5, exec, ~/.config/hypr/scripts/workspace_action.sh workspace 5" "${super}, 6, exec, ~/.config/hypr/scripts/workspace_action.sh workspace 6" "${super}, 7, exec, ~/.config/hypr/scripts/workspace_action.sh workspace 7" "${super}, 8, exec, ~/.config/hypr/scripts/workspace_action.sh workspace 8" "${super}, 9, exec, ~/.config/hypr/scripts/workspace_action.sh workspace 9" "${super}, 0, exec, ~/.config/hypr/scripts/workspace_action.sh workspace 10" "Ctrl+${super}, Right, workspace, r+1" "Ctrl+${super}, Left, workspace, r-1" # "${super}, L, exec, loginctl lock-session" # '' # ${super}+Shift, D, exec, ~/.config/hypr/scripts/wallpaper/fetch_wallpaper.sh # '' '' ${super}+Shift, D, exec, ~/.config/hypr/scripts/wallpaper/wallpaper.py fetch '' '' ${super}, N, exec, ~/.config/hypr/scripts/wallpaper/wallpaper.py next -r '' # '' # ${super}+Shift, C, exec, ~/.config/hypr/scripts/wallpaper/next_wallpaper.sh -f $(zenity --title "Pick a wallpaper" --file-selection --file-filter \*.png) # '' '' ${super}+Shift, C, exec, ~/.config/hypr/scripts/wallpaper/wallpaper.py next -i '' '' ${super}, Return, exec, ~/.config/hypr/scripts/launch_first_available.sh "kitty" "foot" "alacritty" "wezterm" "konsole" "kgx" "uxterm" "xterm" '' '' RCtrl, Return, exec, ~/.config/hypr/scripts/launch_first_available.sh "kitty" "foot" "alacritty" "wezterm" "konsole" "kgx" "uxterm" "xterm" '' "${super}, T, exec, Telegram" # ${super}, E, exec, ~/.config/hypr/scripts/launch_first_available.sh "thunar" "nemo" "nautilus" "dolphin" "kitty -1 zsh -c yazi"'' '' ${super}, E, exec, ~/.config/hypr/scripts/launch_first_available.sh "nemo" "thunar" "nautilus" "dolphin" "kitty -1 zsh -c yazi"'' '' ${super}, W, exec, ~/.config/hypr/scripts/launch_first_available.sh "google-chrome-stable" "zen" "firefox" "brave" "chromium" "microsoft-edge-stable" "opera" "librewolf"'' '' ${super}, C, exec, ~/.config/hypr/scripts/launch_first_available.sh "code" "codium" "cursor" "zed" "zedit" "zeditor" "kate" "gnome-text-editor" "emacs" "command -v nvim && kitty -1 nvim"'' '' Ctrl+Shift, Escape, exec, ~/.config/hypr/scripts/launch_first_available.sh "kitty -1 zsh -c btop"'' "${super}+Shift, 1, exec, ~/.config/hypr/scripts/workspace_action.sh movetoworkspacesilent 1" "${super}+Shift, 2, exec, ~/.config/hypr/scripts/workspace_action.sh movetoworkspacesilent 2" "${super}+Shift, 3, exec, ~/.config/hypr/scripts/workspace_action.sh movetoworkspacesilent 3" "${super}+Shift, 4, exec, ~/.config/hypr/scripts/workspace_action.sh movetoworkspacesilent 4" "${super}+Shift, 5, exec, ~/.config/hypr/scripts/workspace_action.sh movetoworkspacesilent 5" "${super}+Shift, 6, exec, ~/.config/hypr/scripts/workspace_action.sh movetoworkspacesilent 6" "${super}+Shift, 7, exec, ~/.config/hypr/scripts/workspace_action.sh movetoworkspacesilent 7" "${super}+Shift, 8, exec, ~/.config/hypr/scripts/workspace_action.sh movetoworkspacesilent 8" "${super}+Shift, 9, exec, ~/.config/hypr/scripts/workspace_action.sh movetoworkspacesilent 9" "${super}+Shift, 0, exec, ~/.config/hypr/scripts/workspace_action.sh movetoworkspacesilent 10" # "${super}+Shift, S, movetoworkspacesilent, special" "${super}, S, togglespecialworkspace, special" "RCtrl, 1, togglespecialworkspace, s1" "RCtrl, 2, togglespecialworkspace, s2" "RCtrl, 3, togglespecialworkspace, s3" "RCtrl, 4, togglespecialworkspace, s4" "RCtrl, 5, togglespecialworkspace, s5" "RCtrl, 0, togglespecialworkspace, screensaver" "${super}+Rctrl, 1, movetoworkspacesilent, special:s1" "${super}+Rctrl, 2, movetoworkspacesilent, special:s2" "${super}+Rctrl, 3, movetoworkspacesilent, special:s3" "${super}+Rctrl, 4, movetoworkspacesilent, special:s4" "${super}+Rctrl, 5, movetoworkspacesilent, special:s5" # '' # ${super}+Ctrl, 1, exec, [workspace special term; float; move 15% 15%; size 70% 70%] kitty # '' ]; bindd = [ # d - description "${super}, M, Toggle power profile,exec, ~/.config/hypr/scripts/switch_config.sh" ", Print, Screenshot screen to file, exec, hyprshot --mode output --mode active " "${super}+Shift, S, Screenshot region, exec, hyprshot --freeze --clipboard-only --mode region --silent" "${super}+Shift, T, OCR, exec, hyprshot -m region --raw | tesseract stdin stdout" "${super}, L, Lock screen, exec, caelestia shell lock lock" ", XF86AudioMicMute, Disable microphone, exec, wpctl set-mute @DEFAULT_SOURCE@ toggle" # а они у меня есть?.. F4 + Fn ", XF86Display, Lock Hyprland, exec, caelestia shell lock lock" # F7 + Fn can be in future toggle vnc # ", XF86WLAN, Open Amnezia, exec, AmneziaVPN" # F8 + Fn need to disable by default ", XF86Tools, Open NixOS config in VSCode, exec, code ~/Documents/Github/nixos-config" # ", XF86Bluetooth, Open control center, exec, caelestia shell controlCenter open || kitty -n1 blueman || kitty -n1 bluetoothctl" # need to disable by default # ", XF86Keyboard" ", XF86Favorites, Open special workspace, togglespecialworkspace, special" # ", XF86WakeUp" ]; bindm = [ "${super}, mouse:272, movewindow" "${super}, mouse:274, movewindow" "${super}, mouse:273, resizewindow" "${super}, mouse:275, togglespecialworkspace" ]; bindle = [ # l - locked, e - repeat ", XF86MonBrightnessUp, exec, caelestia shell brightness set +0.05 || brightnessctl s 5%+" ", XF86MonBrightnessDown, exec, caelestia shell brightness set 0.05- || brightnessctl s 5%-" ", XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 2%+" ", XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%-" ]; bindl = [ ", XF86AudioMute, exec, wpctl set-mute @DEFAULT_SINK@ toggle" '' , XF86AudioNext, exec, playerctl next || playerctl position `bc <<< "100 * $(playerctl metadata mpris:length) / 1000000 / 100"`'' ", XF86AudioPrev, exec, playerctl previous" ", XF86AudioPlay, exec, playerctl play-pause" # ", Print, exec, hyprshot -m output" ]; binde = [ "${super}, Minus, splitratio, -0.1" "${super}, Equal, splitratio, +0.1" ]; }; }