Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## _ _ _ _
- ## | | | |_ _ _ __ _ __| | __ _ _ __ __| |
- ## | |_| | | | | '_ \| '__| |/ _` | '_ \ / _` |
- ## | _ | |_| | |_) | | | | (_| | | | | (_| |
- ## |_| |_|\__, | .__/|_| |_|\__,_|_| |_|\__,_|
- ## |___/|_|
- ##
- ## By Pilk (2024)
- ##
- # MONITORS #
- monitor = , preferred, auto, 1
- # MY PROGRAMS #
- $terminal = foot
- $fileManager = nemo
- $menu = rofi -show drun -show-icons
- $browser = chromium
- # AUTOSTART #
- exec-once = waypaper --restore # Reloads last used wallpaper
- exec-once = swaync & waybar
- exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
- exec-once = clipse -listen
- # ENVIRONMENT VARIABLES #
- env = XCURSOR_SIZE,24
- env = HYPRCURSOR_SIZE,24
- env = HYPRCURSOR_THEME, Breeze
- # LOOK AND FEEL
- general {
- gaps_in = 10
- gaps_out = 20
- border_size = 0
- col.active_border = rgb(03CDFF) rgb(A200FF) 45deg
- #col.inactive_border =
- resize_on_border = false
- allow_tearing = true
- layout = dwindle
- }
- decoration {
- rounding = 20
- active_opacity = 0.9
- inactive_opacity = 0.7
- blur {
- enabled = true
- size = 15
- passes = 3
- contrast = 1.5
- vibrancy_darkness = 0.6
- vibrancy = 1.396
- new_optimizations = true
- layerrule = blur, waybar
- layerrule = ignorezero, waybar
- layerrule = blur, rofi
- layerrule = ignorezero, rofi
- layerrule = blur, swaync
- layerrule = ignorezero, swaync
- windowrule = float, class:^(waybar)$
- windowrule = dimaround, class:^(waybar)$
- windowrule = float, class:^(rofi)$
- # noise = 0.05
- ignore_opacity = true
- }
- shadow {
- enabled = true
- range = 25
- ignore_window = true
- render_power = 20
- color = rgb(000000)
- }
- }
- animations {
- enabled = true
- bezier = myBezier, 0.05, 0.9, 0.1, 1.05
- animation = windows, 1, 7, myBezier, popin 10%
- animation = windowsOut, 1, 7, default, popin 80%
- animation = border, 1, 15, default
- animation = borderangle, 1, 15, default
- animation = fade, 1, 5, default
- animation = workspaces, 1, 6, default
- layerrule = animation slide, rofi
- }
- dwindle {
- pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
- preserve_split = true # You probably want this
- }
- master {
- new_status = master
- }
- misc {
- force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
- disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :(
- }
- # INPUT #
- input {
- kb_layout = fr
- kb_variant =
- kb_model =
- kb_options =
- kb_rules =
- follow_mouse = 1
- sensitivity = -0.6 # -1.0 - 1.0, 0 means no modification.
- touchpad {
- natural_scroll = false
- }
- }
- gestures {
- workspace_swipe = false
- }
- device {
- name = epic-mouse-v1
- sensitivity = -0.5
- }
- # KEYBINDINGS #
- $mainMod = SUPER # Sets "Windows" key as main modifier
- $Print = PRINT
- bind = $mainMod, Q, exec, $terminal
- bind = $mainMod, C, killactive,
- bind = $mainMod, M, exec, wlogout
- bind = $mainMod, E, exec, $fileManager
- bind = $mainMod, V, togglefloating,
- bind = $mainMod, R, exec, $menu
- bind = $mainMod, P, pseudo, # dwindle
- bind = $mainMod, J, togglesplit, # dwindle
- bind = $mainMod, F, fullscreen
- bind = $mainMod, L, exec, hyprlock -c ~/.config/hyprlock/hyprlock.conf
- bind = $mainMod, W, exec, waypaper
- bind = $mainMod + SHIFT, W, exec, waypaper --random
- bind = $mainMod, B, exec, firefox
- # Waybar
- bind = $mainMod, I, exec, killall waybar && waybar & disown
- # Emoji
- bind = $mainMod, D, exec, rofi -modi emoji -show emoji
- # Screenshots
- bind = ,PRINT, exec, hyprshot -m output --clipboard-only
- bind = $mainMod, PRINT, exec, hyprshot -m region --clipboard-only
- bind = SHIFT, PRINT, exec, hyprshot -m output -o ~/Pictures/Screenshots
- # Clipboard
- windowrulev2 = float,class:(clipse)
- windowrulev2 = size 622 652,class:(clipse)
- bind = $mainMod, A, exec, kitty --class clipse -e 'clipse'
- # 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
- bind = $mainMod, G, centerwindow
- # Switch workspaces with mainMod + [0-9]
- bind = $mainMod, ampersand, workspace, 1
- bind = $mainMod, eacute, workspace, 2
- bind = $mainMod, quotedbl, workspace, 3
- bind = $mainMod, apostrophe, workspace, 4
- bind = $mainMod, parenleft, workspace, 5
- bind = $mainMod, minus, workspace, 6
- bind = $mainMod, egrave, workspace, 7
- bind = $mainMod, underscore, workspace, 8
- bind = $mainMod, ccedilla, workspace, 9
- bind = $mainMod, agrave, workspace, 10
- # Move active window to a workspace with mainMod + SHIFT + [0-9]
- bind = SUPER_SHIFT, ampersand, movetoworkspace, 1
- bind = SUPER_SHIFT, eacute, movetoworkspace, 2
- bind = SUPER_SHIFT, quotedbl, movetoworkspace, 3
- bind = SUPER_SHIFT, apostrophe, movetoworkspace, 4
- bind = SUPER_SHIFT, parenleft, movetoworkspace, 5
- bind = SUPER_SHIFT, minus, movetoworkspace, 6
- bind = SUPER_SHIFT, egrave, movetoworkspace, 7
- bind = SUPER_SHIFT, underscore, movetoworkspace, 8
- bind = SUPER_SHIFT, ccedilla, movetoworkspace, 9
- bind = SUPER_SHIFT, agrave, movetoworkspace, 10
- # SCROLL THROGH WORKSPACES WITH TAB/SHIFT+TAB (i3 like)
- bind = $mainMod, TAB, workspace, e+1
- bind = $mainMod_Shift, TAB, workspace, e-1
- # 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
- # Laptop multimedia keys for volume and LCD brightness
- bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
- bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
- bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
- bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
- bindel = ,XF86MonBrightnessUp, exec, brightnessctl s 10%+
- bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 10%-
- # WINDOW RULESET AND WORKSPACES #
- windowrule = float, class:^(foot)$
- windowrule = float, class:^(waypaper)$
- windowrule = animation popin, class:^(foot)$ # sets the animation style for kitty
- windowrule = opacity 1.0 override 1.0 override 1, class:^(firefox)$ # No opacity change for Firefox
- # windowrule = noblur, class:^(vesktop)$ # disables blur for Vesktop (commented out)
- windowrule = opacity 1 override 0.9 override 0.8, class:^(vesktop)$
- windowrule = opacity 0.8 override 0.8 override 0.8, class:^(tidal-hifi)$
- windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
Advertisement
Add Comment
Please, Sign In to add comment