mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2024-11-25 16:13:09 +01:00
Add script for GUI keybinding popup
This commit is contained in:
parent
2969ff18b8
commit
00dc4993b6
@ -23,6 +23,7 @@ in {
|
||||
(import ./../scripts/web-search.nix { inherit pkgs; })
|
||||
(import ./../scripts/rofi-launcher.nix { inherit pkgs; })
|
||||
(import ./../scripts/screenshootin.nix { inherit pkgs; })
|
||||
(import ./../scripts/list-hypr-bindings.nix { inherit pkgs; })
|
||||
];
|
||||
|
||||
programs.gh.enable = true;
|
||||
|
60
config/scripts/list-hypr-bindings.nix
Executable file
60
config/scripts/list-hypr-bindings.nix
Executable file
@ -0,0 +1,60 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
let
|
||||
inherit ( import ../../options.nix ) terminal browser;
|
||||
in
|
||||
pkgs.writeShellScriptBin "list-hypr-bindings" ''
|
||||
yad --width=800 --height=650 \
|
||||
--center \
|
||||
--fixed \
|
||||
--title="Hyprland Keybindings" \
|
||||
--no-buttons \
|
||||
--list \
|
||||
--column=Key: \
|
||||
--column=Description: \
|
||||
--column=Command: \
|
||||
--timeout=90 \
|
||||
--timeout-indicator=right \
|
||||
" = Windows/Super/CAPS LOCK" "Modifier Key, used for keybindings" "Doesn't really execute anything by itself." \
|
||||
" + ENTER" "Terminal" "${terminal}" \
|
||||
" + SHIFT + ENTER" "Rofi App Launcher" "rofi -show drun" \
|
||||
" + Q" "Kill Focused Window" "killactive" \
|
||||
" + SHIFT + W" "Search Websites Like Nix Packages" "web-search" \
|
||||
" + SHIFT + N" "Reload SwayNC Styling" "swaync-client -rs" \
|
||||
" + W" "Launch Web Browser" "${browser}" \
|
||||
" + E" "Launch Emoji Selector" "emopicker9000" \
|
||||
" + S" "Take Screenshot" "screenshootin" \
|
||||
" + D" "Launch Discord" "discord" \
|
||||
" + O" "Launch OBS" "obs" \
|
||||
" + G" "Launch GIMP" "gimp" \
|
||||
" + N" "Launch New File Browser Window" "thunar" \
|
||||
" + M" "Launch Spotify" "spotify" \
|
||||
" + P" "Pseudo Tiling" "pseudo" \
|
||||
" + SHIFT + I" "Toggle Split Direction" "togglesplit" \
|
||||
" + F" "Toggle Focused Fullscreen" "fullscreen" \
|
||||
" + SHIFT + F" "Toggle Focused Floating" "fullscreen" \
|
||||
" + SHIFT + C" "Quit / Exit Hyprland" "exit" \
|
||||
" + Left" "Move Focus To Window On The Left" "movefocus,l" \
|
||||
" + Right" "Move Focus To Window On The Right" "movefocus,r" \
|
||||
" + Up" "Move Focus To Window On The Up" "movefocus,u" \
|
||||
" + Down" "Move Focus To Window On The Down" "movefocus,d" \
|
||||
" + SHIFT + Left" "Move Focused Window Left" "movewindow,l" \
|
||||
" + SHIFT + Right" "Move Focused Window Right" "movewindow,r" \
|
||||
" + SHIFT + Up" "Move Focused Window Up" "movewindow,u" \
|
||||
" + SHIFT + Down" "Move Focused Window Down" "movewindow,d" \
|
||||
" + H" "Move Focus To Window On The Left" "movefocus,l" \
|
||||
" + L" "Move Focus To Window On The Right" "movefocus,r" \
|
||||
" + K" "Move Focus To Window On The Up" "movefocus,u" \
|
||||
" + J" "Move Focus To Window On The Down" "movefocus,d" \
|
||||
" + SHIFT + H" "Move Focused Window Left" "movewindow,l" \
|
||||
" + SHIFT + L" "Move Focused Window Right" "movewindow,r" \
|
||||
" + SHIFT + K" "Move Focused Window Up" "movewindow,u" \
|
||||
" + SHIFT + J" "Move Focused Window Down" "movewindow,d" \
|
||||
" + SPACE" "Toggle Special Workspace" "togglespecialworkspace" \
|
||||
" + SHIFT + SPACE" "Send Focused Window To Special Workspace" "movetoworkspace,special" \
|
||||
" + 1-0" "Move To Workspace 1 - 10" "workspace,X" \
|
||||
" + SHIFT + 1-0" "Move Focused Window To Workspace 1 - 10" "movetoworkspace,X" \
|
||||
" + MOUSE_LEFT" "Move/Drag Window" "movewindow" \
|
||||
" + MOUSE_RIGHT" "Resize Window" "resizewindow" \
|
||||
"ALT + TAB" "Cycle Window Focus + Bring To Front" "cyclenext & bringactivetotop"
|
||||
''
|
@ -68,7 +68,6 @@ in {
|
||||
};
|
||||
|
||||
extraPlugins = [
|
||||
plugins.vim-airline-themes
|
||||
plugins.nvim-base16
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user