From 7e463e7f508b7e56d85b81928f2ef62e1db3e067 Mon Sep 17 00:00:00 2001 From: Isshi0417 Date: Thu, 11 Jul 2024 15:27:18 +0900 Subject: [PATCH] Configure primary display --- modules/dotfiles/hyprland/hyprland.conf | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/modules/dotfiles/hyprland/hyprland.conf b/modules/dotfiles/hyprland/hyprland.conf index 9f7cd69..3989c6a 100644 --- a/modules/dotfiles/hyprland/hyprland.conf +++ b/modules/dotfiles/hyprland/hyprland.conf @@ -15,8 +15,10 @@ ################ # See https://wiki.hyprland.org/Configuring/Monitors/ -monitor=eDP-1, highres, 1920x0, 1 -monitor=HDMI-A-2, highres, 0x0, 1 +monitor=eDP-1, preferred, auto-right, 1 +monitor=HDMI-A-2, preferred, auto-left, 1 + +workspace = name:1, monitor:HDMI-A-2 ################### @@ -29,6 +31,7 @@ monitor=HDMI-A-2, highres, 0x0, 1 $terminal = kitty $fileManager = dolphin $menu = wofi --show drun +$browser = firefox ################# @@ -38,9 +41,9 @@ $menu = wofi --show drun # Autostart necessary processes (like notifications daemons, status bars, etc.) # Or execute your favorite apps at launch like this: -# exec-once = $terminal -# exec-once = nm-applet & -# exec-once = waybar & hyprpaper & firefox +exec-once = hyprctl dispatch workspace 1 +exec-once = $browser + ############################# @@ -184,6 +187,7 @@ bind = $mainMod, M, exit, bind = $mainMod, E, exec, $fileManager bind = $mainMod, V, togglefloating, bind = $mainMod, R, exec, $menu +bind = $mainMod, F, exec, $browser bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, J, togglesplit, # dwindle