summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2024-09-16 18:52:02 +0800
committerlittleblack111 <littleblack11111@gmail.com>2024-09-16 18:52:02 +0800
commit736083df3e684471940f2b53aa877a1e53f3cf0c (patch)
treea83a2d83bda72f6fc4628342eea6688bee726464
parent3b33d662b19a874d9f7494f77b97100ae379bc07 (diff)
fixed cursor, allowed play-pause in lockscreen
-rw-r--r--dot-config/hypr/autostart.conf4
-rw-r--r--dot-config/hypr/binds.conf6
-rw-r--r--dot-config/hypr/hyprland.conf7
-rw-r--r--dot-config/hypr/rules.conf6
4 files changed, 15 insertions, 8 deletions
diff --git a/dot-config/hypr/autostart.conf b/dot-config/hypr/autostart.conf
index 18b0332f..9359603a 100644
--- a/dot-config/hypr/autostart.conf
+++ b/dot-config/hypr/autostart.conf
@@ -9,7 +9,8 @@
# exec-once = dbus-update-activation-environment --all && dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
# exec-once = systemctl --user import-environment XDG_SESSION_TYPE XDG_CURRENT_DESKTOP WAYLAND_DISPLAY QT_QPA_PLATFORMTHEME
# FIX CURSOR because keep reseting(see: https://www.reddit.com/r/hyprland/comments/1fgfmqb/gtk_apps_not_respecting_cursor_theme/)
-exec-once = gsettings set org.gnome.desktop.interface cursor-theme Bibata-Rainbow-Modern
+# exec-once = gsettings set org.gnome.desktop.interface cursor-theme Bibata-Rainbow-Modern
+exec-once = hyprctl setcursor Bibata-Rainbow-Modern 24
# Launch hyprland plugins
exec-once = hyprpm reload || hyprpm update
@@ -73,3 +74,4 @@ exec-once = kdeconnectd
exec-once = nextcloud --background
exec-once = discord --start-minimized
exec-once = beeper --hidden
+exec-once = echo 'ddcci 0x37' | sudo tee /sys/bus/i2c/devices/i2c-13/new_device
diff --git a/dot-config/hypr/binds.conf b/dot-config/hypr/binds.conf
index f165a243..7bd81fd7 100644
--- a/dot-config/hypr/binds.conf
+++ b/dot-config/hypr/binds.conf
@@ -61,7 +61,7 @@ bind = ,XF86AudioMute, exec, $HOME/scripts/sysutil.sh volume --toggle
bind = ,XF86AudioMicMute, exec, $HOME/scripts/sysutil.sh volume --toggle-mic
bind = ,XF86AudioNext, exec, playerctl -p spotify next
bind = ,XF86AudioPrev, exec, playerctl -p spotify previous
-bind = ,XF86AudioPlay, exec, playerctl -p spotify play-pause
+bindl = ,XF86AudioPlay, exec, playerctl -p spotify play-pause
bind = ,XF86AudioStop, exec, playerctl -p spotify stop
bind = ,XF86PowerOff, exec, $rofiexec/rofi_shutdown
@@ -83,8 +83,8 @@ bind = ctrl $mainMod shift, r, exec, systemctl restart $sessionManager
bind = ctrl $mainMod, escape, exec, killall waybar; waybar
# bind = ctrl, up, hyprexpo:expo, on
# bind = ctrl, down, hyprexpo:expo, off
-bind = ctrl, up, overview:open
-bind = ctrl, down, overview:close
+# bind = ctrl, up, overview:open
+# bind = ctrl, down, overview:close
# bind = alt, tab, exec, hyprswitch gui
# bind = alt, grave, exec, hyprswitch gui --reverse
# bindr = alt, tab, exec, hyprswitch close
diff --git a/dot-config/hypr/hyprland.conf b/dot-config/hypr/hyprland.conf
index 1790e03a..542c1fd2 100644
--- a/dot-config/hypr/hyprland.conf
+++ b/dot-config/hypr/hyprland.conf
@@ -54,7 +54,7 @@ general {
resize_on_border = false
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
- allow_tearing = false
+ allow_tearing = true
layout = dwindle
}
@@ -68,8 +68,9 @@ decoration {
rounding = 7
# Change transparency of focused and unfocused windows
- active_opacity = 1.0
- inactive_opacity = 0.95
+ active_opacity = 0.89
+ inactive_opacity = 0.85
+ fullscreen_opacity = 1.0
drop_shadow = true
shadow_range = 15
diff --git a/dot-config/hypr/rules.conf b/dot-config/hypr/rules.conf
index 0f53a92c..0d57a0b4 100644
--- a/dot-config/hypr/rules.conf
+++ b/dot-config/hypr/rules.conf
@@ -140,7 +140,7 @@ windowrulev2 = stayfocused, title:(rofi - Command|rofi - Confirmation|rofi - Arc
windowrulev2 = noshadow,floating:0
# Opacity rules
-windowrule = opacity 0.89 override 0.89 override, .*
+# windowrule = opacity 0.89 override 0.89 override, .* set in decoration
# windowrulev2 = opacity 0.95 0.90, class:.+
windowrulev2 = opacity 0.85 0.75, class:^code-oss$
windowrulev2 = opacity 0.85 0.75, class:^code$
@@ -162,6 +162,7 @@ windowrulev2 = opacity 0.8 0.5, title:New Tab
# layerrule = blur,rofi
# layerrule = ignorezero,rofi
# layerrule = dimaround,rofi
+layerrule = blurpopups
layerrule = blur,notifications
layerrule = ignorezero,notifications
layerrule = blur,swaync-notification-window
@@ -185,6 +186,9 @@ windowrulev2 = noblur, class:^(xwaylandvideobridge)$
# Tearing
windowrule=immediate,.*\.exe
windowrulev2=immediate,class:(steam_app)
+windowrulev2=immediate,class:(Minecraft*)
+windowrulev2=immediate,class:(genshinimpact.exe)
+windowrulev2=immediate,class:(Lunar Client*)
windowrulev2 = plugin:chromakey,fullscreen:0
plugin:chromakey_background = rgb(07121b)