feat: Add some more rules and fix draw screen dimming

This commit is contained in:
2025-04-20 22:50:51 +10:00
parent 7fc2d78f96
commit 3d07720567
8 changed files with 38 additions and 149 deletions

View File

@@ -6,7 +6,7 @@ shell = "zsh"
[window] [window]
decorations = "none" decorations = "none"
startup_mode = "Windowed" startup_mode = "Windowed"
opacity = 1 opacity = 0.8
blur = true blur = true
# padding = { x = 10, y = 10 } # padding = { x = 10, y = 10 }

View File

@@ -6,7 +6,7 @@ shell = "zsh"
[window] [window]
decorations = "none" decorations = "none"
startup_mode = "Windowed" startup_mode = "Windowed"
opacity = 1 opacity = 0.8
blur = true blur = true
# padding = { x = 10, y = 10 } # padding = { x = 10, y = 10 }

1
.config/.gitignore vendored
View File

@@ -27,5 +27,6 @@
!btop !btop
!btop/** !btop/**
btop/themes/WallRizz.theme btop/themes/WallRizz.theme
btop/btop.log
!kitty !kitty
!kitty/** !kitty/**

View File

@@ -1,136 +0,0 @@
2025/04/03 (15:28:50) | ===> btop++ v.1.4.0
2025/04/03 (15:28:50) | WARNING: Intel GPU: Failed to initialize PMU
2025/04/03 (17:04:21) | ===> btop++ v.1.4.0
2025/04/03 (17:04:21) | WARNING: Intel GPU: Failed to initialize PMU
2025/04/03 (19:12:00) | ===> btop++ v.1.4.0
2025/04/03 (19:12:00) | WARNING: Intel GPU: Failed to initialize PMU
2025/04/03 (19:12:15) | ===> btop++ v.1.4.0
2025/04/03 (19:12:15) | WARNING: Intel GPU: Failed to initialize PMU
2025/04/03 (19:12:39) | ERROR: Stall in Runner thread, restarting!
2025/04/03 (19:13:16) | ===> btop++ v.1.4.0
2025/04/03 (19:13:16) | WARNING: Intel GPU: Failed to initialize PMU
2025/04/03 (19:13:17) | ===> btop++ v.1.4.0
2025/04/03 (19:13:17) | WARNING: Intel GPU: Failed to initialize PMU
2025/04/03 (19:13:24) | ===> btop++ v.1.4.0
2025/04/03 (19:13:24) | WARNING: Intel GPU: Failed to initialize PMU
2025/04/03 (19:42:15) | ===> btop++ v.1.4.0
2025/04/03 (19:42:15) | WARNING: Intel GPU: Failed to initialize PMU
2025/04/03 (19:59:14) | ===> btop++ v.1.4.0
2025/04/03 (19:59:14) | WARNING: Intel GPU: Failed to initialize PMU
2025/04/04 (12:20:48) | ===> btop++ v.1.4.0
2025/04/04 (12:20:48) | WARNING: Intel GPU: Failed to initialize PMU
2025/04/04 (12:35:50) | ===> btop++ v.1.4.0
2025/04/04 (12:35:50) | WARNING: Intel GPU: Failed to initialize PMU
2025/04/04 (17:08:48) | ===> btop++ v.1.4.0
2025/04/04 (17:08:48) | WARNING: Intel GPU: Failed to initialize PMU
2025/04/04 (18:17:39) | ===> btop++ v.1.4.0
2025/04/04 (18:17:39) | WARNING: Intel GPU: Failed to initialize PMU
2025/04/04 (18:30:39) | ===> btop++ v.1.4.0
2025/04/04 (18:30:39) | WARNING: Intel GPU: Failed to initialize PMU
2025/04/04 (18:32:11) | ===> btop++ v.1.4.0
2025/04/04 (18:32:11) | WARNING: Intel GPU: Failed to initialize PMU
2025/04/05 (14:07:19) | ===> btop++ v.1.4.0
2025/04/05 (14:07:19) | WARNING: Intel GPU: Failed to initialize PMU
2025/04/08 (12:20:25) | ===> btop++ v.1.4.0
2025/04/08 (12:20:25) | WARNING: Intel GPU: Failed to initialize PMU
2025/04/08 (14:28:39) | ===> btop++ v.1.4.0
2025/04/08 (14:28:39) | WARNING: Intel GPU: Failed to initialize PMU
2025/04/08 (22:53:43) | ===> btop++ v.1.4.0
2025/04/08 (22:53:43) | WARNING: Intel GPU: Failed to initialize PMU
2025/04/10 (15:24:50) | ===> btop++ v.1.4.0
2025/04/10 (15:24:50) | WARNING: Intel GPU: Failed to initialize PMU
2025/04/10 (16:02:00) | ===> btop++ v.1.4.0
2025/04/10 (16:02:00) | WARNING: Intel GPU: Failed to initialize PMU
2025/04/11 (13:53:22) | ===> btop++ v.1.4.0
2025/04/11 (13:53:22) | WARNING: Intel GPU: Failed to initialize PMU
2025/04/11 (14:05:35) | ===> btop++ v.1.4.0
2025/04/11 (14:05:35) | WARNING: Intel GPU: Failed to initialize PMU
2025/04/15 (11:56:11) | ===> btop++ v.1.4.0
2025/04/15 (11:56:11) | WARNING: Intel GPU: Failed to initialize PMU
2025/04/19 (16:03:55) | ===> btop++ v.1.4.0
2025/04/19 (16:03:55) | WARNING: Intel GPU: Failed to initialize PMU
2025/04/19 (17:13:46) | ===> btop++ v.1.4.0
2025/04/19 (17:13:46) | WARNING: Intel GPU: Failed to initialize PMU
2025/04/19 (17:13:56) | ===> btop++ v.1.4.0
2025/04/19 (17:13:56) | WARNING: Intel GPU: Failed to initialize PMU
2025/04/19 (17:14:03) | ===> btop++ v.1.4.0
2025/04/19 (17:14:03) | WARNING: Intel GPU: Failed to initialize PMU
2025/04/19 (17:17:05) | ===> btop++ v.1.4.0
2025/04/19 (17:17:05) | WARNING: Intel GPU: Failed to initialize PMU
2025/04/19 (17:17:40) | ===> btop++ v.1.4.0
2025/04/19 (17:17:40) | WARNING: Intel GPU: Failed to initialize PMU
2025/04/19 (17:47:27) | ===> btop++ v.1.4.0
2025/04/19 (17:47:27) | WARNING: Intel GPU: Failed to initialize PMU
2025/04/19 (17:47:35) | ===> btop++ v.1.4.0
2025/04/19 (17:47:35) | WARNING: Intel GPU: Failed to initialize PMU
2025/04/19 (17:47:46) | ===> btop++ v.1.4.0
2025/04/19 (17:47:46) | WARNING: Intel GPU: Failed to initialize PMU
2025/04/19 (17:47:54) | ===> btop++ v.1.4.0
2025/04/19 (17:47:54) | WARNING: Intel GPU: Failed to initialize PMU
2025/04/19 (17:49:31) | ===> btop++ v.1.4.0
2025/04/19 (17:49:31) | WARNING: Intel GPU: Failed to initialize PMU
2025/04/19 (17:51:02) | ===> btop++ v.1.4.0
2025/04/19 (17:51:02) | WARNING: Intel GPU: Failed to initialize PMU
2025/04/19 (17:51:07) | ===> btop++ v.1.4.0
2025/04/19 (17:51:07) | WARNING: Intel GPU: Failed to initialize PMU
2025/04/19 (17:51:09) | ===> btop++ v.1.4.0
2025/04/19 (17:51:09) | WARNING: Intel GPU: Failed to initialize PMU
2025/04/19 (17:51:15) | ===> btop++ v.1.4.0
2025/04/19 (17:51:15) | WARNING: Intel GPU: Failed to initialize PMU
2025/04/19 (17:54:49) | ===> btop++ v.1.4.0
2025/04/19 (17:54:49) | WARNING: Intel GPU: Failed to initialize PMU
2025/04/19 (18:45:05) | ===> btop++ v.1.4.0
2025/04/19 (18:45:05) | WARNING: Intel GPU: Failed to initialize PMU
2025/04/19 (22:20:46) | ===> btop++ v.1.4.0
2025/04/19 (22:20:46) | WARNING: Intel GPU: Failed to initialize PMU
2025/04/20 (17:30:16) | ===> btop++ v.1.4.0
2025/04/20 (17:30:16) | WARNING: Intel GPU: Failed to initialize PMU
2025/04/20 (17:33:49) | ===> btop++ v.1.4.0
2025/04/20 (17:33:49) | WARNING: Intel GPU: Failed to initialize PMU
2025/04/20 (17:33:52) | ===> btop++ v.1.4.0
2025/04/20 (17:33:52) | WARNING: Intel GPU: Failed to initialize PMU

View File

@@ -68,12 +68,31 @@ general {
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
allow_tearing = false allow_tearing = false
snap {
enabled = true
window_gap = 20
monitor_gap = 20
}
} }
decoration { decoration {
# See https://wiki.hyprland.org/Configuring/Variables/ for more # See https://wiki.hyprland.org/Configuring/Variables/ for more
rounding = 10 rounding = 10
rounding_power = 2
active_opacity = 0.9
inactive_opacity = 0.75
fullscreen_opacity = 1
dim_inactive = false
dim_strength = 0.5
dim_special = 0.2
dim_around = 0.4
blur { blur {
enabled = true enabled = true
@@ -82,9 +101,6 @@ decoration {
xray = 0 xray = 0
} }
active_opacity = 0.9
inactive_opacity = 0.75
fullscreen_opacity = 1
} }
animations { animations {
@@ -93,7 +109,6 @@ animations {
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
bezier = myBezier, 0.05, 0.9, 0.1, 1.05 bezier = myBezier, 0.05, 0.9, 0.1, 1.05
animation = windows, 1, 7, myBezier animation = windows, 1, 7, myBezier
animation = windowsOut, 1, 7, default, popin 80% animation = windowsOut, 1, 7, default, popin 80%
animation = border, 1, 10, default animation = border, 1, 10, default
@@ -106,6 +121,7 @@ dwindle {
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
preserve_split = yes # you probably want this preserve_split = yes # you probably want this
smart_split = true
} }
master { master {
@@ -228,9 +244,8 @@ bind = $mainMod SHIFT, 0, movetodesk, 10
# hyprlang noerror false # hyprlang noerror false
# Example special workspace (scratchpad) # Example special workspace (scratchpad)
bind = $mainMod, S, togglespecialworkspace, magic bind = $mainMod, S, togglespecialworkspace, terminal
bind = $mainMod CTRL, S, movetoworkspace, special:magic bind = $mainMod CTRL, S, movetoworkspace, special:terminal
# bindr = $mainMod, SUPER_L, exec, hyprpanel toggleWindow dashboardmenu
bind = $mainMod SHIFT, S, exec, hyprshot -m region bind = $mainMod SHIFT, S, exec, hyprshot -m region
@@ -288,7 +303,5 @@ bind = $mainMod, PERIOD, exec, bemoji
# Custom terminal # Custom terminal
bind = $mainMod, T, exec, alacritty --config-file ~/dotfiles/.alacritty-nozellij.toml bind = $mainMod, T, exec, alacritty --config-file ~/dotfiles/.alacritty-nozellij.toml
# Save output to ~/tmp/errors.log
bind = $mainMod, W, exec, ~/.config/hypr/scripts/wallpaper.sh
bind = $mainMod CTRL, W, exec, systemctl --user start wallpaper.timer && hyprctl notify 1 1500 0 "Started wallpaper timer" bind = $mainMod, W, exec, ~/.config/hypr/scripts/wallpaper.sh

View File

@@ -52,11 +52,17 @@ if __name__ == "__main__":
print("Rebinding mouse buttons") print("Rebinding mouse buttons")
os.system("hyprctl keyword bind , mouse_left, exec, 'ydotool key 56:1 105:1 105:0 56:0'") os.system("hyprctl keyword bind , mouse_left, exec, 'ydotool key 56:1 105:1 105:0 56:0'")
os.system("hyprctl keyword bind , mouse_right, exec, 'ydotool key 56:1 106:1 106:0 56:0'") os.system("hyprctl keyword bind , mouse_right, exec, 'ydotool key 56:1 106:1 106:0 56:0'")
# Set dim special to default
os.system("hyprctl keyword decoration:dim_special 0.5")
else: else:
print("Gromit is not running",flush=True) print("Gromit is not running",flush=True)
# Check if gromit-mpx is running # Check if gromit-mpx is running
if gromit_running(): if gromit_running():
os.system("gromit-mpx -t") os.system("gromit-mpx -t")
# Disable dim special
os.system("hyprctl keyword decoration:dim_special 0")
os.system("hyprctl dispatch togglespecialworkspace gromit") os.system("hyprctl dispatch togglespecialworkspace gromit")
os.system("hyprctl keyword unbind , mouse_left") os.system("hyprctl keyword unbind , mouse_left")
os.system("hyprctl keyword unbind , mouse_right") os.system("hyprctl keyword unbind , mouse_right")
@@ -64,3 +70,4 @@ if __name__ == "__main__":
os.system("hyprctl keyword bind , mouse_right, exec, 'gromit-mpx --redo'") os.system("hyprctl keyword bind , mouse_right, exec, 'gromit-mpx --redo'")

View File

@@ -39,6 +39,10 @@ windowrule = size 100% 100%, class:^(Gromit-mpx)$
windowrule = opacity 1 override 1 override class:brave-browser windowrule = opacity 1 override 1 override class:brave-browser
windowrule = opacity 1 override 1 override class:mpv windowrule = opacity 1 override 1 override class:mpv
workspace = special:magic, on-created-empty: alacritty # Disable opacity for Alacritty (as it already has a transparent background)
windowrule = opacity 1 override 0.75 override class:Alacritty
workspace = special:terminal, on-created-empty: alacritty
# hyprlang noerror false # hyprlang noerror false