#----------------------------------------------------------------------------------------------------------- # IMPORTING FILE WITH BORDER COLOR #----------------------------------------------------------------------------------------------------------- source=~/.cache/ignis/material/dark_colors-hyprland.conf source = ~/.config/hypr/monitors.conf # Monitor primary workspace = name:1, monitor:DP-3 exec-once = hyprctl dispatch workspace 1 # Set programs that you use $terminal = kitty $fileManager = nautilus #$menu = tofi-drun --config .config/tofi/config | xargs hyprctl dispatch exec -- # wofi --show drun $browser = zen-browser #$shareclip = kdeconnect-cli --device=347E8D05994A40EEBFCFFBCE700FDA6B --send-clipboard $key = tab $mod = alt $reverse = grave $launchpad = nwggrid #----------------------------------------------------------------------------------------------------------- # ENVIRONMENT #----------------------------------------------------------------------------------------------------------- # Cursor env = XCURSOR_SIZE,24 env = XCURSOR_THEME,macOS env = HYPRCURSOR_SIZE,24 env = HYPRCURSOR_THEME,macOS # Nvidia env = LIBVA_DRIVER_NAME,nvidia env = XDG_SESSION_TYPE,wayland env = GBM_BACKEND,nvidia-drm env = __GLX_VENDOR_LIBRARY_NAME,nvidia # env = NVD_BACKEND,direct # Electron # env = ELECTRON_OZONE_PLATFORM_HINT,auto # Firefox # env = MOZ_DISABLE_RDD_SANDBOX,1 # env = EGL_PLATFORM,wayland # env = MOZ_ENABLE_WAYLAND,1 # For qt apps # env = QT_QPA_PLATFORM,wayland # env = QT_QPA_PLATFORMTHEME,qt5ct env = GTK_THEME,Material env = XDG_CURRENT_DESKTOP,Hyprland env = XDG_SESSION_DESKTOP,Hyprland env = bitdepth,10 #----------------------------------------------------------------------------------------------------------- # EXEC #----------------------------------------------------------------------------------------------------------- exec-once = ignis init exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP exec-once = telegram-desktop -startintray exec-once = nm-applet exec-once = blueman-applet exec-once = /usr/lib/polkit-kde-authentication-agent-1 # exec-once = swww-daemon # exec-once = swww img /home/timo/.config/hypr/wallpaper/wallpaper.jpg exec-once = wl-paste --type text --watch cliphist store exec-once = wl-paste --type image --watch cliphist store exec-once = fcitx5 exec-once = hyprswitch init --show-title --size-factor 5.5 --workspaces-per-row 5 & #----------------------------------------------------------------------------------------------------------- # INPUT #----------------------------------------------------------------------------------------------------------- cursor { no_hardware_cursors = false use_cpu_buffer = true warp_on_change_workspace = true } input { kb_layout = de kb_variant = kb_model = kb_options = grp:win_space_toggle kb_rules = accel_profile = flat follow_mouse = 1 touchpad { natural_scroll = no } #scroll_factor = 2 sensitivity = 0 } #----------------------------------------------------------------------------------------------------------- # GENERAL #----------------------------------------------------------------------------------------------------------- general { gaps_in = 5 gaps_out = 20 border_size = 2 col.active_border = $primary col.inactive_border = rgb(000000) resize_on_border=true layout = dwindle } #----------------------------------------------------------------------------------------------------------- # DECORATION #----------------------------------------------------------------------------------------------------------- decoration { rounding = 15 blur { enabled = true size = 12 # 12 passes = 4 new_optimizations = true } shadow { enabled = false # true range = 30 # 30 render_power = 4 # 4 color = rgb(000000) } # old shadow settings # drop_shadow = yes # shadow_range = 30 # shadow_render_power = 4 # col.shadow = rgb(000000) } #----------------------------------------------------------------------------------------------------------- # ANIMATIONS #----------------------------------------------------------------------------------------------------------- animations { # animation = NAME, ONOFF, SPEED, CURVE [, STYLE] enabled = yes # bezier = quart, 0.25, 1, 0.5, 1 bezier = quart, 0.25, 1, 0.5, 1 animation = windows, 1, 4, quart, slide # animation = windows, 1, 4, quart, gnomed # hyprland 0.48.0 introduces gnomed animation = border, 1, 6, quart # animation = borderangle, 1, 6, quart animation = fade, 1, 6, quart animation = workspaces, 1, 6, quart } #----------------------------------------------------------------------------------------------------------- # WINDOW LAYOUTS #----------------------------------------------------------------------------------------------------------- dwindle { pseudotile = yes preserve_split = yes } #----------------------------------------------------------------------------------------------------------- # MASTER #----------------------------------------------------------------------------------------------------------- master { new_status = master } #----------------------------------------------------------------------------------------------------------- # MISC #----------------------------------------------------------------------------------------------------------- misc { disable_hyprland_logo=true } #----------------------------------------------------------------------------------------------------------- # RENDER #----------------------------------------------------------------------------------------------------------- render { explicit_sync = true } #----------------------------------------------------------------------------------------------------------- # EXPERIMENTAL #----------------------------------------------------------------------------------------------------------- # experimental { # hdr = false # } #----------------------b------------------------------------------------------------------------------------- # WINDOW RULES #----------------------------------------------------------------------------------------------------------- # windowrule = float,^(pavucontrol)$ # windowrule = pin,^(pavucontrol)$ # windowrule = size 900 500,^(pavucontrol)$ #windowrule = float,^(kitty)$ #windowrule = size 640 400,^(kitty)$ windowrule = float,class:^(Material Settings)$ # windowrulev2 = opacity 0.0 override, class:^(xwaylandvideobridge)$ # windowrulev2 = noanim, class:^(xwaylandvideobridge)$ # windowrulev2 = noinitialfocus, class:^(xwaylandvideobridge)$ # windowrulev2 = maxsize 1 1, class:^(xwaylandvideobridge)$ # windowrulev2 = noblur, class:^(xwaylandvideobridge)$ # windowrulev2 = nofocus, class:^(xwaylandvideobridge)$ layerrule = blur,^(ignis_BAR.*)$ layerrule = noanim,^(ignis_NOTIFICATION_POPUP.*)$ layerrule = noanim,^(ignis_CONTROL_CENTER.*)$ #----------------------------------------------------------------------------------------------------------- # BINDS #----------------------------------------------------------------------------------------------------------- # Key modifier $mainMod = SUPER # Binds to control windows bind = $mainMod, Q, killactive, bind = $mainMod SHIFT, M, exit, # force quit Hyprland bind = $mainMod, T, togglefloating, bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, J, togglesplit, # dwindle bind = ,F11, fullscreen, 0 bind = $mainMod, C, centerwindow bind = $mainMod, D, pin # Used to switch windows left, right, ... with another windows, also move to another screen bind = $mainMod SHIFT, left, movewindow, l bind = $mainMod SHIFT, right, movewindow, r bind = $mainMod SHIFT, up, movewindow, u bind = $mainMod SHIFT, down, movewindow, d # Rsize but not working after reboot # bind = $mainMod CTRL, left, resizeactive, -50 0 # bind = $mainMod CTRL, up, resizeactive, 0 50 # bind = $mainMod CTRL, down, resizeactive, 0 -50 # bind = $mainMod CTRL, right, resizeactive, 50 0 # ignis bind = $mainMod, SPACE, exec, ignis toggle ignis_LAUNCHER bind = $mainMod, M, exec, ignis toggle ignis_POWERMENU bind = ALT, F4, exec, ignis toggle ignis_POWERMENU bind = $mainMod, R, exec, ~/.config/ignis/scripts/recording.py start bind = $mainMod SHIFT, R, exec, ~/.config/ignis/scripts/recording.py continue bind = $mainMod SHIFT, T, exec, ~/.config/ignis/scripts/recording.py stop bind = $mainMod SHIFT, P, exec, ~/.config/ignis/scripts/recording.py pause # Launch apps bind = $mainMod, Return, exec, $terminal bind = $mainMod, L, exec, hyprlock bind = $mainMod, E, exec, $fileManager bind = $mainMod SHIFT, S, exec, grimblast --notify --freeze copysave area bind = $mainMod, S, exec, grimblast --notify --freeze copysave output bind = ,PRINT, exec, grimblast --notify --freeze copysave output bind = $mainMod, B, exec, $browser bind = $mainMod SHIFT, SPACE, exec, $launchpad # Focus control bind = $mainMod, left, movefocus, l bind = $mainMod, right, movefocus, r bind = $mainMod, up, movefocus, u bind = $mainMod, down, movefocus, d # Workspace switching 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 workspace 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 # Switch between existing workspaces by scrolling the mouse bind = $mainMod, mouse_down, workspace, e+1 bind = $mainMod, mouse_up, workspace, e-1 # Move and resize window bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow # Media binds # bind = ,xf86audiomute, exec, pactl -- set-sink-mute @DEFAULT_SINK@ toggle bind = ,XF86AudioRaiseVolume, exec, pamixer -i 5 && ignis open ignis_OSD bind = ,XF86AudioLowerVolume, exec, pamixer -d 5 && ignis open ignis_OSD bind = ,XF86AudioMute, exec, pamixer -t && ignis open ignis_OSD bind = ,xf86monbrightnessdown, exec, blight -d backlight/amdgpu_bl1 set -25.5 bind = ,xf86monbrightnessup, exec, blight -d backlight/amdgpu_bl1 set +25.5 bind = ,XF86AudioPlay, exec, playerctl play-pause bind = ,XF86AudioPause, exec, playerctl play-pause bind = ,XF86AudioNext, exec, playerctl next bind = ,XF86AudioPrev, exec, playerctl previous # taskmgr bind = CONTROL SHIFT, ESCAPE, exec, missioncenter # hyprswitch bind = $mod, $key, exec, hyprswitch gui --mod-key $mod --key $key --close mod-key-release --reverse-key=key=$reverse && hyprswitch dispatch bind = $mod $reverse, $key, exec, hyprswitch gui --mod-key $mod --key $key --close mod-key-release --reverse-key=key=$reverse && hyprswitch dispatch -r windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.