From 10d808745f57e433f44b6ceeab11c1c9dfaadb00 Mon Sep 17 00:00:00 2001 From: moonleay Date: Tue, 12 Nov 2024 00:41:16 +0100 Subject: [PATCH] fix: fixed for hyprland v0.45 --- hypr/autorun.conf | 7 +++++-- hypr/basics.conf | 18 ++++++++++-------- hypr/env_vars.conf | 2 ++ hypr/hyprpaper.conf | 13 ++++++------- hypr/keybindings.conf | 8 +++++--- hypr/monitors.conf | 3 ++- 6 files changed, 30 insertions(+), 21 deletions(-) diff --git a/hypr/autorun.conf b/hypr/autorun.conf index dec6a90..9af3737 100644 --- a/hypr/autorun.conf +++ b/hypr/autorun.conf @@ -1,5 +1,6 @@ # Autorun apps -exec-once = dunst & hyprpaper & waybar +# exec-once = dunst & hyprpaper & waybar +exec-once = dunst & waybar exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP exec-once = hyprctl setcursor Adwaita 24 exec-once = gsettings set org.gnome.desktop.interface cursor-theme 'adwaita' @@ -7,7 +8,9 @@ exec-once = gsettings set org.gnome.desktop.interface cursor-size '24' exec-once = bash /home/moonleay/.config/hypr/hyprland/scripts/fixXwaylandVideoBridge.sh exec-once = solaar -w hide exec-once = setxkbmap -model 'pc105angle' -layout 'us' -variant 'cmk_ed_us' -option'' -option 'misc:extend,lv5:caps_switch_lock,grp:shifts_toggle,compose:menu,misc:cmk_curl_dh' +exec-once = xwaylandvideobridge # exec-once = discord & librewolf # exec-once = flatpak run org.kde.xwaylandvideobridge # exec-once = gBar bar 0 & gBar bar 1 & gBar bar 2 -exec-once = /usr/lib/polkit-kde-authentication-agent-1 +# exec-once = /usr/lib/polkit-kde-authentication-agent-1 +exec-once = /usr/bin/arrpc diff --git a/hypr/basics.conf b/hypr/basics.conf index 6878060..a03ba94 100644 --- a/hypr/basics.conf +++ b/hypr/basics.conf @@ -2,7 +2,7 @@ general { gaps_in = 5 gaps_out = 10 #20 - border_size = 2 + border_size = 2 # 2 col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg col.inactive_border = rgba(595959aa) @@ -12,24 +12,26 @@ general { # Window decorations decoration { - rounding = 5 + rounding = 4 # 5 blur { # Disable blur for battery saving - enabled = false + enabled = false # true size = 3 passes = 1 } - drop_shadow = yes - shadow_range = 4 - shadow_render_power = 3 - col.shadow = rgba(1a1a1aee) + shadow { + enabled = yes + range = 4 + render_power = 3 + color = rgba(1a1a1aee) + } } # Window animations animations { - enabled = yes + enabled = yes # yes bezier = myBezier, 0.05, 0.9, 0.1, 1.05 diff --git a/hypr/env_vars.conf b/hypr/env_vars.conf index 14c815a..8dee366 100644 --- a/hypr/env_vars.conf +++ b/hypr/env_vars.conf @@ -22,3 +22,5 @@ env = XCURSOR_SIZE,24 # env = ENABLE_DEVICE_CHOOSER_LAYER=1 VULKAN_DEVICE_INDEX=0 env = KITTY_DISABLE_WAYLAND,1 + +#env=SDL_VIDEODRIVER,wayland osu-lazer diff --git a/hypr/hyprpaper.conf b/hypr/hyprpaper.conf index caf0b7f..854d923 100644 --- a/hypr/hyprpaper.conf +++ b/hypr/hyprpaper.conf @@ -1,16 +1,15 @@ -preload = ~/Pictures/Wallpaper/somerndm.jpg +preload = ~/Pictures/Wallpaper/meru_gaming.png #if more than one preload is desired then continue to preload other backgrounds #preload = /path/to/next_image.png # .. more preloads #set the default wallpaper(s) seen on inital workspace(s) --depending on the number of monitors used -wallpaper = eDP-2,~/Pictures/Wallpaper/cityx4.png -wallpaper = eDP-1,~/Pictures/Wallpaper/somerndm.jpg -wallpaper = DP-2,~/Pictures/Wallpaper/somerndm.jpg -wallpaper = HDMI-A-1,~/Pictures/Wallpaper/cityx4.png -#if more than one monitor in use, can load a 2nd image -# .. more monitors +# wallpaper = eDP-2,~/Pictures/Wallpaper/cityx4.png +# wallpaper = eDP-1,~/Pictures/Wallpaper/somerndm.jpg +# wallpaper = DP-2,~/Pictures/Wallpaper/somerndm.jpg +wallpaper = desc:LG Electronics LG TV SSCR2 0x01010101,~/Pictures/Wallpaper/meru_gaming.png +wallpaper = desc:BOE 0x0BC9,~/Pictures/Wallpaper/meru_gaming.png splash = true diff --git a/hypr/keybindings.conf b/hypr/keybindings.conf index f73a8fa..c68a0a4 100644 --- a/hypr/keybindings.conf +++ b/hypr/keybindings.conf @@ -25,8 +25,10 @@ bind = $secondaryMod, q, exec, librewolf # Force app fullsceen bind = ALT_L, f, fullscreen, 0 -# bind = ALT_L SHIFT, f, fullscreenstate, 0 2 # This is for a future version of hyprland, in case it does not fuck up cursors again! -bind = ALT_L SHIFT, f, fakefullscreen +bind = ALT_L SHIFT, f, fullscreenstate, 0 2 # This is for a future version of hyprland, in case it does not fuck up cursors again! +bind = ALT_L, p, fullscreenstate, 1 1 +# bind = ALT_L CONTROL_L, f, fullscreenstate, 1 1 +# bind = ALT_L SHIFT, f, fakefullscreen # Custom rofi bind = $secondaryMod, TAB, exec, rofi -show window -show-icons @@ -44,7 +46,7 @@ bind = $secondaryMod, E, exec, thunar bind = $secondaryMod, V, togglefloating, bind = $mainMod, V, togglefloating, bind = $secondaryMod, R, exec, rofi -show drun -show-icons -bind = $secondaryMod, P, pseudo, # dwindle +bind = $secondaryMod, B, pseudo, # dwindle bind = $secondaryMod, J, togglesplit, # dwindle # Move the window focus diff --git a/hypr/monitors.conf b/hypr/monitors.conf index e4c6aab..942c8a7 100644 --- a/hypr/monitors.conf +++ b/hypr/monitors.conf @@ -1,7 +1,8 @@ # Monitors monitor=,preferred,auto,auto # monitor=eDP-2,preferred,0x0,2 -monitor=desc:BOE 0x0BC9,2560x1600@160,0x0,1.6 # 1.6 +monitor=desc:BOE 0x0BC9,2560x1600@165,0x0,1.6 # 1.6 +#monitor=desc:LG Electronics LG TV SSCR2 0x01010101,3840x2160@120,-3072x0,1.25 # 1.2 monitor=desc:LG Electronics LG TV SSCR2 0x01010101,3840x2160@120,1600x0,1.25 # 1.2 # monitor=HDMI-A-1,preferred,4480x0,1 # monitor=HDMI-A-1,3440x1440@100,1280x0,1