From 57b71add8bd91679037c1eb0940459d48c424aa2 Mon Sep 17 00:00:00 2001 From: afonsofrancof Date: Wed, 22 Feb 2023 13:19:38 +0000 Subject: [PATCH] [MAJOR] Added hyperland config --- .config/hypr/hyprland.conf | 37 +++++++++++++++++++++++-------------- 1 file changed, 23 insertions(+), 14 deletions(-) diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index fb58008..6c022cd 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -12,8 +12,10 @@ OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS. # See https://wiki.hyprland.org/Configuring/Monitors/ -monitor=DP-1,2560x1440@144, 0x0, 1 -monitor=HDMI-A-1,1920x1080@144,2560x0,1 +monitor = DP-1,2560x1440@144, 0x0, 1 +workspace = DP-1,1 +monitor = HDMI-A-1,1920x1080@144,2560x0,1 +workspace = HDMI-A-1,2 # See https://wiki.hyprland.org/Configuring/Keywords/ for more @@ -107,8 +109,15 @@ device:epic mouse V1 { # Example windowrule v1 # windowrule = float, ^(kitty)$ # Example windowrule v2 -# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ -# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more +windowrulev2 = float,class:^(Gimp)$ +windowrulev2 = float,class:^(QjackCtl)$ +windowrulev2 = float,class:^(Steam - News)$ +windowrulev2 = float,class:^(Friends List)$ +windowrulev2 = workspace 2,class:^(firefox)$ +windowrulev2 = workspace 5,class:^(discord)$ +windowrulev2 = workspace 6,class:^(Mailspring)$ + + # See https://wiki.hyprland.org/Configuring/Keywords/ for more @@ -140,16 +149,16 @@ bind = $mainMod, h, resizeactive, -50 0 bind = $mainMod, l, resizeactive, 50 0 # 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 +bind = $mainMod, 1, moveworkspacetomonitor, 1 current +bind = $mainMod, 2, moveworkspacetomonitor, 2 current +bind = $mainMod, 3, moveworkspacetomonitor, 3 current +bind = $mainMod, 4, moveworkspacetomonitor, 4 current +bind = $mainMod, 5, moveworkspacetomonitor, 5 current +bind = $mainMod, 6, moveworkspacetomonitor, 6 current +bind = $mainMod, 7, moveworkspacetomonitor, 7 current +bind = $mainMod, 8, moveworkspacetomonitor, 8 current +bind = $mainMod, 9, moveworkspacetomonitor, 9 current +bind = $mainMod, 0, moveworkspacetomonitor, 10 current # Move active window to a workspace with mainMod + SHIFT + [0-9] bind = $mainMod SHIFT, 1, movetoworkspace, 1