adds multimonitor setup, adds scaling, fixes scaling for electron apps
This commit is contained in:
		
							
								
								
									
										3
									
								
								.config/electron-flags.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								.config/electron-flags.conf
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | |||||||
|  | --force-device-scale-factor=1 | ||||||
|  | --enable-features=WaylandWindowDecorations | ||||||
|  | --ozone-platform=wayland | ||||||
| @@ -5,3 +5,12 @@ | |||||||
| envd = HYPRCURSOR_SIZE,24 | envd = HYPRCURSOR_SIZE,24 | ||||||
| envd = XCURSOR_SIZE,24 | envd = XCURSOR_SIZE,24 | ||||||
| envd = QT_CURSOR_SIZE,24 | envd = QT_CURSOR_SIZE,24 | ||||||
|  |  | ||||||
|  | # Force electron apps to use wayland | ||||||
|  | env = ELECTRON_OZONE_PLATFORM_HINT, auto | ||||||
|  | env = QT_QPA_PLATFORM, wayland | ||||||
|  | env = SDL_VIDEODRIVER, wayland | ||||||
|  | env = CLUTTER_BACKEND, wayland | ||||||
|  | env = XDG_SESSION_TYPE, wayland | ||||||
|  | env = MOZ_ENABLE_WAYLAND, 1 | ||||||
|  | env = NIXOS_OZONE_WL, 1 | ||||||
|   | |||||||
| @@ -77,10 +77,10 @@ bindd = , escape, Ends window resizing mode, submap, reset | |||||||
| submap = reset | submap = reset | ||||||
| # Quick resize window with keyboard | # Quick resize window with keyboard | ||||||
| # !!! added $mainMod here because CTRL + SHIFT is used for word selection in various text editors | # !!! added $mainMod here because CTRL + SHIFT is used for word selection in various text editors | ||||||
| bindd = $mainMod CTRL SHIFT, right, Resize to the right, resizeactive, 15 0 | bindd = $mainMod CTRL SHIFT, right, Resize to the right, resizeactive, 25 0 | ||||||
| bindd = $mainMod CTRL SHIFT, left, Resize to the left, resizeactive, -15 0 | bindd = $mainMod CTRL SHIFT, left, Resize to the left, resizeactive, -25 0 | ||||||
| bindd = $mainMod CTRL SHIFT, up, Resize upwards, resizeactive, 0 -15 | bindd = $mainMod CTRL SHIFT, up, Resize upwards, resizeactive, 0 -25 | ||||||
| bindd = $mainMod CTRL SHIFT, down, Resize downwards, resizeactive, 0 15 | bindd = $mainMod CTRL SHIFT, down, Resize downwards, resizeactive, 0 25 | ||||||
| bindd = $mainMod CTRL SHIFT, l, Resize to the right, resizeactive, 15 0 | bindd = $mainMod CTRL SHIFT, l, Resize to the right, resizeactive, 15 0 | ||||||
| bindd = $mainMod CTRL SHIFT, h, Resize to the left, resizeactive, -15 0 | bindd = $mainMod CTRL SHIFT, h, Resize to the left, resizeactive, -15 0 | ||||||
| bindd = $mainMod CTRL SHIFT, k, Resize upwards, resizeactive, 0 -15 | bindd = $mainMod CTRL SHIFT, k, Resize upwards, resizeactive, 0 -15 | ||||||
| @@ -114,7 +114,6 @@ bindd = $mainMod SHIFT, 8, Move window silently to workspace 8, movetoworkspaces | |||||||
| bindd = $mainMod SHIFT, 9, Move window silently to workspace 9, movetoworkspacesilent, 9 | bindd = $mainMod SHIFT, 9, Move window silently to workspace 9, movetoworkspacesilent, 9 | ||||||
| bindd = $mainMod SHIFT, 0, Move window silently to workspace 10, movetoworkspacesilent, 10 | bindd = $mainMod SHIFT, 0, Move window silently to workspace 10, movetoworkspacesilent, 10 | ||||||
| # Window actions End # | # Window actions End # | ||||||
|  |  | ||||||
| # ======= Workspace Actions ======= | # ======= Workspace Actions ======= | ||||||
|  |  | ||||||
| # Switch workspaces with mainMod + [0-9] | # Switch workspaces with mainMod + [0-9] | ||||||
| @@ -131,6 +130,9 @@ bindd = $mainMod, 0, Switch to workspace 10, workspace, 10 | |||||||
| # Scroll through existing workspaces with mainMod + , or . | # Scroll through existing workspaces with mainMod + , or . | ||||||
| bindd = $mainMod, PERIOD, Scroll through workspaces incrementally, workspace, e+1 | bindd = $mainMod, PERIOD, Scroll through workspaces incrementally, workspace, e+1 | ||||||
| bindd = $mainMod, COMMA, Scroll through workspaces decrementally, workspace, e-1 | bindd = $mainMod, COMMA, Scroll through workspaces decrementally, workspace, e-1 | ||||||
|  | # With $mainMod + Alt + Left / Right | ||||||
|  | bindd = $mainMod ALT, left, Switch to the previous workspace, workspace, e-1 | ||||||
|  | bindd = $mainMod ALT, right, Switch to the next workspace, workspace, e+1 | ||||||
| # With $mainMod + scroll | # With $mainMod + scroll | ||||||
| bindd = $mainMod, mouse_down, Scroll through workspaces incrementally, workspace, e+1 | bindd = $mainMod, mouse_down, Scroll through workspaces incrementally, workspace, e+1 | ||||||
| bindd = $mainMod, mouse_up, Scroll through workspaces decrementally, workspace, e-1 | bindd = $mainMod, mouse_up, Scroll through workspaces decrementally, workspace, e-1 | ||||||
|   | |||||||
| @@ -4,8 +4,17 @@ | |||||||
|  |  | ||||||
| # Monitor wiki https://wiki.hyprland.org/0.45.0/Configuring/Monitors/ | # Monitor wiki https://wiki.hyprland.org/0.45.0/Configuring/Monitors/ | ||||||
|  |  | ||||||
| monitor = , preferred, auto, 1 | monitor = , preferred, auto, 0.8 | ||||||
|  | monitor = eDP-2, highres@highrr, 0x0, 0.8 | ||||||
|  | monitor = DP-2, 1920x1080@60, auto-left, 0.8 | ||||||
|  |  | ||||||
|  | workspace = 1, monitor:eDP-2 | ||||||
|  | workspace = 2, monitor:eDP-2 | ||||||
|  | workspace = 3, monitor:eDP-2 | ||||||
|  | workspace = 4, monitor:eDP-2 | ||||||
|  |  | ||||||
|  | workspace = 5, monitor:DP-2 | ||||||
|  | workspace = 6, monitor:DP-2 | ||||||
|  |  | ||||||
| # If you need to scale things like steam etc, please uncomment these lines. | # If you need to scale things like steam etc, please uncomment these lines. | ||||||
| # Adjust GDK_SCALE accordingly to your liking. | # Adjust GDK_SCALE accordingly to your liking. | ||||||
|   | |||||||
							
								
								
									
										0
									
								
								.config/hypr/scripts/wallpaper.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								.config/hypr/scripts/wallpaper.sh
									
									
									
									
									
										Normal file
									
								
							
		Reference in New Issue
	
	Block a user