Update hyprland config

This commit is contained in:
Henry Hiles 2023-01-24 19:26:12 -05:00
commit 297f014cda

View file

@ -10,7 +10,7 @@ monitor=DP-1,preferred,0x0,auto
# See https://wiki.hyprland.org/Configuring/Keywords/ for more # See https://wiki.hyprland.org/Configuring/Keywords/ for more
# Execute your favorite apps at launch # Execute your favorite apps at launch
exec-once = hyprpaper & xembedsniproxy & swayosd & swaync & waybar & /usr/lib/policykit-1-pantheon/io.elementary.desktop.agent-polkit exec-once = hyprpaper & xembedsniproxy & swayosd & swaync & waybar & /usr/lib/policykit-1-pantheon/io.elementary.desktop.agent-polkit & hyprctl setcursor GoogleDot-Blue 24
# Source a file (multi-file configs) # Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf # source = ~/.config/hypr/myColors.conf
@ -48,11 +48,11 @@ decoration {
# See https://wiki.hyprland.org/Configuring/Variables/ for more # See https://wiki.hyprland.org/Configuring/Variables/ for more
rounding = 10 rounding = 10
blur = yes blur = true
blur_size = 3 blur_size = 3
blur_passes = 1 blur_passes = 1
blur_new_optimizations = on blur_new_optimizations = true
blur_xray = false
drop_shadow = yes drop_shadow = yes
shadow_range = 4 shadow_range = 4
shadow_render_power = 3 shadow_render_power = 3
@ -74,8 +74,8 @@ animations {
dwindle { dwindle {
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below pseudotile = false # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
preserve_split = yes # you probably want this preserve_split = true # you probably want this
} }
master { master {
@ -107,7 +107,9 @@ misc {
$mainMod = SUPER $mainMod = SUPER
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = ALT, Tab, focusurgentorlast,
bind = , Print, exec, grimblast copy area bind = , Print, exec, grimblast copy area
bind = $mainMod, Print, exec, grimblast copy output
bind = $mainMod, L, exec, wlogout -b 2 bind = $mainMod, L, exec, wlogout -b 2
bind = $mainMod, M, exec, youtube-music --enable-features=UseOzonePlatform --ozone-platform=wayland --disable-gpu bind = $mainMod, M, exec, youtube-music --enable-features=UseOzonePlatform --ozone-platform=wayland --disable-gpu
bind = $mainMod, T, exec, kitty bind = $mainMod, T, exec, kitty
@ -120,13 +122,11 @@ bind = $mainMod, grave, exec, yofi
bind = $mainMod, K, exec, hyprctl kill bind = $mainMod, K, exec, hyprctl kill
bind = $mainMod, S, togglesplit, # dwindle bind = $mainMod, S, togglesplit, # dwindle
# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d bind = $mainMod, down, movefocus, d
# Switch workspaces with mainMod + [0-9]
bind = $mainMod, 1, workspace, 1 bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2 bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3 bind = $mainMod, 3, workspace, 3
@ -138,7 +138,6 @@ bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9 bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10 bind = $mainMod, 0, workspace, 10
# Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = $mainMod SHIFT, 1, movetoworkspace, 1 bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2 bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3 bind = $mainMod SHIFT, 3, movetoworkspace, 3
@ -150,16 +149,15 @@ bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9 bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10 bind = $mainMod SHIFT, 0, movetoworkspace, 10
# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, e+1 bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1 bind = $mainMod, mouse_up, workspace, e-1
# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow bindm = $mainMod, mouse:273, resizewindow
binde = , XF86MonBrightnessUp, exec, brightnessctl s 5%+
binde = , XF86MonBrightnessDown, exec, brightnessctl s 5%+
binde=, XF86AudioRaiseVolume, exec, swayosd --output-volume=raise binde=, XF86AudioRaiseVolume, exec, swayosd --output-volume=raise
binde=, XF86AudioLowerVolume, exec, swayosd --output-volume=lower binde=, XF86AudioLowerVolume, exec, swayosd --output-volume=lower
binde=, XF86AudioMute, exec, swayosd --output-volume=mute-toggle binde=, XF86AudioMute, exec, swayosd --output-volume=mute-toggle