custom-hypr - format

This commit is contained in:
huyjaky
2024-08-18 16:30:12 +07:00
parent 8ce7b8d465
commit 2b8386ddb6
3 changed files with 22 additions and 25 deletions

View File

@@ -26,3 +26,4 @@ grub>reboot
```bash
mv grub.cfg.off grub.cfg
```
remember install linux-zen-headers and linux-headers idk but but just do it

View File

@@ -2,3 +2,4 @@
# Relevant Hyprland wiki section: https://wiki.hyprland.org/Configuring/Keywords/#executing
#
# exec-once = fcitx5 -d
exec-once =

View File

@@ -16,6 +16,7 @@ unbind = Super, K
unbind = Super, L
# move windown
bind = Alt, H, fullscreenstate, 0 # [hidden]
bind = Alt, H, movefocus, l # [hidden]
@@ -28,37 +29,31 @@ bind = Alt, K, movefocus, u # [hidden]
bind = Alt, J, fullscreenstate, 0 # [hidden]
bind = Alt, J, movefocus, d # [hidden]
bind = Alt, BracketLeft, movefocus, monitor DP-1 # [hidden]
bind = Alt, BracketRight, movefocus, monitor HDMI-A-1 # [hidden]
bind = Alt, O, killactive,
bind = Alt, F, fullscreen, 1
bind = Alt, Q, killactive,
bind = Alt, R, exec, killall ags ydotool; ags & # Restart widgets
##! Window arrangement
#/# bind = Super+Shift, ←/↑/→/↓,, # Window: move in direction
bind = Ctrl+Alt, H, fullscreenstate, 0 # [hidden]
bind = Ctrl+Alt, H, movewindow, l # [hidden]
bind = Alt, E, exec, ags run-js 'openColorScheme.value = true; Utils.timeout(5000, () => openColorScheme.value = false);' # View color scheme and options
bind = Ctrl+Alt, L, fullscreenstate, 0 # [hidden]
bind = Ctrl+Alt, L, movewindow, r # [hidden]
bind = Ctrl+Alt, K, movewindow, u # [hidden]
bind = Ctrl+Alt, J, movewindow, d # [hidden]
bind = Ctrl+Alt, M, exec, pavucontrol # Launch pavucontrol (volume mixer)
bind = Alt, O, killactive,
bind = Alt, Q, killactive,
bind = Alt, F, fullscreen, 1
bind = Alt, R, exec, killall ags ydotool; ags & # Restart widgets
bind = Alt, E, exec, Super, E, exec, nautilus --new-window # View color scheme and options
bind = Alt, M, exec, ags run-js 'openMusicControls.value = (!mpris.getPlayer() ? false : !openMusicControls.value);' # Toggle music controls
bind = Alt, N, exec, ags -t 'sideright' # Toggle right sidebar
bind = Ctrl+Alt, M, exec, pavucontrol # Launch pavucontrol (volume mixer)
bind = Super, T, exec, kitty
bind = Super, W, exec, brave
#! window focus
bind = Shift+Alt, H, focusmonitor, DP-1 # [hidden]
bind = Shift+Alt, L, focusmonitor, HDMI-A-1 # [hidden]
bind = Alt, T, fullscreenstate, 0
# bind = SUPER + SHIFT + RIGHT, movetoworkspace 1, monitor DP-1 # Moves to monitor 1
# bind = SUPER + SHIFT + LEFT, movetoworkspace 1, monitor HDMI-A-1 # Moves to monitor 2
bind = Alt, T, exec, kitty
bind = Alt, B, exec, brave
bindl= Super, J, exec, playerctl previous # Previous track
bindl= Super, P, exec, playerctl play-pause # Play/pause media
bindl= Super, K, exec, playerctl next || playerctl position `bc <<< "100 * $(playerctl metadata mpris:length) / 1000000 / 100"` # Next track
##! Window arrangement
#/# bind = Super+Shift, ←/↑/→/↓,, # Window: move in direction
bind = Ctrl+Alt, H, movewindow, l # [hidden]
bind = Ctrl+Alt, K, movewindow, u # [hidden]
bind = Ctrl+Alt, L, movewindow, r # [hidden]
bind = Ctrl+Alt, J, movewindow, d # [hidden]