From e933126762ead74ed19590894316ef130de143d9 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Wed, 18 Sep 2024 17:43:09 +0800 Subject: added waylandarg flag: --enable-features=UseOzonePlatform --- dot-config/hypr/binds.conf | 4 ++-- dot-config/hypr/hyprland.conf | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/dot-config/hypr/binds.conf b/dot-config/hypr/binds.conf index 99bdaf34..a0651adc 100644 --- a/dot-config/hypr/binds.conf +++ b/dot-config/hypr/binds.conf @@ -80,7 +80,7 @@ bind = $mainMod, q, killactive bind = $mainMod shift, q, exec, kill -9 $(hyprctl activewindow | grep pid | tail -1 | awk '{print$2}') bind = ctrl alt, escape, exec, hyprctl kill bind = ctrl $mainMod shift, r, exec, systemctl restart $sessionManager -bind = ctrl $mainMod, escape, exec, killall -SIGUSR2 waybar +bind = ctrl $mainMod, escape, exec, killall -SIGUSR2 waybar || waybar & # bind = ctrl, up, hyprexpo:expo, on # bind = ctrl, down, hyprexpo:expo, off # bind = ctrl, up, overview:open @@ -90,7 +90,7 @@ bind = ctrl $mainMod, escape, exec, killall -SIGUSR2 waybar # bindr = alt, tab, exec, hyprswitch close # bindr = alt, grave, exec, hyprswitch close bind = alt, tab, exec, /home/system/.cargo/bin/hyprswitch gui --mod-key alt_l --key tab --close mod-key-release && hyprswitch dispatch -bind = alt shift, tab, exec, /home/system/.cargo/bin/hyprswitch gui --mod-key alt_l --key tab --close mod-key-release && hyprswitch dispatch -r +bind = alt, grave, exec, /home/system/.cargo/bin/hyprswitch gui --mod-key alt_l --key tab --close mod-key-release && hyprswitch dispatch -r # restart bar bind = ctrl alt, left, workspace, -1 diff --git a/dot-config/hypr/hyprland.conf b/dot-config/hypr/hyprland.conf index 542c1fd2..279a442f 100644 --- a/dot-config/hypr/hyprland.conf +++ b/dot-config/hypr/hyprland.conf @@ -27,7 +27,7 @@ $SCRIPTSDIR = $HOME/scripts $rofiexec = $HOME/.config/rofi/scripts # misc -$waylandarg = --enable-features=WaylandWindowDecorations --ozone-platform-hint=auto +$waylandarg = --enable-features=WaylandWindowDecorations,UseOzonePlatform --ozone-platform-hint=auto ##################### @@ -137,7 +137,7 @@ misc { focus_on_activate = true disable_hyprland_logo = true # If true disables the random hyprland logo / anime girl background. :( # vfr = false - # vrr = 1 + # vrr = 1 # 1 = always, 2 = only in full screen mouse_move_enables_dpms = true key_press_enables_dpms = true # animate_manual_resizes = true @@ -196,3 +196,4 @@ source = ~/.config/hypr/env.conf source = ~/.config/hypr/rules.conf source = ~/.config/hypr/binds.conf source = ~/.config/hypr/autostart.conf +debug:disable_logs = false -- cgit v1.2.3