From 5a15d4ffef9723a38896bf9b6ba5c749ac3c5123 Mon Sep 17 00:00:00 2001 From: GaspardCulis Date: Sun, 29 Oct 2023 12:41:51 +0100 Subject: [PATCH] Random shenanigans --- de/hypr/hyprland.conf.d/environment.conf | 16 ++++++++++------ de/hypr/hyprland.conf.d/startup.conf | 5 +++++ de/hypr/hyprland.conf.d/windowrules.conf | 9 +++++++++ de/i3/config | 7 ++++++- 4 files changed, 30 insertions(+), 7 deletions(-) diff --git a/de/hypr/hyprland.conf.d/environment.conf b/de/hypr/hyprland.conf.d/environment.conf index 71cb1c5..2865269 100644 --- a/de/hypr/hyprland.conf.d/environment.conf +++ b/de/hypr/hyprland.conf.d/environment.conf @@ -1,3 +1,6 @@ +# Hyprland GPU backend +# env = WLR_DRM_DEVICES,/dev/dri/card0 + # Backend env = GDK_BACKEND, wayland,x11 env = SDL_VIDEODRIVER, wayland @@ -11,12 +14,11 @@ env = XDG_SESSION_DESKTOP, Hyprland # Qt env = QT_AUTO_SCREEN_SCALE_FACTOR, 1 -env = QT_QPA_PLATFORM, wayland;xcb +env = QT_QPA_PLATFORM, wayland # ;xcb env = QT_WAYLAND_DISABLE_WINDOWDECORATION, 1 env = QT_QPA_PLATFORMTHEME, qt6ct # Theming -env = GTK_THEME, Dracula env = XCURSOR_SIZE, 24 # Applications @@ -26,9 +28,11 @@ env = EDITOR, hx # Firefox env = MOZ_ENABLE_WAYLAND, 1 -#NVIDIA +# NVIDIA +env = LIBVA_DRIVER_NAME,nvidia +env = XDG_SESSION_TYPE,wayland +# env = GBM_BACKEND,nvidia-drm env = __GLX_VENDOR_LIBRARY_NAME,nvidia -# env = __VK_LAYER_NV_optimus=NVIDIA_only -# env = __NV_PRIME_RENDER_OFFLOAD,1 # Tends to crash DE -env = __GL_THREADED_OPTIMIZATIONS,1 +env = WLR_NO_HARDWARE_CURSORS,1 +env = HYPRLAND_HEADERS = /usr/include/hyprland diff --git a/de/hypr/hyprland.conf.d/startup.conf b/de/hypr/hyprland.conf.d/startup.conf index d8d8589..fa97fae 100644 --- a/de/hypr/hyprland.conf.d/startup.conf +++ b/de/hypr/hyprland.conf.d/startup.conf @@ -1,7 +1,12 @@ # Startup + +exec-once = swaync exec-once = waybar exec-once = hyprpaper exec-once = artix-pipewire-launcher exec-once = /usr/lib/xdg-desktop-portal-hyprland exec-once = swayosd-server exec-once = udiskie + +# Plugins +# exec-once=hyprctl plugin load ~/Downloads/git/split-monitor-workspaces/split-monitor-workspaces.so diff --git a/de/hypr/hyprland.conf.d/windowrules.conf b/de/hypr/hyprland.conf.d/windowrules.conf index ab3c19a..2188b9f 100644 --- a/de/hypr/hyprland.conf.d/windowrules.conf +++ b/de/hypr/hyprland.conf.d/windowrules.conf @@ -5,7 +5,16 @@ windowrule = workspace 9 silent, ^(WebCord)$ # Floating windows windowrule = float, ^(connman-gtk)$ + windowrule = float, ^(blueman-manager)$ windowrule = size 40% 40%, ^(blueman-manager)$ windowrule = center, ^(blueman-manager)$ +windowrulev2 = float, class:(yuzu) +windowrulev2 = size 40% 40%,class:(yuzu),title:(Select Directory) +windowrulev2 = size 50% 50%,class:(yuzu),title:(Configuration) +windowrulev2 = size 60% 60%, class:(yuzu) +windowrulev2 = center, class:(yuzu) + +windowrulev2 = float, class:(PrismLauncher) + diff --git a/de/i3/config b/de/i3/config index 677e406..d37bbc2 100644 --- a/de/i3/config +++ b/de/i3/config @@ -30,6 +30,8 @@ new_window pixel 2 gaps inner 10 gaps outer 0 +border_radius 3 + # show window title bars (not officially supported with i3gaps) # default_border normal # default_floating_border pixel 0 @@ -81,9 +83,12 @@ set $mediumgrey #8b8b8b set $yellowbrown #e1b700 # define colors for windows: -#class border bground text indicator child_border +#class border bground text indicator child_border client.focused $lightblue $darkblue $white $mediumgrey $mediumgrey client.unfocused $darkblue $darkblue $grey $darkgrey $darkgrey client.focused_inactive $darkblue $darkblue $grey $black $black client.urgent $urgentred $urgentred $white $yellowbrown $yellowbrown +bar { + status_command i3status-rs ~/.config/i3status-rust/config.toml +}