From c1568649a3c0ac4085a3d348be51ff2c4584aea4 Mon Sep 17 00:00:00 2001 From: The_miro Date: Sun, 16 Feb 2025 17:05:09 +0100 Subject: [PATCH] fixed kitty ssh --- .zshrc | 1 + desktopenvs/hyprland/hypr-usr/monitors.conf | 3 +++ desktopenvs/hyprland/hypr/hyprland.conf | 8 ++++++-- desktopenvs/hyprland/hypr/monitorhandler.sh | 5 +++++ 4 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 desktopenvs/hyprland/hypr/monitorhandler.sh diff --git a/.zshrc b/.zshrc index 295e401..9d049ed 100755 --- a/.zshrc +++ b/.zshrc @@ -181,3 +181,4 @@ eval "$(starship init zsh)" fastfetch --logo-color-1 red --logo-color-2 red --color red -l ~/Dotfiles/pin.txt +export TERM=xterm-256color diff --git a/desktopenvs/hyprland/hypr-usr/monitors.conf b/desktopenvs/hyprland/hypr-usr/monitors.conf index 75dc459..566859f 100644 --- a/desktopenvs/hyprland/hypr-usr/monitors.conf +++ b/desktopenvs/hyprland/hypr-usr/monitors.conf @@ -1,6 +1,9 @@ # change monitor to high resolution, the last argument is the scale factor monitor = , highres, auto, 2 +#monitor handling +exec-once = /usr/bin/hyprland-monitor-attached /home/themiro/Dotfiles/desktopenvs/hyprland/hypr/ [monitorhandler.sh] + # unscale XWayland xwayland { force_zero_scaling = true diff --git a/desktopenvs/hyprland/hypr/hyprland.conf b/desktopenvs/hyprland/hypr/hyprland.conf index 97e9e47..41ef332 100644 --- a/desktopenvs/hyprland/hypr/hyprland.conf +++ b/desktopenvs/hyprland/hypr/hyprland.conf @@ -334,8 +334,12 @@ windowrulev2 = float, initialTitle:Spotify #sefix -windowrulev2 = float, class:Spaceengineers -windowrulev2 = stayfocused, class:Spaceengineers +#windowrulev2 = float, class:Spaceengineers +#windowrulev2 = fullscreen, class:Spaceengineers +#windowrulev2 = stayfocused, class:Spaceengineers + +#windowrule = float, class:steam_app_1133870 + #rwfix windowrulev2 = tile, class:RimWorldLinux diff --git a/desktopenvs/hyprland/hypr/monitorhandler.sh b/desktopenvs/hyprland/hypr/monitorhandler.sh new file mode 100644 index 0000000..5cb0f19 --- /dev/null +++ b/desktopenvs/hyprland/hypr/monitorhandler.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +swww restore + +/home/themiro/Dotfiles/desktopenvs/hyprland/hypr/ewwstart.sh