update hypr config

This commit is contained in:
Hydroxycarbamide 2025-02-06 17:18:27 +01:00
parent c006891022
commit d39fc4a8c9
Signed by: Siklos
GPG key ID: C06D07D96997549A
8 changed files with 93 additions and 31 deletions

View file

@ -9,7 +9,7 @@ general {
layout = master
allow_tearing = false
allow_tearing = true
}
group {
@ -46,11 +46,18 @@ decoration {
active_opacity = 1.00
inactive_opacity = 1.00
drop_shadow = 1
# shadow_range = 20
# shadow_render_power = 2
# shadow_ignore_window = 1
# shadow_offset = 8 8
shadow {
enabled = true
# range = 20
# render_power = 2
# ignore_window = 1
# offset = 8 8
range = 10
render_power = 2
ignore_window = 1
color = 0x66000000
color_inactive = 0x00000000
}
# dim_inactive = true
dim_strength = 0.1
@ -61,11 +68,6 @@ decoration {
# blurls = swayosd
# blurls = gtk-layer-shell
shadow_range = 10
shadow_render_power = 2
shadow_ignore_window = 1
col.shadow = 0x66000000
col.shadow_inactive = 0x00000000
}
animations {
@ -92,13 +94,11 @@ animations {
dwindle {
pseudotile = true # enable pseudotiling on dwindle
no_gaps_when_only = 0
}
master {
always_center_master = false
mfact = 0.55
no_gaps_when_only = 0
new_status = master
}
@ -106,7 +106,7 @@ misc {
disable_hyprland_logo = true
disable_splash_rendering = true
# force_hypr_chan = true
vrr = 2
vrr = 0
# vfr = true
# animate_mouse_windowdragging = true

View file

@ -8,7 +8,8 @@ bindm = $mod, mouse:273, resizewindow
# hyprctl / misc dispatchers
bind = $mod SHIFT, R, exec, hyprctl reload
bind = $mod SHIFT, Q, exit,
bind = $mod, Q, exec, rofi -show power-menu -modi power-menu:rofi-power-menu
# bind = $mod, Q, exec, rofi -show power-menu -modi power-menu:rofi-power-menu
bind = $mod, Q, exec, wlogout -p layer-shell
bind = $mod, C, killactive,
# screenshot
@ -166,7 +167,11 @@ bind = $mod SHIFT, period, movewindow, mon:+1
# bind = $mod, M, exec, /home/eric/.local/bin/pypr toggle_minimized
# bind = $mod SHIFT, M, togglespecialworkspace, minimized
# bind = $mod, Tab, exec, /home/eric/.local/bin/pypr expose
# bind = $mod SHIFT, W, exec, pypr expose
bind = $mod SHIFT, V, exec, pypr toggle volume
bind = $mod, S, exec, pypr toggle term
bind = $mod, O, exec, pypr toggle obsidian
bind = $mod SHIFT, O, exec, pypr toggle logseq
# bind = $mod SHIFT, W, togglespecialworkspace, exposed
# hycov

View file

@ -1,23 +1,26 @@
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
# exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=hyprland
# exec-once = dbus-update-activation-environment --systemd --all
exec-once = hyprpaper &
exec-once = waybar &
exec-once = swaync &
# exec-once = transmission-daemon
# exec-once = fcitx5
exec-once = /usr/lib/kdeconnectd &
exec-once = kdeconnectd &
exec-once = kdeconnect-indicator &
# exec-once = /home/eric/.local/bin/pypr &
exec-once = pypr &
exec-once = swayosd-server &
# exec-once = eww daemon
exec-once = nm-applet
exec-once=hyprctl setcursor Qogir-dark 24
exec-once = swayidle before-sleep 'loginctl lock-session' lock 'swaylock'
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 = systemctl start --user foot-server
exec-once = systemctl start --user sunshine
exec-once = sunshine &
# exec-once = systemctl start --user gammastep
# exec-once = flatpak run me.kozec.syncthingtk -m &
# exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
exec-once = /usr/lib/polkit-kde-authentication-agent-1 &
exec-once = waybar &
exec-once = hyprpm reload -n

View file

@ -1,5 +1,5 @@
preload = $XDG_PICTURES_DIR/wallpapers/ayaka.png
preload = /home/eric/Pictures/wallpapers/ayaka.png
wallpaper = DP-1,$XDG_PICTURES_DIR/wallpapers/ayaka.png
wallpaper = HDMI-A-1,$XDG_PICTURES_DIR/wallpapers/ayaka.png
wallpaper = DP-1,/home/eric/Pictures/wallpapers/ayaka.png
wallpaper = HDMI-A-1,/home/eric/Pictures/wallpapers/ayaka.png

View file

@ -18,6 +18,12 @@ input {
force_no_accel = true
}
device {
name = wacom-intuos-s-pen
active_area_position = 0, 0
# active_area_size = 132, 74
}
gestures {
workspace_swipe = true
workspace_swipe_forever = false

View file

@ -0,0 +1,48 @@
[pyprland]
plugins = [
"scratchpads",
"lost_windows",
"monitors",
"toggle_dpms",
"magnify",
"expose",
"shift_monitors",
]
[monitors.placement]
"AOC".rightOf = "ViewSonic"
[workspaces_follow_focus]
max_workspaces = 8
[expose]
include_special = false
[scratchpads.term]
animation = "fromTop"
command = "foot -a foot-dropterm"
class = "foot-dropterm"
size = "75% 60%"
[scratchpads.obsidian]
animation = "fromTop"
command = "obsidian"
class = "obsidian"
size = "80% 80%"
[scratchpads.logseq]
animation = "fromTop"
command = "flatpak run com.logseq.Logseq"
match_by = "class"
class = "Logseq"
size = "80% 80%"
# process_tracking = false
class_match = true
[scratchpads.volume]
animation = "fromRight"
command = "pavucontrol"
class = "org.pulseaudio.pavucontrol"
lazy = true
size = "40% 90%"
unfocus = "hide"

View file

@ -15,17 +15,16 @@ layerrule = blur, lockscreen
# window rules
# for windows named/classed as abc and xyz
windowrulev2 = float, class:^(floating-foot)$
windowrulev2 = float, class:^(.*nextcloud.*)$
windowrulev2 = float, class:^(org.kde.ark)$
windowrulev2 = stayfocused, class:^(.*nextcloud.*)$
windowrulev2 = center, class:^(floating-foot)$
windowrulev2 = pin, class:^(floating-foot)$
windowrulev2 = float, title:^(Move files)$
# windowrulev2 = float, title:^(Move files)$
windowrulev2 = center, title:^(Move files)$
# windowrulev2 = stayfocused, title:^()$,class:^(steam)$
# windowrulev2 = minsize 1 1, title:^()$,class:^(steam)$
# windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
windowrulev2 = fullscreen, class:^(genshinimpact.exe|starrail.exe|zenlesszonezero.exe)$
windowrulev2 = fullscreenstate 3, class:^(genshinimpact.exe|starrail.exe|zenlesszonezero.exe)$
# transparency
windowrulev2 = opacity 1.0 override 0.9 override, class:^(kitty|foot|footclient|floating-foot|VSCodium|Code|neovide)$
@ -34,17 +33,17 @@ windowrulev2 = opacity 1.0 override 0.9 override, class:^(kitty|foot|footclient|
windowrulev2 = workspace 1, class:^(kitty|foot|footclient)$
# 2 browser
windowrulev2 = workspace 2, class:^(mullvadbrowser|floorp|firefox*|Pulse Browser|librewolf*|LibreWolf*|org.qutebrowser.qutebrowser|chromium|thorium*|brave*|vivaldi*)
windowrulev2 = workspace 2, class:^(mullvadbrowser|zen-beta|floorp|firefox*|Pulse Browser|librewolf*|LibreWolf*|org.qutebrowser.qutebrowser|chromium|thorium*|brave*|vivaldi*)
# 3 files
windowrulev2 = workspace 3, class:^(thunar|org.qbittorrent.qBittorrent|org.kde.dolphin|pcmanfm-qt|deluge)$|^(org.gnome.Nautilus)$|^(org.gnome.NautilusDevel)$|^(nemo*)|fm-term
windowrulev2 = workspace 3, title:^Syncplay*
# 4 games, gaming
windowrulev2 = workspace 4, class:^(steam_app_*|osu\!|org.prismlauncher.PrismLauncher|steam_app_671860|com.usebottles.bottles|moe.launcher.an-anime-game-launcher|moe.launcher.the-honkers-railway-launcher|genshinimpact.exe|starrail.exe|zenlesszonezero.exe|trackma-*|cs2|csgo_linux64)$
windowrulev2 = workspace 4, class:^(steam_app_*|osu\!|org.prismlauncher.PrismLauncher|steam_app_671860|com.usebottles.bottles|moe.launcher.an-anime-game-launcher|moe.launcher.the-honkers-railway-launcher|genshinimpact.exe|starrail.exe|zenlesszonezero.exe|trackma-*|cs2|csgo_linux64|gamescope)$
# 5 code
windowrulev2 = workspace 5, class:^(VSCodium|org.remmina.Remmina|Code|Pixelorama)$
windowrulev2 = workspace 5, class:^(VSCodium|org.remmina.Remmina|Code|Pixelorama|rustdesk)$
# 6 media
windowrulev2 = workspace 6, class:^(mpv|Spotify)$
@ -53,4 +52,4 @@ windowrulev2 = workspace 6, class:^(mpv|Spotify)$
windowrulev2 = workspace 7, class:^(WebCord|discord|org.telegram.desktop|Signal|teams-for-linux)$
# 8 settings
windowrulev2 = workspace 8, class:^(sc-controller|pavucontrol)$
windowrulev2 = workspace 8, class:^(sc-controller|pavucontrol|org.pulseaudio.pavucontrol)$

View file

@ -8,6 +8,7 @@ workspace = 5, monitor:HDMI-A-1
workspace = 6, monitor:HDMI-A-1
workspace = 7, monitor:HDMI-A-1
workspace = 8, monitor:HDMI-A-1
workspace = special:exposed,gapsout:60,gapsin:30,bordersize:5,border:true,shadow:false
# With split plugins