Initial commit
This commit is contained in:
		
							parent
							
								
									13d584a24c
								
							
						
					
					
						commit
						87a5ac6f6b
					
				
					 14 changed files with 606 additions and 0 deletions
				
			
		
							
								
								
									
										28
									
								
								private_dot_config/hypr/autostart.conf
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								private_dot_config/hypr/autostart.conf
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,28 @@ | ||||||
|  | ################# | ||||||
|  | ### AUTOSTART ### | ||||||
|  | ################# | ||||||
|  | 
 | ||||||
|  | # Set utility script path. | ||||||
|  | $scriptPath = ~/.config/hypr/scripts | ||||||
|  | 
 | ||||||
|  | # Unscale XWayland | ||||||
|  | xwayland { | ||||||
|  |     force_zero_scaling = true | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | # Setup/run XDPH (xdg desktop portal) | ||||||
|  | exec-once = $scriptPath/resetxdgportal.sh # reset XDPH for screenshare | ||||||
|  | exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # for XDPH | ||||||
|  | exec-once = dbus-update-activation-environment --systemd --all # for XDPH | ||||||
|  | exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # for XDPH | ||||||
|  | 
 | ||||||
|  | # Start polkit agent | ||||||
|  | exec-once = systemctl --user start hyprpolkitagent | ||||||
|  | 
 | ||||||
|  | # Start idle management daemon | ||||||
|  | exec-once = hypridle | ||||||
|  | 
 | ||||||
|  | # Rice components | ||||||
|  | #exec-once = hyprpaper | ||||||
|  | exec-once = waybar | ||||||
|  | exec-once = dunst & | ||||||
							
								
								
									
										93
									
								
								private_dot_config/hypr/env.conf
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										93
									
								
								private_dot_config/hypr/env.conf
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,93 @@ | ||||||
|  | ############################# | ||||||
|  | ### ENVIRONMENT VARIABLES ### | ||||||
|  | ############################# | ||||||
|  | 
 | ||||||
|  | # Documentation: https://wiki.hyprland.org/Configuring/Environment-variables/ | ||||||
|  | 
 | ||||||
|  | ############### | ||||||
|  | ## OVERRIDES ## | ||||||
|  | ############### | ||||||
|  | 
 | ||||||
|  | env = MOZ_ENABLE_WAYLAND,1      # Force firefox to run natively under wayland. | ||||||
|  | env = EDITOR,neovim             # Set neovim as default editor. | ||||||
|  | 
 | ||||||
|  | ############## | ||||||
|  | ## HYPRLAND ## | ||||||
|  | ############## | ||||||
|  | 
 | ||||||
|  | #env = HYPRLAND_TRACE,1         # Enables verbose logging. | ||||||
|  | #env = HYPRLAND_NO_RT,1         # Disables realtime priority setting by Hyprland. | ||||||
|  | #env = HYPRLAND_NO_SD_NOTIFY,1  # If systemd, disables the 'sd_notify' calls. | ||||||
|  | #env = HYPRLAND_NO_SD_VARS,1    # Disables management of variables in systemd and dbus activation environments | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | ################ | ||||||
|  | ## AQUAMARINE ## | ||||||
|  | ################ | ||||||
|  | 
 | ||||||
|  | #env = AQ_TRACE,1                # Enables verbose logging. | ||||||
|  | #env = AQ_DRM_DEVICE,CardsHere   # Explicitly define DRM devices to use. Colon-separated list of paths, with the first being the primary. E.g. /dev/dri/card1:/dev/dri/card0 | ||||||
|  | #env = AQ_MPGU_NO_EXPLICIT,1     # Disables explicit syncing on mgpu buffers. | ||||||
|  | #env = AQ_NO_MODIFIERS,1         # Disables modifiers for DRM buffers. | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | ##################### | ||||||
|  | ## TOOLKIT BACKEND ## | ||||||
|  | ##################### | ||||||
|  | 
 | ||||||
|  | #env = GDK_BACKEND,wayland,x11,*     # GTK: Use wayland if available. If not: try x11, then any other GDK backend. | ||||||
|  | #env = GDK_SCALE,1 | ||||||
|  | env = QT_QPA_PLATFORM,wayland;xcb   # Qt: Use wayland if available, fall back to x11 if not. | ||||||
|  | #env = SDL_VIDEODRIVER,wayland       # Run SDL2 applications on Wayland. Remove or set to x11 if games that provide older versions of SDL cause compatibility issues | ||||||
|  | #env = CLUTTER_BACKEND,wayland       # Clutter package already has wayland enabled, this variable will force Clutter applications to try and use the Wayland backend | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | ############### | ||||||
|  | ## XDG SPECS ## | ||||||
|  | ############### | ||||||
|  | 
 | ||||||
|  | env = XDG_CURRENT_DESKTOP,Hyprland  # Specify the DE being used. | ||||||
|  | env = XDG_SESSION_TYPE,wayland      # Specify the graphic environment of the session. | ||||||
|  | env = XDG_SESSION_DESKTOP,Hyprland  # Specify the DE of the session. | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | ######## | ||||||
|  | ## QT ## | ||||||
|  | ######## | ||||||
|  | 
 | ||||||
|  | env = QT_AUTO_SCREEN_SCALE_FACTOR,1             # Enables automatic scaling, based on the monitor’s pixel density. | ||||||
|  | env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1     # Disables window decorations on Qt applications | ||||||
|  | #env = QT_QPA_PLATFORMTHEME,qt5ct                # Tells Qt based applications to pick your theme from qt5ct, use with Kvantum. | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | ############ | ||||||
|  | ## NVIDIA ## | ||||||
|  | ############ | ||||||
|  | 
 | ||||||
|  | # Useful info: https://wiki.hyprland.org/Nvidia/ | ||||||
|  | 
 | ||||||
|  | # Set the following to force GBM as backend: | ||||||
|  | env = GBM_BACKEND,nvidia-drm | ||||||
|  | env = __GLX_VENDOR_LIBRARY_NAME,nvidia | ||||||
|  | 
 | ||||||
|  | # Hardware acceleration. More info: https://wiki.archlinux.org/title/Wayland#Requirements | ||||||
|  | env = LIBVA_DRIVER_NAME,nvidia | ||||||
|  | 
 | ||||||
|  | # Controls if G-Sync capable monitors use Variable Refresh Rate (VBR). More info: https://wiki.archlinux.org/title/Hardware_video_acceleration | ||||||
|  | #env = __GL_GSYNC_ALLOWED | ||||||
|  | 
 | ||||||
|  | # Controls if Adaptive Sync should be used. Recommended to set as “0” to avoid having problems on some games. | ||||||
|  | #env = __GL_VRR_ALLOWED,0 | ||||||
|  | 
 | ||||||
|  | # Use legacy DRM interface instead of atomic mode setting. NOT recommended. | ||||||
|  | #env = AQ_NO_ATOMIC,1 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | ############# | ||||||
|  | ## THEMING ## | ||||||
|  | ############# | ||||||
|  | 
 | ||||||
|  | env = GTK_THEME,Adwaita:dark    # Override GTK theme, useful if you want to avoid appearance tools such as lxappearance or nwg-look. | ||||||
|  | #env = XCURSOR_THEME,someTheme   # Set cursor theme. The theme needs to be installed and readable by your user. | ||||||
|  | env = XCURSOR_SIZE,24           # Set cursor size. Why? Because: https://wiki.hyprland.org/FAQ/ | ||||||
|  | env = HYPRCURSOR_SIZE,24 | ||||||
							
								
								
									
										38
									
								
								private_dot_config/hypr/hypridle.conf
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										38
									
								
								private_dot_config/hypr/hypridle.conf
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,38 @@ | ||||||
|  | ############################## | ||||||
|  | ### IDLE MANAGEMENT DAEMON ### | ||||||
|  | ############################## | ||||||
|  | 
 | ||||||
|  | general { | ||||||
|  |     lock_cmd = pidof hyprlock || hyprlock       # avoid starting multiple hyprlock instances. | ||||||
|  |     before_sleep_cmd = loginctl lock-session    # lock before suspend. | ||||||
|  |     after_sleep_cmd = hyprctl dispatch dpms on  # to avoid having to press a key twice to turn on the display. | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | listener { | ||||||
|  |     timeout = 150                                # 2.5min. | ||||||
|  |     on-timeout = brightnessctl -s set 10         # set monitor backlight to minimum, avoid 0 on OLED monitor. | ||||||
|  |     on-resume = brightnessctl -r                 # monitor backlight restore. | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | # turn off keyboard backlight, comment out this section if you dont have a keyboard backlight. | ||||||
|  | # listener {  | ||||||
|  | #     timeout = 150                                          # 2.5min. | ||||||
|  | #     on-timeout = brightnessctl -sd rgb:kbd_backlight set 0 # turn off keyboard backlight. | ||||||
|  | #     on-resume = brightnessctl -rd rgb:kbd_backlight        # turn on keyboard backlight. | ||||||
|  | # } | ||||||
|  | 
 | ||||||
|  | listener { | ||||||
|  |     timeout = 300                                 # 5min | ||||||
|  |     on-timeout = loginctl lock-session            # lock screen when timeout has passed | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | listener { | ||||||
|  |     timeout = 330                                 # 5.5min | ||||||
|  |     on-timeout = hyprctl dispatch dpms off        # screen off when timeout has passed | ||||||
|  |     on-resume = hyprctl dispatch dpms on          # screen on when activity is detected after timeout has fired. | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | listener { | ||||||
|  |     timeout = 1800                                # 30min | ||||||
|  |     on-timeout = systemctl suspend                # suspend pc | ||||||
|  | } | ||||||
							
								
								
									
										58
									
								
								private_dot_config/hypr/hyprland.conf
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										58
									
								
								private_dot_config/hypr/hyprland.conf
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,58 @@ | ||||||
|  | #  /$$   /$$                               /$$                           /$$ | ||||||
|  | # | $$  | $$                              | $$                          | $$ | ||||||
|  | # | $$  | $$ /$$   /$$  /$$$$$$   /$$$$$$ | $$  /$$$$$$  /$$$$$$$   /$$$$$$$ | ||||||
|  | # | $$$$$$$$| $$  | $$ /$$__  $$ /$$__  $$| $$ |____  $$| $$__  $$ /$$__  $$ | ||||||
|  | # | $$__  $$| $$  | $$| $$  \ $$| $$  \__/| $$  /$$$$$$$| $$  \ $$| $$  | $$ | ||||||
|  | # | $$  | $$| $$  | $$| $$  | $$| $$      | $$ /$$__  $$| $$  | $$| $$  | $$ | ||||||
|  | # | $$  | $$|  $$$$$$$| $$$$$$$/| $$      | $$|  $$$$$$$| $$  | $$|  $$$$$$$ | ||||||
|  | # |__/  |__/ \____  $$| $$____/ |__/      |__/ \_______/|__/  |__/ \_______/ | ||||||
|  | #            /$$  | $$| $$                                                   | ||||||
|  | #           |  $$$$$$/| $$                                                   | ||||||
|  | #            \______/ |__/                                                   | ||||||
|  | # | ||||||
|  | #            ------------ [ Zervó's Hyprland Config ] ------------ | ||||||
|  | # | ||||||
|  | # This is my Hyprland config! | ||||||
|  | # Each section has been split into an individual file to make working with it easier. | ||||||
|  | # https://wiki.hyprland.org/Configuring/ | ||||||
|  | # | ||||||
|  | # This config relies on the following programs: | ||||||
|  | # - hyprland        - hyprland itself | ||||||
|  | # - hyprpaper       - wallpaper utility | ||||||
|  | # - hyprlock        - screen-locking utility | ||||||
|  | # - hypridle        - idle management daemon | ||||||
|  | # - waybar	        - status bar | ||||||
|  | # - dunst	        - notification daemon | ||||||
|  | # - playerctl       - media control | ||||||
|  | # - brightnessctl   - brightness control | ||||||
|  | # - wpctl           - audio control | ||||||
|  | # - hyprpolkitagent - policykit agent auth agent | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | ## PROGRAMS ## | ||||||
|  | 
 | ||||||
|  | $browser = firefox --new-window | ||||||
|  | $terminal = alacritty | ||||||
|  | $fileManager = nemo | ||||||
|  | $menu = ~/.config/rofi/launchers/type-2/launcher.sh | ||||||
|  | 
 | ||||||
|  | ## MONITORS ## | ||||||
|  | source = ~/.config/hypr/monitors.conf | ||||||
|  | 
 | ||||||
|  | ## AUTOSTART ## | ||||||
|  | source = ~/.config/hypr/autostart.conf | ||||||
|  | 
 | ||||||
|  | ## ENVIRONMENT ## | ||||||
|  | source = ~/.config/hypr/env.conf | ||||||
|  | 
 | ||||||
|  | ## LOOK AND FEEL ## | ||||||
|  | source = ~/.config/hypr/theme.conf | ||||||
|  | 
 | ||||||
|  | ## INPUT ## | ||||||
|  | source = ~/.config/hypr/input.conf | ||||||
|  | 
 | ||||||
|  | ## KEYBINDS ## | ||||||
|  | source = ~/.config/hypr/keybinds.conf | ||||||
|  | 
 | ||||||
|  | ## RULES ## | ||||||
|  | source = ~/.config/hypr/rules.conf | ||||||
							
								
								
									
										73
									
								
								private_dot_config/hypr/hyprlock.conf
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										73
									
								
								private_dot_config/hypr/hyprlock.conf
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,73 @@ | ||||||
|  | ######################### | ||||||
|  | ### LOCKSCREEN CONFIG ### | ||||||
|  | ######################### | ||||||
|  | 
 | ||||||
|  | # Documentation: https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock/ | ||||||
|  | # Example: https://github.com/justinmdickey/publicdots/blob/main/.config/hypr/hyprlock.conf | ||||||
|  | 
 | ||||||
|  | # BACKGROUND | ||||||
|  | background { | ||||||
|  |     monitor = | ||||||
|  |     #path = screenshot | ||||||
|  |     path = ~/.config/hypr/wp/wp.jpg | ||||||
|  |     #color = $background | ||||||
|  |     blur_passes = 2 | ||||||
|  |     contrast = 1 | ||||||
|  |     brightness = 0.5 | ||||||
|  |     vibrancy = 0.2 | ||||||
|  |     vibrancy_darkness = 0.2 | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | # GENERAL | ||||||
|  | general { | ||||||
|  |     no_fade_in = true | ||||||
|  |     no_fade_out = true | ||||||
|  |     hide_cursor = false | ||||||
|  |     grace = 0 | ||||||
|  |     disable_loading_bar = true | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | # DATE | ||||||
|  | label { | ||||||
|  |   monitor = | ||||||
|  |   text = cmd[update:1000] echo "$(date +"%A, %B %d")" | ||||||
|  |   color = rgba(242, 243, 244, 0.75) | ||||||
|  |   font_size = 22 | ||||||
|  |   font_family = JetBrains Mono | ||||||
|  |   position = 0, 300 | ||||||
|  |   halign = center | ||||||
|  |   valign = center | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | # INPUT FIELD | ||||||
|  | input-field { | ||||||
|  |     monitor = | ||||||
|  |     size = 250, 60 | ||||||
|  |     outline_thickness = 2 | ||||||
|  |     dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8 | ||||||
|  |     dots_spacing = 0.35 # Scale of dots' absolute size, 0.0 - 1.0 | ||||||
|  |     dots_center = true | ||||||
|  |     outer_color = rgba(0, 0, 0, 0) | ||||||
|  |     inner_color = rgba(0, 0, 0, 0.2) | ||||||
|  |     font_color = rgba(255, 255, 255, 0) | ||||||
|  |     fade_on_empty = false | ||||||
|  |     rounding = -1 | ||||||
|  |     check_color = rgb(204, 136, 34) | ||||||
|  |     placeholder_text = <i><span foreground="##cdd6f4">Input Password...</span></i> | ||||||
|  |     hide_input = false | ||||||
|  |     position = 0, -200 | ||||||
|  |     halign = center | ||||||
|  |     valign = center | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | # TIME | ||||||
|  | label { | ||||||
|  |   monitor =  | ||||||
|  |   text = cmd[update:1000] echo "$(date +"%-I:%M")" | ||||||
|  |   color = rgba(242, 243, 244, 0.75) | ||||||
|  |   font_size = 95 | ||||||
|  |   font_family = JetBrains Mono Extrabold | ||||||
|  |   position = 0, 200 | ||||||
|  |   halign = center | ||||||
|  |   valign = center | ||||||
|  | } | ||||||
							
								
								
									
										6
									
								
								private_dot_config/hypr/hyprpaper.conf
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								private_dot_config/hypr/hyprpaper.conf
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,6 @@ | ||||||
|  | ################# | ||||||
|  | ### WALLPAPER ### | ||||||
|  | ################# | ||||||
|  | 
 | ||||||
|  | preload = ~/.config/hypr/wp/wp.jpg | ||||||
|  | wallpaper = , ~/.config/hypr/wp/wp.jpg | ||||||
							
								
								
									
										33
									
								
								private_dot_config/hypr/input.conf
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								private_dot_config/hypr/input.conf
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,33 @@ | ||||||
|  | ############# | ||||||
|  | ### INPUT ### | ||||||
|  | ############# | ||||||
|  | 
 | ||||||
|  | # Documentation: https://wiki.hyprland.org/Configuring/Variables/#input | ||||||
|  | 
 | ||||||
|  | input { | ||||||
|  |     kb_layout = se | ||||||
|  |     kb_variant = | ||||||
|  |     kb_model = | ||||||
|  |     kb_options = | ||||||
|  |     kb_rules = | ||||||
|  | 
 | ||||||
|  |     follow_mouse = 1 | ||||||
|  | 
 | ||||||
|  |     sensitivity = 0 # -1.0 - 1.0, 0 means no modification. | ||||||
|  | 
 | ||||||
|  |     touchpad { | ||||||
|  |         natural_scroll = false | ||||||
|  |     } | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | # https://wiki.hyprland.org/Configuring/Variables/#gestures | ||||||
|  | gestures { | ||||||
|  |     workspace_swipe = false | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | # Example per-device config | ||||||
|  | # See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more | ||||||
|  | device { | ||||||
|  |     name = epic-mouse-v1 | ||||||
|  |     sensitivity = -0.5 | ||||||
|  | } | ||||||
							
								
								
									
										113
									
								
								private_dot_config/hypr/keybinds.conf
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										113
									
								
								private_dot_config/hypr/keybinds.conf
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,113 @@ | ||||||
|  | ################### | ||||||
|  | ### KEYBINDINGS ### | ||||||
|  | ################### | ||||||
|  | 
 | ||||||
|  | # Documentation: https://wiki.hyprland.org/Configuring/Binds/ | ||||||
|  | 
 | ||||||
|  | # See https://wiki.hyprland.org/Configuring/Keywords/ | ||||||
|  | $mainMod = SUPER # Sets "Windows" key as main modifier | ||||||
|  | 
 | ||||||
|  | # WM BINDS: | ||||||
|  | # Keybinds related to Hyprland itself. | ||||||
|  | bind = $mainMod CTRL, E, exit,      # Exit session. | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | # APPLICATION BINDS: | ||||||
|  | # Keybinds related to launching applications. | ||||||
|  | 
 | ||||||
|  | bind = $mainMod, Return, exec, $terminal        # New terminal. | ||||||
|  | bind = $mainMod, B, exec, $browser              # New browser. | ||||||
|  | bind = $mainMod, E, exec, [float] $fileManager  # File explorer. | ||||||
|  | bind = $mainMod, W, exec, $menu                 # App launcher. | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | # WINDOW BINDS: | ||||||
|  | # Keybinds related to operating on a window. | ||||||
|  | 
 | ||||||
|  | bind = $mainMod SHIFT, Q, killactive,       # Kill active window. | ||||||
|  | bind = $mainMod, F, fullscreen              # Toggle fullscreen on active window. | ||||||
|  | bind = $mainMod, SPACE, togglefloating,     # Toggle floating on active window. | ||||||
|  | bind = $mainMod, P, pseudo,                 # Toggle pseudo-tiling on active window. | ||||||
|  | bind = $mainMod, J, togglesplit,            # Toggle splits on active window. | ||||||
|  | bind = $mainMod SHIFT, left, movewindow, l  # Move active window left. | ||||||
|  | bind = $mainMod SHIFT, right, movewindow, r # Move active window right. | ||||||
|  | bind = $mainMod SHIFT, up, movewindow, u    # Move active window up. | ||||||
|  | bind = $mainMod SHIFT, down, movewindow, d  # Move active window down. | ||||||
|  | bindm = $mainMod, mouse:272, movewindow     # Move window on mainMod+leftclick-drag. | ||||||
|  | bindm = $mainMod, mouse:273, resizewindow   # Resize window on mainMod+rightclick-drag. | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | # WINDOW-GROUP BINDS: | ||||||
|  | # Keybinds related to the grouping of windows. | ||||||
|  | 
 | ||||||
|  | bind = $mainMod, G, togglegroup,                # Create group from window or dissolve existing group. | ||||||
|  | bind = $mainMod SHIFT, G, moveoutofgroup        # Move active window out of group. | ||||||
|  | # bind = $mainMod CTRL, left, moveintogroup, l    # Move active window into group on the left. | ||||||
|  | # bind = $mainMod CTRL, right, moveintogroup, r   # Move active window into group on the right. | ||||||
|  | # bind = $mainMod CTRL, up, moveintogroup, u      # Move active window into group above. | ||||||
|  | # bind = $mainMod CTRL, down, moveintogroup, d    # Move active window into group below. | ||||||
|  | # Move active window into a group if there is a one in the given direction. | ||||||
|  | # Moves window out of a group if there is no group in the given direction relative to the active group. | ||||||
|  | # Otherwise behaves like a normal window move. | ||||||
|  | bind = $mainMod CTRL, left, movewindoworgroup, l    # -- || -- left | ||||||
|  | bind = $mainMod CTRL, right, movewindoworgroup, r   # -- || -- right | ||||||
|  | bind = $mainMod CTRL, up, movewindoworgroup, u      # -- || -- up | ||||||
|  | bind = $mainMod CTRL, down, movewindoworgroup, d    # -- || -- down | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | # FOCUS BINDS: | ||||||
|  | # Keybinds related to window focus. | ||||||
|  | 
 | ||||||
|  | #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 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | # WORKSPACE BINDS: | ||||||
|  | # Keybinds related to workspaces. | ||||||
|  | 
 | ||||||
|  | # 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, movetoworkspacesilent, 1 | ||||||
|  | bind = $mainMod SHIFT, 2, movetoworkspacesilent, 2 | ||||||
|  | bind = $mainMod SHIFT, 3, movetoworkspacesilent, 3 | ||||||
|  | bind = $mainMod SHIFT, 4, movetoworkspacesilent, 4 | ||||||
|  | bind = $mainMod SHIFT, 5, movetoworkspacesilent, 5 | ||||||
|  | bind = $mainMod SHIFT, 6, movetoworkspacesilent, 6 | ||||||
|  | bind = $mainMod SHIFT, 7, movetoworkspacesilent, 7 | ||||||
|  | bind = $mainMod SHIFT, 8, movetoworkspacesilent, 8 | ||||||
|  | bind = $mainMod SHIFT, 9, movetoworkspacesilent, 9 | ||||||
|  | bind = $mainMod SHIFT, 0, movetoworkspacesilent, 10 | ||||||
|  | # Special workspace (scratchpad). | ||||||
|  | bind = $mainMod, S, togglespecialworkspace, magic | ||||||
|  | bind = $mainMod SHIFT, S, movetoworkspace, special:magic | ||||||
|  | # Scroll through existing workspaces with mainMod + scroll. | ||||||
|  | bind = $mainMod, mouse_down, workspace, e+1 | ||||||
|  | bind = $mainMod, mouse_up, workspace, e-1 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | # MULTIMEDIA BINDS: | ||||||
|  | # Keybinds related to the multimedia keys often found on laptops. | ||||||
|  | 
 | ||||||
|  | bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+     # Increase audio volume by 5%. | ||||||
|  | bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-     # Decrease audio volume by 5% | ||||||
|  | bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle           # (un)Mute default audio sink. | ||||||
|  | bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle      # (un)Mute default audio source. | ||||||
|  | bindel = ,XF86MonBrightnessUp, exec, brightnessctl s 10%+                       # Increase screen brightness by 10%. | ||||||
|  | bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 10%-                     # Decrease screen brightness by 10%. | ||||||
|  | bindl = , XF86AudioNext, exec, playerctl next                               # Skip to next media in queue. | ||||||
|  | bindl = , XF86AudioPause, exec, playerctl play-pause                        # (un)Pause current media. | ||||||
|  | bindl = , XF86AudioPlay, exec, playerctl play-pause                         # (un)Pause current media. | ||||||
|  | bindl = , XF86AudioPrev, exec, playerctl previous                           # Play previous media. | ||||||
							
								
								
									
										7
									
								
								private_dot_config/hypr/monitors.conf
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								private_dot_config/hypr/monitors.conf
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,7 @@ | ||||||
|  | ################ | ||||||
|  | ### MONITORS ### | ||||||
|  | ################ | ||||||
|  | 
 | ||||||
|  | # Documentation: https://wiki.hyprland.org/Configuring/Monitors/ | ||||||
|  | 
 | ||||||
|  | monitor=,preferred,auto,1 | ||||||
							
								
								
									
										29
									
								
								private_dot_config/hypr/rules.conf
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								private_dot_config/hypr/rules.conf
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,29 @@ | ||||||
|  | #################################### | ||||||
|  | ### WINDOWS- AND WORKSPACE RULES ### | ||||||
|  | #################################### | ||||||
|  | 
 | ||||||
|  | # 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:.* | ||||||
|  | 
 | ||||||
|  | # Fix some dragging issues with XWayland | ||||||
|  | windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | windowrulev2 = opacity 0.9,class:^(Alacritty)$ | ||||||
|  | # windowrulev2 = opacity 0.99,class:^(code-oss)$ | ||||||
|  | # windowrulev2 = opacity 0.99,class:^(Code)$ | ||||||
|  | # windowrulev2 = opacity 0.99,class:^(VSCodium)$ | ||||||
|  | windowrulev2 = opacity 0.9,class:^([Ss]team)$ | ||||||
|  | windowrulev2 = opacity 0.9,class:^(steamwebhelper)$ | ||||||
|  | windowrulev2 = opacity 0.9,class:^(Spotify)$ | ||||||
|  | 
 | ||||||
|  | windowrulev2 = float, class:firefox,title:(.*)(Bitwarden Password Manager) | ||||||
							
								
								
									
										20
									
								
								private_dot_config/hypr/scripts/executable_resetxdgportal.sh
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								private_dot_config/hypr/scripts/executable_resetxdgportal.sh
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,20 @@ | ||||||
|  | #!/usr/bin/env bash | ||||||
|  | sleep 1 | ||||||
|  | killall xdg-desktop-portal-hyprland | ||||||
|  | killall xdg-desktop-portal-gnome | ||||||
|  | killall xdg-desktop-portal-kde | ||||||
|  | killall xdg-desktop-portal-lxqt | ||||||
|  | killall xdg-desktop-portal-wlr | ||||||
|  | killall xdg-desktop-portal | ||||||
|  | sleep 1 | ||||||
|  | 
 | ||||||
|  | # Use different directory on NixOS | ||||||
|  | if [ -d /run/current-system/sw/libexec ]; then | ||||||
|  |     libDir=/run/current-system/sw/libexec | ||||||
|  | else | ||||||
|  |     libDir=/usr/lib | ||||||
|  | fi | ||||||
|  | 
 | ||||||
|  | $libDir/xdg-desktop-portal-hyprland & | ||||||
|  | sleep 2 | ||||||
|  | $libDir/xdg-desktop-portal & | ||||||
							
								
								
									
										108
									
								
								private_dot_config/hypr/theme.conf
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										108
									
								
								private_dot_config/hypr/theme.conf
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,108 @@ | ||||||
|  | ##################### | ||||||
|  | ### LOOK AND FEEL ### | ||||||
|  | ##################### | ||||||
|  | 
 | ||||||
|  | # Refer to https://wiki.hyprland.org/Configuring/Variables/ | ||||||
|  | 
 | ||||||
|  | # https://wiki.hyprland.org/Configuring/Variables/#general | ||||||
|  | general { | ||||||
|  |     gaps_in = 3 | ||||||
|  |     gaps_out = 5 | ||||||
|  | 
 | ||||||
|  |     border_size = 1 | ||||||
|  | 
 | ||||||
|  |     # https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors | ||||||
|  |     col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg | ||||||
|  |     col.inactive_border = rgba(595959aa) | ||||||
|  | 
 | ||||||
|  |     # Set to true enable resizing windows by clicking and dragging on borders and gaps | ||||||
|  |     resize_on_border = false | ||||||
|  | 
 | ||||||
|  |     # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on | ||||||
|  |     allow_tearing = false | ||||||
|  | 
 | ||||||
|  |     layout = dwindle | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | # https://wiki.hyprland.org/Configuring/Variables/#decoration | ||||||
|  | decoration { | ||||||
|  |     rounding = 10 | ||||||
|  |     rounding_power = 2 | ||||||
|  | 
 | ||||||
|  |     # Change transparency of focused and unfocused windows | ||||||
|  |     active_opacity = 1.0 | ||||||
|  |     inactive_opacity = 1.0 | ||||||
|  | 
 | ||||||
|  |     shadow { | ||||||
|  |         enabled = true | ||||||
|  |         range = 4 | ||||||
|  |         render_power = 3 | ||||||
|  |         color = rgba(1a1a1aee) | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|  |     # https://wiki.hyprland.org/Configuring/Variables/#blur | ||||||
|  |     blur { | ||||||
|  |         enabled = true | ||||||
|  |         size = 3 | ||||||
|  |         passes = 1 | ||||||
|  | 
 | ||||||
|  |         vibrancy = 0.1696 | ||||||
|  |     } | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | # https://wiki.hyprland.org/Configuring/Variables/#animations | ||||||
|  | animations { | ||||||
|  |     enabled = yes, please :) | ||||||
|  | 
 | ||||||
|  |     # Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more | ||||||
|  | 
 | ||||||
|  |     bezier = easeOutQuint,0.23,1,0.32,1 | ||||||
|  |     bezier = easeInOutCubic,0.65,0.05,0.36,1 | ||||||
|  |     bezier = linear,0,0,1,1 | ||||||
|  |     bezier = almostLinear,0.5,0.5,0.75,1.0 | ||||||
|  |     bezier = quick,0.15,0,0.1,1 | ||||||
|  | 
 | ||||||
|  |     animation = global, 1, 10, default | ||||||
|  |     animation = border, 1, 5.39, easeOutQuint | ||||||
|  |     animation = windows, 1, 4.79, easeOutQuint | ||||||
|  |     animation = windowsIn, 1, 4.1, easeOutQuint, popin 87% | ||||||
|  |     animation = windowsOut, 1, 1.49, linear, popin 87% | ||||||
|  |     animation = fadeIn, 1, 1.73, almostLinear | ||||||
|  |     animation = fadeOut, 1, 1.46, almostLinear | ||||||
|  |     animation = fade, 1, 3.03, quick | ||||||
|  |     animation = layers, 1, 3.81, easeOutQuint | ||||||
|  |     animation = layersIn, 1, 4, easeOutQuint, fade | ||||||
|  |     animation = layersOut, 1, 1.5, linear, fade | ||||||
|  |     animation = fadeLayersIn, 1, 1.79, almostLinear | ||||||
|  |     animation = fadeLayersOut, 1, 1.39, almostLinear | ||||||
|  |     animation = workspaces, 1, 1.94, almostLinear, fade | ||||||
|  |     animation = workspacesIn, 1, 1.21, almostLinear, fade | ||||||
|  |     animation = workspacesOut, 1, 1.94, almostLinear, fade | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | # Ref https://wiki.hyprland.org/Configuring/Workspace-Rules/ | ||||||
|  | # "Smart gaps" / "No gaps when only" | ||||||
|  | # uncomment all if you wish to use that. | ||||||
|  | # workspace = w[tv1], gapsout:0, gapsin:0 | ||||||
|  | # workspace = f[1], gapsout:0, gapsin:0 | ||||||
|  | # windowrulev2 = bordersize 0, floating:0, onworkspace:w[tv1] | ||||||
|  | # windowrulev2 = rounding 0, floating:0, onworkspace:w[tv1] | ||||||
|  | # windowrulev2 = bordersize 0, floating:0, onworkspace:f[1] | ||||||
|  | # windowrulev2 = rounding 0, floating:0, onworkspace:f[1] | ||||||
|  | 
 | ||||||
|  | # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more | ||||||
|  | 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 | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more | ||||||
|  | master { | ||||||
|  |     new_status = master | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | # https://wiki.hyprland.org/Configuring/Variables/#misc | ||||||
|  | misc { | ||||||
|  |     force_default_wallpaper = 0 # 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. :( | ||||||
|  | } | ||||||
							
								
								
									
										
											BIN
										
									
								
								private_dot_config/hypr/wp/wp.jpg
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								private_dot_config/hypr/wp/wp.jpg
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 75 KiB | 
							
								
								
									
										
											BIN
										
									
								
								private_dot_config/hypr/wp/wpold.jpg
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								private_dot_config/hypr/wp/wpold.jpg
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 109 KiB | 
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 zervo
						zervo