This commit is contained in:
2024-12-17 14:54:14 +01:00
parent 88c24e8d37
commit c0a61cf814

View File

@ -44,6 +44,7 @@ exec-once = waybar
exec-once = systemctl --user start hyprpolkitagent
exec-once = dunst
exec-once = wl-paste --type text --watch cliphist store # Stores only text data
exec-once = noisetorch -i
exec-once = [ workspace special:term silent] $terminal
exec-once = [ workspace special:browser silent] $browser -url "https://web.whatsapp.com"
@ -64,6 +65,7 @@ env = LIBVA_DRIVER_NAME,nvidia
env = XDG_SESSION_TYPE,wayland
env = GBM_BACKEND,nvidia-drm
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = HYPRSHOT_DIR,/home/paul/screenshots
cursor {
no_hardware_cursors = true
@ -104,10 +106,11 @@ decoration {
active_opacity = 1.0
inactive_opacity = 1.0
drop_shadow = true
shadow_range = 4
shadow_render_power = 3
col.shadow = rgba(1a1a1aee)
# Deprecated v0.45 ?
# drop_shadow = true
# shadow_range = 4
# shadow_render_power = 3
# col.shadow = rgba(1a1a1aee)
# https://wiki.hyprland.org/Configuring/Variables/#blur
blur {
@ -133,6 +136,7 @@ animations {
animation = borderangle, 1, 8, default
animation = fade, 1, 7, default
animation = workspaces, 1, 6, default
animation = specialWorkspaceIn, 1, 2, default
}
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
@ -204,15 +208,19 @@ bind = $mainMod, B, exec, $browser
bind = $mainMod, Return, exec, tofi-drun | xargs hyprctl dispatch exec --
bind = $mainMod, Q, killactive,
bind = $mainMod, F, fullscreen,
bind = $mainMod, M, exit,
bind = $mainMod, M, splitratio, exact 0.6,
bind = $mainMod, mouse_down, splitratio, 0.1
bind = $mainMod, mouse_up, splitratio, -0.1
bind = $mainMod, E, exec, $fileManager
bind = SUPER, V, exec, cliphist list | tofi | cliphist decode | wl-copy
bind = $mainMod, V, exec, cliphist list | tofi | cliphist decode | wl-copy
bind = $mainMod, X, togglefloating,
bind = $mainMod, P, exec, bash -c ~/.config/hypr/presets/'$(ls ~/.config/hypr/presets | tofi)' # profile presets
bind = $mainMod, P, pin, active
bind = $mainMod, J, togglesplit, # dwindle
bind = $mainMod SHIFT, S, exec, hyprshot -m region
bind = $mainMod, PRINT, exec, hyprshot -m window
bind = $mainMod SHIFT, B, exec, pkill waybar & hyprctl dispatch exec waybar
bind = $mainMod SHIFT, C, exec, hyprpicker | wl-copy
bind = $mainMod, TAB, overview:toggle
# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
@ -278,10 +286,6 @@ bind = $mainMod SHIFT, F11, movetoworkspace, special:browser
bind = $mainMod, F12, togglespecialworkspace, music
bind = $mainMod SHIFT, F12, movetoworkspace, special:music
# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, 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:273, resizewindow
@ -307,12 +311,6 @@ bindl = , XF86AudioPrev, exec, playerctl previous
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
# Example windowrule v1
# windowrule = float, ^(kitty)$
# Example windowrule v2
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
# Ignore maximize requests from apps. You'll probably like this.
windowrulev2 = suppressevent maximize, class:.*
@ -323,18 +321,34 @@ windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinn
windowrulev2 = float,title:^(.*Extension: Bitwarden.*)$
# Open audio settings in floating mode
windowrulev2 = float, size 1000 1000, move 50 50, class:org.pulseaudio.pavucontrol
windowrulev2 = size 900 500, class:org.pulseaudio.pavucontrol
windowrulev2 = move 2464 61, class:org.pulseaudio.pavucontrol
windowrulev2 = float, class:org.pulseaudio.pavucontrol
windowrulev2 = size 500 1000, class:org.pulseaudio.pavucontrol
windowrulev2 = move 2841 61, class:org.pulseaudio.pavucontrol
windowrulev2 = pin, class:org.pulseaudio.pavucontrol
# Same for bluetooth settings
windowrulev2 = float, initialTitle:overskride
windowrulev2 = size 765 765, initialTitle:overskride
windowrulev2 = move 2653 44, initialTitle:overskride
windowrulev2 = pin, initialTitle:overskride
# Change border color of pinned windows
windowrulev2 = bordercolor rgb(CC34A4) rgb(4B2D70), pinned:1
# Notification animation style
layerrule = animation slide, notifications
# Workspace rules to assign workspaces to monitors
workspace = 1, monitor:DP-2
workspace = 1, monitor:DP-2, default:true
workspace = 2, monitor:DP-2
workspace = 3, monitor:DP-2
workspace = 4, monitor:DP-2
workspace = 5, monitor:DP-2
workspace = 11, monitor:DP-3
workspace = 11, monitor:DP-3, default:true
workspace = 12, monitor:DP-3
workspace = 13, monitor:DP-3
workspace = 14, monitor:DP-3
workspace = 15, monitor:DP-3
workspace = 15, monitor:DP-3
workspace = special:music, gapsout:40 1800 50 50
workspace = special:music, monitor:DP-2