diff --git a/hyprland.conf b/hyprland.conf index 90a8c96..1502e9a 100644 --- a/hyprland.conf +++ b/hyprland.conf @@ -5,9 +5,15 @@ misc:middle_click_paste = false ################ ### MONITORS ### ################ +# Builtin monitor=eDP-1,highres,0x0,1.566667 +# Home monitor=desc:HKC OVERSEAS LIMITED 27E1Q 0000000000001,2560x1440@144,2256x0,1 monitor=desc:Acer Technologies GN276HL T6BEE0018501,1920x1080,4816x0,1,transform,3 +# Away +monitor=desc:Samsung Electric Company SAMSUNG,1920x1080@60,2256x0,1 +monitor=desc:LG Electronics IPS225 Serial Number,1920x1080@60,-1920x0,1 +# Default monitor=,highres,auto,auto @@ -21,6 +27,7 @@ exec-once = waybar exec-once = easyeffects --gapplication-service exec-once = nm-applet --indicator exec-once = kdeconnectd +exec-once = systemctl --user start hyprpolkitagent ################### @@ -49,6 +56,7 @@ env = XCURSOR_SIZE,24 env = HYPRCURSOR_SIZE,24 env = HYPRCURSOR,Sweet-cursors-hyprcursor env = QT_QPA_PLATFORM,wayland +env = GDK_SCALE,2 ################# @@ -240,6 +248,13 @@ device { } +################ +### XWAYLAND ### +################ +xwayland { + force_zero_scaling = true +} + ################### ### KEYBINDINGS ### ################### @@ -302,6 +317,9 @@ bind = , print, exec, $screenshot bind = SHIFT, print, exec, $screenshot_region # Workspaces +binds { + hide_special_on_workspace_change = true +} bind = $mainMod, 1, workspace, 1 bind = $mainMod, 2, workspace, 2 bind = $mainMod, 3, workspace, 3 @@ -326,16 +344,16 @@ bind = $mainMod SHIFT, 9, movetoworkspace, 9 bind = $mainMod SHIFT, 0, movetoworkspace, 10 # Move workspace to active monitor with mainMod + CTRL + [0-9] -bind = $mainMod CTRL, 1, exec, hyprctl dispatch moveworkspacetomonitor 1 current -bind = $mainMod CTRL, 2, exec, hyprctl dispatch moveworkspacetomonitor 2 current -bind = $mainMod CTRL, 3, exec, hyprctl dispatch moveworkspacetomonitor 3 current -bind = $mainMod CTRL, 4, exec, hyprctl dispatch moveworkspacetomonitor 4 current -bind = $mainMod CTRL, 5, exec, hyprctl dispatch moveworkspacetomonitor 5 current -bind = $mainMod CTRL, 6, exec, hyprctl dispatch moveworkspacetomonitor 6 current -bind = $mainMod CTRL, 7, exec, hyprctl dispatch moveworkspacetomonitor 7 current -bind = $mainMod CTRL, 8, exec, hyprctl dispatch moveworkspacetomonitor 8 current -bind = $mainMod CTRL, 9, exec, hyprctl dispatch moveworkspacetomonitor 9 current -bind = $mainMod CTRL, 0, exec, hyprctl dispatch moveworkspacetomonitor 10 current +bind = $mainMod CTRL, 1, exec, (hyprctl dispatch moveworkspacetomonitor 1 current; hyprctl dispatch workspace 1) +bind = $mainMod CTRL, 2, exec, (hyprctl dispatch moveworkspacetomonitor 2 current; hyprctl dispatch workspace 2) +bind = $mainMod CTRL, 3, exec, (hyprctl dispatch moveworkspacetomonitor 3 current; hyprctl dispatch workspace 3) +bind = $mainMod CTRL, 4, exec, (hyprctl dispatch moveworkspacetomonitor 4 current; hyprctl dispatch workspace 4) +bind = $mainMod CTRL, 5, exec, (hyprctl dispatch moveworkspacetomonitor 5 current; hyprctl dispatch workspace 5) +bind = $mainMod CTRL, 6, exec, (hyprctl dispatch moveworkspacetomonitor 6 current; hyprctl dispatch workspace 6) +bind = $mainMod CTRL, 7, exec, (hyprctl dispatch moveworkspacetomonitor 7 current; hyprctl dispatch workspace 7) +bind = $mainMod CTRL, 8, exec, (hyprctl dispatch moveworkspacetomonitor 8 current; hyprctl dispatch workspace 8) +bind = $mainMod CTRL, 9, exec, (hyprctl dispatch moveworkspacetomonitor 9 current; hyprctl dispatch workspace 9) +bind = $mainMod CTRL, 0, exec, (hyprctl dispatch moveworkspacetomonitor 10 current; hyprctl dispatch workspace 10) # Example special workspace (scratchpad) bind = $mainMod, S, togglespecialworkspace, magic