Initial commit
This commit is contained in:
112
hypr/conf/binds.conf
Executable file
112
hypr/conf/binds.conf
Executable file
@@ -0,0 +1,112 @@
|
||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||
|
||||
# SUPER key
|
||||
$mainMod = SUPER
|
||||
$terminal = kitty --override confirm_os_window_close=0
|
||||
|
||||
# PROXY env
|
||||
$proxy = HTTPS_PROXY="http://127.0.0.1:10808" HTTP_PROXY="http://127.0.0.1:10808"
|
||||
|
||||
# Actions
|
||||
bind = $mainMod, T, exec, $terminal # Open Kitty
|
||||
|
||||
bind = $mainMod, Q, killactive # Close current window
|
||||
bind = ALT, f4, killactive # Close current window (Aka Windows shortcut)
|
||||
|
||||
bind = $mainMod SHIFT, M, exit # Exit Hyprland
|
||||
bind = $mainMod, E, exec, ~/.config/ml4w/settings/filemanager.sh # Opens the filemanager
|
||||
bind = $mainMod, V, togglefloating # Toggle between tiling and floating window
|
||||
|
||||
bind = $mainMod, F, fullscreen, 0 # Open the window in fullscreen
|
||||
bind = $mainMod, D, fullscreen, 1 # Open the windows in semifullscreen
|
||||
|
||||
bind = $mainMod, W, exec, rofi -show drun # Open rofi
|
||||
bind = $mainMod, C, exec, code # Open Visual Studio Code
|
||||
bind = $mainMod, B, exec, $terminal bluetui # Open BluetoothTUI
|
||||
bind = $mainMod, N, exec, $terminal nmtui # Open NetworkManagerTUI
|
||||
bind = $mainMod SHIFT, N, exec, nekoray # Open Nekoray proxy
|
||||
bind = $mainMod, L, exec, hyprlock # Lock a computer
|
||||
|
||||
bind = $mainMod SHIFT, T, exec, Telegram # Open Tegegram
|
||||
bind = $mainMod SHIFT, F, exec, $proxy feishin # Open Feishin with PROXY
|
||||
bind = $mainMod SHIFT, D, exec, $proxy discord # Open Discord with PROXY
|
||||
|
||||
# bind = $mainMod, P, pseudo, # dwindle
|
||||
# bind = $mainMod, SPACE, togglesplit, # dwindle
|
||||
|
||||
# Open cliphist history
|
||||
bind = $mainMod SHIFT, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy
|
||||
|
||||
bind = $mainMod, Print, exec, hyprshot -m output -m eDP-1
|
||||
bind = , Print, exec, hyprshot -m region
|
||||
|
||||
bind = $mainMod, Z, exec, ~/.config/ml4w/settings/browser.sh # Opens the browser
|
||||
bind = CTRL ALT, DELETE, exec, ~/.config/ml4w/scripts/wlogout.sh # Wayland Logout
|
||||
|
||||
bind = $mainMod SHIFT, B, exec, ~/.config/ml4w/scripts/reload-waybar.sh # Reload Waybar
|
||||
bind = $mainMod SHIFT, W, exec, ~/.config/ml4w/scripts/reload-hyprpaper.sh # Reload hyprpaper after a changing the wallpaper
|
||||
|
||||
bindle = , XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 1%+
|
||||
bindle = , XF86AudioLowerVolume, exec, wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 1%-
|
||||
|
||||
bindl = , XF86MonBrightnessUp, exec, brightnessctl set 1%+
|
||||
bindl = , XF86MonBrightnessDown, exec, brightnessctl set 1%-
|
||||
|
||||
bind = $mainMod, M, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||
bind = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||
bind = , XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
|
||||
|
||||
bind = , XF86TouchpadToggle, exec, echo ""
|
||||
|
||||
bind = , XF86WLAN, exec, nmcli radio wifi toggle
|
||||
bind = , XF86Refresh, exec, xdotool key F5
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
bind = $mainMod, left, movefocus, l # Move focus left
|
||||
bind = $mainMod, right, movefocus, r # Move focus right
|
||||
bind = $mainMod, up, movefocus, u # Move focus up
|
||||
bind = $mainMod, down, movefocus, d # Move focus down
|
||||
|
||||
bind = $mainMod SHIFT, left, movewindow, l
|
||||
bind = $mainMod SHIFT, right, movewindow, r
|
||||
bind = $mainMod SHIFT, up, movewindow, u
|
||||
bind = $mainMod SHIFT, down, movewindow, d
|
||||
|
||||
# Switch workspaces with mainMod + [0-9]
|
||||
bind = $mainMod, 1, workspace, 1 # Switch to workspace 1
|
||||
bind = $mainMod, 2, workspace, 2 # Switch to workspace 2
|
||||
bind = $mainMod, 3, workspace, 3 # Switch to workspace 3
|
||||
bind = $mainMod, 4, workspace, 4 # Switch to workspace 4
|
||||
bind = $mainMod, 5, workspace, 5 # Switch to workspace 5
|
||||
bind = $mainMod, 6, workspace, 6 # Switch to workspace 6
|
||||
bind = $mainMod, 7, workspace, 7 # Switch to workspace 7
|
||||
bind = $mainMod, 8, workspace, 8 # Switch to workspace 8
|
||||
bind = $mainMod, 9, workspace, 9 # Switch to workspace 9
|
||||
bind = $mainMod, 0, workspace, 10 # Switch to workspace 10
|
||||
|
||||
# Move active window to a workspace with mainMod + ALT + [0-9]
|
||||
bind = $mainMod ALT, 1, movetoworkspace, 1 # Move window to workspace 1
|
||||
bind = $mainMod ALT, 2, movetoworkspace, 2 # Move window to workspace 2
|
||||
bind = $mainMod ALT, 3, movetoworkspace, 3 # Move window to workspace 3
|
||||
bind = $mainMod ALT, 4, movetoworkspace, 4 # Move window to workspace 4
|
||||
bind = $mainMod ALT, 5, movetoworkspace, 5 # Move window to workspace 5
|
||||
bind = $mainMod ALT, 6, movetoworkspace, 6 # Move window to workspace 6
|
||||
bind = $mainMod ALT, 7, movetoworkspace, 7 # Move window to workspace 7
|
||||
bind = $mainMod ALT, 8, movetoworkspace, 8 # Move window to workspace 8
|
||||
bind = $mainMod ALT, 9, movetoworkspace, 9 # Move window to workspace 9
|
||||
bind = $mainMod ALT, 0, movetoworkspace, 10 # Move window to workspace 10
|
||||
|
||||
# bind = $mainMod ALT, left, movetoworkspace, e+1 # Move window to next workspace
|
||||
# bind = $mainMod ALT, right movetoworkspace, e-1 # Move window to prev workspace
|
||||
|
||||
# Scroll through existing workspaces with mainMod + scroll
|
||||
bind = $mainMod, mouse_up, workspace, e+1 # Scroll workspaces
|
||||
bind = $mainMod, mouse_down, workspace, e-1 # Scroll workspaces
|
||||
|
||||
# Scroll through existing workspaces with mainMod + left/right
|
||||
# bind = $mainMod, right, workspace, e+1 # Scroll workspaces
|
||||
# bind = $mainMod, left, workspace, e-1 # Scroll workspaces
|
||||
|
||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||
bindm = $mainMod, mouse:272, movewindow # Move window
|
||||
bindm = $mainMod, mouse:273, resizewindow # Resize window
|
||||
Reference in New Issue
Block a user