aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/UserConfigs
diff options
context:
space:
mode:
authorJa.KooLit <85185940+JaKooLit@users.noreply.github.com>2024-06-03 05:39:34 +0900
committerGitHub <noreply@github.com>2024-06-03 05:39:34 +0900
commit203b530e6b61e53cff322fd822dc70a5e611b35f (patch)
treef300fec9ff254263a9805dc18feaee14ff1d542a /config/hypr/UserConfigs
parent2e67eba3d18ef4d7ca74b2036a0ec0020825bc86 (diff)
parentd62b220ebc2c60c2f11e47f35616d9e803c07dd4 (diff)
Merge pull request #321 from JaKooLit/development
Development to main
Diffstat (limited to 'config/hypr/UserConfigs')
-rw-r--r--config/hypr/UserConfigs/ENVariables.conf11
-rw-r--r--config/hypr/UserConfigs/Laptops.conf8
-rw-r--r--config/hypr/UserConfigs/UserSettings.conf5
-rw-r--r--config/hypr/UserConfigs/WindowRules.conf28
4 files changed, 40 insertions, 12 deletions
diff --git a/config/hypr/UserConfigs/ENVariables.conf b/config/hypr/UserConfigs/ENVariables.conf
index 8681eb30..c6bea01b 100644
--- a/config/hypr/UserConfigs/ENVariables.conf
+++ b/config/hypr/UserConfigs/ENVariables.conf
@@ -14,15 +14,20 @@ env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_DESKTOP,Hyprland
env = XDG_SESSION_TYPE,wayland
-# vulkan
-#env = WLR_RENDERER,vulkan
+# xwayland apps scale fix (useful if you are use monitor scaling)
+# see https://wiki.hyprland.org/Configuring/XWayland/
+# toolkit-specific scale
+# env = GDK_SCALE,2
+
# firefox
env = MOZ_ENABLE_WAYLAND,1
+# electron >28 apps (may help)
+env = ELECTRON_OZONE_PLATFORM_HINT,auto
+
# NVIDIA
# This is from Hyprland Wiki. As a start, WLR_NO_HARDWARE_CURSORS 1 will be activated if nvidia gpu detected
-#env = WLR_NO_HARDWARE_CURSORS,1
#env = LIBVA_DRIVER_NAME,nvidia
#env = __GLX_VENDOR_LIBRARY_NAME,nvidia
#env = GBM_BACKEND,nvidia-drm
diff --git a/config/hypr/UserConfigs/Laptops.conf b/config/hypr/UserConfigs/Laptops.conf
index 00d8b8c6..2f1f2077 100644
--- a/config/hypr/UserConfigs/Laptops.conf
+++ b/config/hypr/UserConfigs/Laptops.conf
@@ -7,13 +7,13 @@ $mainMod = SUPER
$scriptsDir = $HOME/.config/hypr/scripts
$UserConfigs = $HOME/.config/hypr/UserConfigs
-bind = , xf86KbdBrightnessDown, exec, $scriptsDir/BrightnessKbd.sh --dec #Keyboard brightness Down
-bind = , xf86KbdBrightnessUp, exec, $scriptsDir/BrightnessKbd.sh --inc #Keyboard brightness up
+binde = , xf86KbdBrightnessDown, exec, $scriptsDir/BrightnessKbd.sh --dec #Keyboard brightness Down
+binde = , xf86KbdBrightnessUp, exec, $scriptsDir/BrightnessKbd.sh --inc #Keyboard brightness up
bind = , xf86Launch1, exec, rog-control-center # ASUS Armory crate button
bind = , xf86Launch3, exec, asusctl led-mode -n #FN+F4 Switch keyboard RGB profile
bind = , xf86Launch4, exec, asusctl profile -n #FN+F5 change of fan profiles (Quite, Balance, Performance)
-bind = , xf86MonBrightnessDown, exec, $scriptsDir/Brightness.sh --dec
-bind = , xf86MonBrightnessUp, exec, $scriptsDir/Brightness.sh --inc
+binde = , xf86MonBrightnessDown, exec, $scriptsDir/Brightness.sh --dec
+binde = , xf86MonBrightnessUp, exec, $scriptsDir/Brightness.sh --inc
bind = , xf86TouchpadToggle, exec, $scriptsDir/TouchPad.sh #disable touchpad
# Screenshot keybindings for Asus G15 (no PrinSrc button)
diff --git a/config/hypr/UserConfigs/UserSettings.conf b/config/hypr/UserConfigs/UserSettings.conf
index 1ca9b5d8..be8e4845 100644
--- a/config/hypr/UserConfigs/UserSettings.conf
+++ b/config/hypr/UserConfigs/UserSettings.conf
@@ -146,3 +146,8 @@ binds {
xwayland {
force_zero_scaling = true
}
+
+# cursor section for Hyprland v0.41.0 or newer
+#cursor {
+# enable_hyprcursor = true
+#} \ No newline at end of file
diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/UserConfigs/WindowRules.conf
index 1e949eca..3fe8de77 100644
--- a/config/hypr/UserConfigs/WindowRules.conf
+++ b/config/hypr/UserConfigs/WindowRules.conf
@@ -5,7 +5,21 @@
#windowrule = fullscreen,gamescope
#windowrule = workspace 6 silent,^(gamescope)$
-windowrule = center,^(pavucontrol|org.pulseaudio.pavucontrol)$
+# windowrule center
+windowrule = center,^(pavucontrol|org.pulseaudio.pavucontrol)
+windowrule = center,^([Ww]hatsapp-for-linux)$
+windowrule = center,^([Ff]erdium)$
+
+# WINDOWRULE v2
+# windowrule v2 - position
+windowrulev2 = center,floating:1
+windowrulev2 = center, class:([Tt]hunar), title:(File Operation Progress)
+windowrulev2 = center, class:([Tt]hunar), title:(Confirm to replace files)
+
+# windowrule v2 to avoid idle for fullscreen apps
+windowrulev2 = idleinhibit fullscreen, class:^(*)$
+windowrulev2 = idleinhibit fullscreen, title:^(*)$
+windowrulev2 = idleinhibit fullscreen, fullscreen:1
# windowrule v2 move to workspace
windowrulev2 = workspace 1, class:^([Tt]hunderbird)$
@@ -18,6 +32,8 @@ windowrulev2 = workspace 5, class:^([Ll]utris)$
windowrulev2 = workspace 7, class:^([Dd]iscord)$
windowrulev2 = workspace 7, class:^([Ww]ebCord)$
windowrulev2 = workspace 7, class:^([Vv]esktop)$
+windowrulev2 = workspace 7, class:^([Ff]erdium)$
+windowrulev2 = workspace 7, class:^([Ww]hatsapp-for-linux)$
# windowrule v2 move to workspace (silent)
windowrulev2 = workspace 6 silent, class:^(virt-manager)$
@@ -45,10 +61,8 @@ windowrulev2 = float, class:^([Bb]aobab|org.gnome.[Bb]aobab)$ # Disk usage analy
windowrulev2 = float, title:(Kvantum Manager)
windowrulev2 = float, class:^([Ss]team)$,title:^((?![Ss]team).*|[Ss]team [Ss]ettings)$
windowrulev2 = float, class:^([Qq]alculate-gtk)$
-
-# windowrule v2 - position
-windowrulev2 = center, class:([Tt]hunar), title:(File Operation Progress)
-windowrulev2 = center, class:([Tt]hunar), title:(Confirm to replace files)
+windowrulev2 = float, class:^([Ww]hatsapp-for-linux)$
+windowrulev2 = float, class:^([Ff]erdium)$
# windowrule v2 - opacity #enable as desired
windowrulev2 = opacity 0.9 0.6, class:^([Rr]ofi)$
@@ -80,6 +94,8 @@ windowrulev2 = opacity 0.8 0.7, class:^(app.drey.Warp)$ # Warp file transfer
windowrulev2 = opacity 0.9 0.8, class:^(seahorse)$ # gnome-keyring gui
windowrulev2 = opacity 0.82 0.75, class:^(gnome-system-monitor|org.gnome.SystemMonitor)$
windowrulev2 = opacity 0.9 0.8, class:^(xdg-desktop-portal-gtk)$ # gnome-keyring gui
+windowrulev2 = opacity 0.9 0.7, class:^([Ww]hatsapp-for-linux)$
+windowrulev2 = opacity 0.9 0.7, class:^([Ff]erdium)$
# windowrule v2 - size
windowrulev2 = size 70% 70%, class:^(gnome-system-monitor|org.gnome.SystemMonitor)$
@@ -88,6 +104,8 @@ windowrulev2 = size 60% 70%, title:(Kvantum Manager)
windowrulev2 = size 60% 70%, class:^(qt6ct)$
windowrulev2 = size 70% 70%, class:^(evince|wihotspot-gui)$
windowrulev2 = size 60% 70%, class:^(file-roller|org.gnome.FileRoller)$
+windowrulev2 = size 60% 70%, class:^([Ww]hatsapp-for-linux)$
+windowrulev2 = size 60% 70%, class:^([Ff]erdium)$
#layerrule = unset,class:^([Rr]ofi)$
#layerrule = blur,class:^([Rr]ofi)$
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage