new sharp mode: disables the animations and some other stuff to make the environment more clean and minimalist. New wallpaper (again). Misc fixes including patches for new hyprland versions that won't work with the previous versions of these config files. Now launching ssh-agent at startup. Deleted obsolete fast mod in favor of the new sharp mode
This commit is contained in:
parent
d97de713a8
commit
d8eb4351a2
9 changed files with 115 additions and 42 deletions
|
|
@ -51,16 +51,30 @@ decoration {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# TODO: replace layerrules
|
||||||
|
|
||||||
# Apply blur to waybar
|
# Apply blur to waybar
|
||||||
layerrule = blur,waybar
|
# layerrule {
|
||||||
|
# name = waybar
|
||||||
|
# blur = on
|
||||||
|
# }
|
||||||
|
|
||||||
# Apply blur to swaync
|
# Apply blur to swaync
|
||||||
layerrule = blur, swaync-control-center
|
|
||||||
layerrule = blur, swaync-notification-window
|
## New
|
||||||
layerrule = ignorezero, swaync-control-center
|
layerrule {
|
||||||
layerrule = ignorezero, swaync-notification-window
|
name = swaync-control-center,swaync-notification-window
|
||||||
layerrule = ignorealpha 0.5, swaync-control-center
|
blur = on
|
||||||
layerrule = ignorealpha 0.5, swaync-notification-window
|
ignore_alpha = 0.5
|
||||||
|
}
|
||||||
|
|
||||||
|
## Old
|
||||||
|
# layerrule = blur, swaync-control-center
|
||||||
|
# layerrule = blur, swaync-notification-window
|
||||||
|
# layerrule = ignorezero, swaync-control-center
|
||||||
|
# layerrule = ignorezero, swaync-notification-window
|
||||||
|
# layerrule = ignorealpha 0.5, swaync-control-center
|
||||||
|
# layerrule = ignorealpha 0.5, swaync-notification-window
|
||||||
|
|
||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/Variables/#animations
|
# https://wiki.hyprland.org/Configuring/Variables/#animations
|
||||||
|
|
@ -141,45 +155,82 @@ misc {
|
||||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||||
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
|
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
|
||||||
|
|
||||||
# Example windowrule v1
|
|
||||||
# windowrule = float, ^(kitty)$
|
|
||||||
|
|
||||||
# Example windowrule v2
|
|
||||||
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
|
||||||
|
|
||||||
# Ignore maximize requests from apps. You'll probably like this.
|
# Ignore maximize requests from apps. You'll probably like this.
|
||||||
windowrule = suppressevent maximize, class:.*
|
windowrule {
|
||||||
|
name = suppress-maximize-events
|
||||||
|
suppress_event = maximize
|
||||||
|
match:class = .*
|
||||||
|
}
|
||||||
|
|
||||||
# Fix some dragging issues with XWayland
|
# Fix some dragging issues with XWayland
|
||||||
windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
|
windowrule {
|
||||||
|
name = fix-xwayland-drags
|
||||||
|
match:class = ^$
|
||||||
|
match:title = ^$
|
||||||
|
match:xwayland = true
|
||||||
|
match:float = true
|
||||||
|
match:fullscreen = false
|
||||||
|
match:pin = false
|
||||||
|
|
||||||
|
no_focus = true
|
||||||
|
}
|
||||||
|
|
||||||
# Albert
|
# Albert
|
||||||
windowrule=noborder,class:^(albert)$
|
windowrule {
|
||||||
windowrule=noblur,class:^(albert)$
|
name = albert
|
||||||
windowrule=noshadow,class:^(albert)$
|
border_size = 0
|
||||||
windowrule=float,class:^(albert)$
|
no_blur = on
|
||||||
windowrule=stayfocused,class:^(albert)$
|
no_shadow = on
|
||||||
windowrule=nodim,class:^(albert)$
|
float = on
|
||||||
|
stay_focused = on
|
||||||
|
no_dim = on
|
||||||
|
match:class = ^(albert)$
|
||||||
|
}
|
||||||
|
|
||||||
# Prism Launcher
|
# Prism Launcher
|
||||||
windowrule=pseudo, class:(org.prismlauncher.PrismLauncher)
|
windowrule {
|
||||||
windowrule=size 65% 70%, class:(org.prismlauncher.PrismLauncher), title:^(Prism Launcher .*)$
|
name = prismlauncher-all
|
||||||
|
pseudo = on
|
||||||
|
match:class = (org.prismlauncher.PrismLauncher)
|
||||||
|
}
|
||||||
|
windowrule {
|
||||||
|
name = prismlauncher-main
|
||||||
|
size = (monitor_w*0.65) (monitor_h*0.7)
|
||||||
|
match:class = (org.prismlauncher.PrismLauncher)
|
||||||
|
match:title = ^(Prism Launcher .*)$
|
||||||
|
}
|
||||||
|
|
||||||
# Nautilus
|
# Nautilus
|
||||||
windowrule=pseudo, class:(org.gnome.Nautilus)
|
windowrule {
|
||||||
windowrule=size 65% 70%, class:(org.gnome.Nautilus) # initialTitle:^(Loading…)$
|
name = nautilus-all
|
||||||
|
pseudo = on
|
||||||
# Kitty
|
match:class = (org.gnome.Nautilus)
|
||||||
#windowrule=pseudo, class:(kitty)
|
}
|
||||||
#windowrule=size 80% 80%, class:(kitty)
|
windowrule {
|
||||||
|
name = nautilus-main
|
||||||
|
size = (monitor_w*0.65) (monitor_h*0.7)
|
||||||
|
match:class = (org.gnome.Nautilus) # initialTitle:^(Loading…)$
|
||||||
|
}
|
||||||
|
|
||||||
# Vivado
|
# Vivado
|
||||||
## Loading screen
|
## Loading screen
|
||||||
windowrule=float, class:(ui-PlanAhead)
|
windowrule {
|
||||||
windowrule=size 397 295, class:(ui-PlanAhead) title:^(win0)$
|
name = vivado-loading-screen
|
||||||
windowrule=center, class:(ui-PlanAhead)
|
float = on
|
||||||
|
center = on
|
||||||
|
match:class = (ui-PlanAhead)
|
||||||
|
}
|
||||||
|
windowrule {
|
||||||
|
name = vivado-loading-screen-2
|
||||||
|
size = 397 295
|
||||||
|
match:class = (ui-PlanAhead) title:^(win0)$
|
||||||
|
}
|
||||||
## Main window
|
## Main window
|
||||||
windowrule=tile, class:(Vivado)
|
windowrule {
|
||||||
|
name = vivado-main
|
||||||
|
tile = on
|
||||||
|
match:class = (Vivado)
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
# TODO Automatically fullscreen single apps
|
# TODO Automatically fullscreen single apps
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,9 @@ exec-once = ~/.config/hypr/scripts/autostart.sh
|
||||||
exec-once = wl-paste --type text --watch cliphist store # Stores only text data
|
exec-once = wl-paste --type text --watch cliphist store # Stores only text data
|
||||||
exec-once = wl-paste --type image --watch cliphist store # Stores only image data
|
exec-once = wl-paste --type image --watch cliphist store # Stores only image data
|
||||||
|
|
||||||
|
# SSH Agent
|
||||||
|
exec-once = ssh-agent
|
||||||
|
|
||||||
|
|
||||||
#############################
|
#############################
|
||||||
### ENVIRONMENT VARIABLES ###
|
### ENVIRONMENT VARIABLES ###
|
||||||
|
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
# Mod file to disable desktop animations
|
|
||||||
|
|
||||||
animations {
|
|
||||||
enabled = false
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
@ -45,6 +45,7 @@ bind = $mainMod, L, exec, hyprlock # Lockscreen
|
||||||
bind = $mainMod, B, exec, ~/.config/hypr/scripts/toggle-waybar.sh # Toggle sidebar
|
bind = $mainMod, B, exec, ~/.config/hypr/scripts/toggle-waybar.sh # Toggle sidebar
|
||||||
bind = $mainMod SHIFT, R, exec, ~/.config/hypr/scripts/reload.sh # Reload desktop
|
bind = $mainMod SHIFT, R, exec, ~/.config/hypr/scripts/reload.sh # Reload desktop
|
||||||
bind = $mainMod, F11, exec, ~/.config/hypr/scripts/gamemode.sh # Gamemode
|
bind = $mainMod, F11, exec, ~/.config/hypr/scripts/gamemode.sh # Gamemode
|
||||||
|
bind = $mainMod, F10, exec, ~/.config/hypr/scripts/sharp_mode.sh # Sharp mode
|
||||||
bind = $mainMod SHIFT, M, exit, # Exit desktop session
|
bind = $mainMod SHIFT, M, exit, # Exit desktop session
|
||||||
|
|
||||||
# Shortcuts
|
# Shortcuts
|
||||||
|
|
|
||||||
|
|
@ -12,4 +12,3 @@ source = ~/.config/hypr/config/input.conf
|
||||||
source = ~/.config/hypr/config/kb_layouts/us.conf
|
source = ~/.config/hypr/config/kb_layouts/us.conf
|
||||||
source = ~/.config/hypr/config/appearance.conf
|
source = ~/.config/hypr/config/appearance.conf
|
||||||
source = ~/.config/hypr/config/plugins.conf
|
source = ~/.config/hypr/config/plugins.conf
|
||||||
#source = ~/.config/hypr/config/fast-mod.conf
|
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,6 @@
|
||||||
preload = ~/.config/hypr/images/wallpaper.jpg
|
wallpaper {
|
||||||
wallpaper = , ~/.config/hypr/images/wallpaper.jpg
|
monitor =
|
||||||
|
path = ~/.config/hypr/images/wallpaper.png
|
||||||
|
}
|
||||||
|
|
||||||
|
splash = false
|
||||||
|
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 887 KiB |
BIN
.config/hypr/images/wallpaper.png
Normal file
BIN
.config/hypr/images/wallpaper.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 598 KiB |
21
.config/hypr/scripts/sharp_mode.sh
Executable file
21
.config/hypr/scripts/sharp_mode.sh
Executable file
|
|
@ -0,0 +1,21 @@
|
||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
# Disables animations accros the desktop (as well as some other tweaks)
|
||||||
|
# Similar to game mode but with the goal to enhance productivity
|
||||||
|
# From Hyprland documentation - https://wiki.hyprland.org/0.41.2/Configuring/Uncommon-tips--tricks/#toggle-animationsbluretc-hotkey
|
||||||
|
|
||||||
|
HYPRGAMEMODE=$(hyprctl getoption animations:enabled | awk 'NR==1{print $2}')
|
||||||
|
if [ "$HYPRGAMEMODE" = 1 ] ; then
|
||||||
|
hyprctl --batch "\
|
||||||
|
keyword animations:enabled 0;\
|
||||||
|
keyword general:gaps_in 0;\
|
||||||
|
keyword general:gaps_out 0;\
|
||||||
|
keyword general:border_size 1;\
|
||||||
|
keyword decoration:rounding 0"
|
||||||
|
hyprctl notify 1 2000 0 "Enabled Sharp mode"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
hyprctl reload
|
||||||
|
# ~/.config/hypr/scripts/restore-waybar.sh
|
||||||
|
hyprctl notify 1 2000 0 "Disabled Sharp mode"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue