# ## Monitors #----------------- monitor=eDP-1,1920x1080,0x0,1 monitor=HDMI-A-1,1920x1080,1920x0,1 ### Start Up #------------------------- # exec-once = waybar & hyprpaper & firefox exec-once = /usr/lib/polkit-kde-authentication-agent-1 #exec-once = mako -c /home/ez/.config/mako/config exec-once = swaync exec-once = waybar exec-once = hyprland-autoname-workspaces exec-once = swww init exec-once = waypaper --restore exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP ### CUSTOM UTILS #--------------------------------- exec-once = wl-paste --type text --watch cliphist store #Stores only text data exec-once = wl-paste --type image --watch cliphist store #Stores only image data # Screen brightness bind = , XF86MonBrightnessUp, exec, light -A 15 bind = , XF86MonBrightnessDown, exec, light -U 15 # Volume bind = , code:123, exec, pamixer -i 5 bind = , code:122, exec, pamixer -d 5 bind = , XF86AudioMicMute, exec, pamixer --default-source -m bind = , code:121, exec, pamixer -t bind = , XF86AudioPlay, exec, playerctl play-pause bind = , XF86AudioPause, exec, playerctl play-pause bind = , XF86AudioNext, exec, playerctl next bind = , XF86AudioPrev, exec, playerctl previous # Source a file (multi-file configs) # source = ~/.config/hypr/myColors.conf ### HYPR OPTIONS #--------------------------------------- env = XCURSOR_SIZE,14 input { kb_layout = us kb_variant = kb_model = kb_options = kb_rules = follow_mouse = 1 touchpad { natural_scroll = no } sensitivity = 0 # -1.0 - 1.0, 0 means no modification. } general { gaps_in = 3 gaps_out = 8 border_size = 1 col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg col.inactive_border = rgba(595959aa) layout = dwindle } decoration { rounding = 8 blur { enabled = true size = 5 passes = 2 } drop_shadow = yes shadow_range = 4 shadow_render_power = 3 col.shadow = rgba(181926F2) } animations { enabled = yes bezier = overshot, 0.05, 0.9, 0.1, 1.05 bezier = smoothOut, 0.5, 0, 0.99, 0.99 bezier = smoothIn, 0.5, -0.5, 0.68, 1.5 bezier = rotate, 0,0.33,0.66,1 animation = windows, 1, 5, overshot, slide animation = windowsIn, 1, 3, smoothOut animation = windowsOut, 1, 3, smoothOut animation = windowsMove, 1, 4, smoothIn, slide animation = border, 1, 6, default animation = fade, 1, 5, smoothIn animation = fadeDim, 1, 5, smoothIn animation = workspaces, 1, 6, default animation = borderangle, 1, 40, rotate, loop # borderangle - for animating the border's gradient angle } dwindle { pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below preserve_split = yes # you probably want this } master { new_is_master = true } gestures { workspace_swipe = on } # Example per-device config device:epic-mouse-v1 { sensitivity = -0.5 } # Example windowrule v1 # windowrule = float, ^(kitty)$ # Example windowrule v2 # windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ ### MOD KEY $mainMod = SUPER ### Keybinds #-------------------------------------------- bind = $mainMod, C, killactive, bind = $mainMod, M, exit, bind = $mainMod, F, togglefloating, bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, J, togglesplit, # dwindle # App Launchers bind = $mainMod SHIFT, A, exec, nwggrid -o 0.33 -s 48 -c "/home/ez/.config/nwg-launchers/nwggrid/style.css" -g candy-icons -wm hyprland bind = $mainMod, A, exec, wofi --show drun bind = $mainMod, return, exec, kitty bind = $mainMod, E, exec, thunar bind = $mainMod, B, exec, firefox bind = $mainMod, S, exec, vscodium # Auto-hide top bar bind = $mainMod, X, exec, killall waybar bind = $mainMod, W, exec, waybar # Screenshotter bind = , code:107, exec, hyprland-interactive-screenshot # DONUT bind = $mainMod SHIFT, Q, exec, kitty -e donut # Arcade (Chromium Web App) bind = $mainMod, R, exec, /usr/bin/chromium --profile-directory=Default --app-id=dcdfoeddokocaikmdifojhachbjkpgfb # Galculator bind = $mainMod, D, exec, galculator # Notifications bind = $mainMod, N, exec, swaync-client -t # Update bind = $mainMod, U, exec, kitty -e fpf -U # Move focus with mainMod + arrow keys bind = $mainMod, left, movefocus, l bind = $mainMod, right, movefocus, r bind = $mainMod, up, movefocus, u bind = $mainMod, down, movefocus, d # Switch workspaces with mainMod + [0-9] bind = $mainMod, 1, workspace, 1 bind = $mainMod, 2, workspace, 2 bind = $mainMod, 3, workspace, 3 bind = $mainMod, 4, workspace, 4 bind = $mainMod, 5, workspace, 5 bind = $mainMod, 6, workspace, 6 bind = $mainMod, 7, workspace, 7 bind = $mainMod, 8, workspace, 8 bind = $mainMod, 9, workspace, 9 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, 2, movetoworkspace, 2 bind = $mainMod SHIFT, 3, movetoworkspace, 3 bind = $mainMod SHIFT, 4, movetoworkspace, 4 bind = $mainMod SHIFT, 5, movetoworkspace, 5 bind = $mainMod SHIFT, 6, movetoworkspace, 6 bind = $mainMod SHIFT, 7, movetoworkspace, 7 bind = $mainMod SHIFT, 8, movetoworkspace, 8 bind = $mainMod SHIFT, 9, movetoworkspace, 9 bind = $mainMod SHIFT, 0, movetoworkspace, 10 # 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 ### Window Rules #----------------------- # Prompts windowrulev2 = float,class:(authentication-agent) windowrulev2 = float,title:^(Progress)$ windowrulev2 = float,title:(Open Files) # Arcade (Chromium Web App) #windowrule = size 800 600,^(ARCADE)$ windowrule = float,^(ARCADE)$ windowrule = center (1),^(ARCADE)$ ## DONUT windowrule = size 880 580, title:^(donut)$ windowrule = float, title:^(donut)$ windowrule = animation popin, title:^(donut)$ ## Galculator windowrule = opacity 0.65,^(galculator)$ windowrule = size 400 580, title:^(galculator)$ windowrule = float, title:^(galculator)$ windowrule = animation popin, title:^(galculator)$ ## Thunar windowrule = opacity 0.75 0.45,^(thunar)$ windowrule = float,^(thunar)$ windowrule = size 1200 900,^(thunar)$ windowrule = center (1),^(thunar)$ windowrulev2 = float,class:^[Tt]hunar$,title:(Progress) windowrulev2 = float,class:^[Tt]hunar$,title:(Confirm) ## VSCodium windowrule = opacity 0.85 0.45,^(VSCodium)$ ## Firefox #windowrule = opacity 0.9 0.45,^(firefox)$ ## Pavucontrol windowrule = float,^(pavucontrol)$ windowrule = size 960 800,^(pavucontrol)$ windowrule = opacity 0.88,^(pavucontrol)$ ## Blueman windowrule = float, title:^(Bluetooth Devices)$ windowrule = size 760 600, title:^(Bluetooth Devices)$ windowrule = opacity 0.78,^(blueman-manager)$ ## Sniffnet windowrule = opacity 0.8, title:^(Sniffnet)$ ## NWG-Look windowrule = float, title:^(nwg-look)$ windowrule = size 820 500, title:^(nwg-look)$ windowrule = opacity 0.78,^(nwg-look)$ ## SwayNC windowrule = noborder, title:^(swaync)$ ### Layer Rules #-------------------- layerrule = blur, ^(waybar)$ layerrule = blur, title:^(swaync)$ ### Utilities #------------------------- # Clipboard selector bind = $mainMod, V, exec, pkill wofi || cliphist list | wofi --dmenu -p clippick | cliphist decode | wl-copy # Command History selector bind = $mainMod, H, exec, pkill wofi || tac ~/.histfile | wofi --dmenu -p "Command History" | tr -d '\n' | wl-copy # Emoji picker bind = $mainMod SHIFT, V, exec, pkill wofimoji || wofimoji ### Remove Hyprland branding #---------------------------------- misc { disable_hyprland_logo = true disable_splash_rendering = true }