add stuff

This commit is contained in:
2026-02-16 20:00:12 +01:00
parent 2fb3eb1f52
commit 0a4ff4c504
25 changed files with 2633 additions and 186 deletions

View File

@ -16,8 +16,8 @@
################
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=DP-2,3440x1440@144,auto,auto
monitor=DP-3,1920x1080,-1080x-550,1,transform,1
monitor=DP-1,3440x1440@144,auto,auto
monitor=DP-2,1920x1080,-1080x-550,1,transform,1
monitor=HDMI-A-1,3440x1440@144,auto,auto
@ -31,6 +31,8 @@ monitor=HDMI-A-1,3440x1440@144,auto,auto
$terminal = alacritty
$fileManager = nautilus --new-window
$browser = firefox
$launcher = vicinae toggle
# $launcher = tofi-drun | xargs hyprctl dispatch exec --
#################
@ -44,14 +46,17 @@ exec-once = hyprpaper
exec-once = hypridle
exec-once = systemctl --user start hyprpolkitagent
exec-once = dunst
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 = waybar
exec-once = darkman run
exec-once = vicinae server
# Open programs on special workspaces
exec-once = [ workspace special:term silent] $terminal
exec-once = [ workspace special:browser silent] $browser "https://web.whatsapp.com" "https://mail.google.com/mail/u/0/\##inbox/\##wasteside\##container-wasteside"
exec-once = [ workspace special:browser silent] $browser "ext+container:name=Meta&url=https://web.whatsapp.com" "ext+container:name=Wasteside&url=https://mail.google.com"
exec-once = [ workspace special:browser silent] gnome-calendar
exec-once = [ workspace special:music silent] $terminal -e spotify_player
exec-once = [ workspace special:music silent] $terminal -e wiremix
exec-once = [ workspace special:todo silent] clickup
exec-once = [ workspace special:files silent] $fileManager
exec-once = [ workspace special:files silent] localsend
@ -66,6 +71,9 @@ exec-once = ratbagctl list
exec-once = hyprpm enable Hyprspace
exec-once = hyprpm reload
# Custom scripts
exec-once = ~/code/ha-notifications/ha-notifications
#############################
### ENVIRONMENT VARIABLES ###
#############################
@ -74,10 +82,7 @@ exec-once = hyprpm reload
env = XCURSOR_SIZE,24
env = HYPRCURSOR_SIZE,24
env = LIBVA_DRIVER_NAME,nvidia
env = XDG_SESSION_TYPE,wayland
env = GBM_BACKEND,nvidia-drm
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = HYPRSHOT_DIR,/home/paul/screenshots
cursor {
@ -119,7 +124,7 @@ decoration {
active_opacity = 1.0
inactive_opacity = 1.0
dim_special = 0.9
dim_special = 0.7
# Deprecated v0.45 ?
# drop_shadow = true
@ -143,15 +148,16 @@ animations {
# Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
bezier = bz, 0.05, 0.9, 0.1, 1.05
animation = windows, 1, 7, myBezier
animation = windowsOut, 1, 7, default, popin 80%
animation = windows, 1, 4, bz
animation = windowsOut, 1, 4, default, popin 80%
animation = border, 1, 10, default
animation = borderangle, 1, 8, default
animation = fade, 1, 7, default
animation = workspaces, 1, 6, default
animation = specialWorkspaceIn, 1, 2, default
animation = workspaces, 1, 3, default
animation = specialWorkspace, 1, 2, default, fade
}
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
@ -169,6 +175,8 @@ master {
misc {
force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers
disable_hyprland_logo = true # If true disables the random hyprland logo / anime girl background. :(
close_special_on_empty = false
}
@ -183,14 +191,11 @@ input {
kb_model =
kb_options =
kb_rules =
numlock_by_default = true
follow_mouse = 2
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
touchpad {
natural_scroll = false
}
}
# https://wiki.hyprland.org/Configuring/Variables/#gestures
@ -205,6 +210,10 @@ device {
sensitivity = -0.5
}
binds {
hide_special_on_workspace_change = true
}
# cursor {
# no_warps = true
# }
@ -220,14 +229,15 @@ $mainMod = SUPER # Sets "Windows" key as main modifier
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, T, exec, $terminal
bind = $mainMod, B, exec, $browser
bind = $mainMod, Return, exec, tofi-drun | xargs hyprctl dispatch exec --
bind = $mainMod, Return, exec, $launcher
bind = $mainMod, Q, killactive,
bind = $mainMod, F, fullscreen,
bind = $mainMod, M, splitratio, exact 0.6,
bind = $mainMod, mouse_down, splitratio, 0.1
bind = $mainMod, mouse_up, splitratio, -0.1
bind = $mainMod, E, exec, $fileManager
bind = $mainMod, V, exec, cliphist list | tofi | cliphist decode | wl-copy
# bind = $mainMod, V, exec, cliphist list | tofi | cliphist decode | wl-copy
bind = $mainMod, V, exec, vicinae vicinae://extensions/vicinae/clipboard/history
bind = $mainMod, X, togglefloating,
bind = $mainMod, P, pin, active
bind = $mainMod, J, togglesplit, # dwindle
@ -250,7 +260,7 @@ bind = $mainMod SHIFT, right, movewindow, r
bind = $mainMod SHIFT, up, movewindow, u
bind = $mainMod SHIFT, down, movewindow, d
# Switch workspaces of primary monitor with mainMod + [1-9]
# Switch workspaces of primary monitor with mainMod + [1-7]
bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3
@ -260,7 +270,7 @@ bind = $mainMod, 6, workspace, 6
bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8
# Switch workspaces of secondary monitor with mainMod + [F1-9]
# Switch workspaces of secondary monitor with mainMod + [F1-7]
bind = $mainMod, F1, workspace, 11
bind = $mainMod, F2, workspace, 12
bind = $mainMod, F3, workspace, 13
@ -268,9 +278,8 @@ bind = $mainMod, F4, workspace, 14
bind = $mainMod, F5, workspace, 15
bind = $mainMod, F6, workspace, 16
bind = $mainMod, F7, workspace, 17
bind = $mainMod, F8, workspace, 18
# Move active window to a workspace with mainMod + SHIFT + [1-9] (primary monitor)
# Move active window to a workspace with mainMod + SHIFT + [1-7] (primary monitor)
bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3
@ -279,7 +288,7 @@ bind = $mainMod SHIFT, 5, movetoworkspace, 5
bind = $mainMod SHIFT, 6, movetoworkspace, 6
bind = $mainMod SHIFT, 7, movetoworkspace, 7
# Move active window to a workspace with mainMod + SHIFT + [F1-F9] (secondary monitor)
# Move active window to a workspace with mainMod + SHIFT + [F1-F7] (secondary monitor)
bind = $mainMod SHIFT, F1, movetoworkspace, 11
bind = $mainMod SHIFT, F2, movetoworkspace, 12
bind = $mainMod SHIFT, F3, movetoworkspace, 13
@ -289,14 +298,20 @@ bind = $mainMod SHIFT, F6, movetoworkspace, 16
bind = $mainMod SHIFT, F7, movetoworkspace, 17
# Special workspaces (scratchpad)
# Special workspaces should only be opened on the primary monitor.
bind = $mainMod, F12, focusmonitor, DP-1
bind = $mainMod, F12, togglespecialworkspace, term
bind = $mainMod SHIFT, F12, movetoworkspace, special:term
bind = $mainMod, F11, focusmonitor, DP-1
bind = $mainMod, F11, togglespecialworkspace, browser
bind = $mainMod SHIFT, F11, movetoworkspace, special:browser
bind = $mainMod, F10, focusmonitor, DP-1
bind = $mainMod, F10, togglespecialworkspace, music
bind = $mainMod SHIFT, F10, movetoworkspace, special:music
bind = $mainMod, F9, focusmonitor, DP-1
bind = $mainMod, F9, togglespecialworkspace, todo
bind = $mainMod SHIFT, F9, movetoworkspace, special:todo
bind = $mainMod, F8, focusmonitor, DP-1
bind = $mainMod, F8, togglespecialworkspace, files
bind = $mainMod SHIFT, F8, movetoworkspace, special:files
@ -314,8 +329,8 @@ bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 10%-
# Requires playerctl
bindl = , XF86AudioNext, exec, playerctl next
bindl = , XF86AudioPause, exec, playerctl play-pause
bindl = , XF86AudioPlay, exec, playerctl play-pause
bindl = , XF86AudioPause, exec, playerctl play-pause -a
bindl = , XF86AudioPlay, exec, playerctl play-pause -a
bindl = , XF86AudioPrev, exec, playerctl previous
##############################
@ -326,49 +341,103 @@ bindl = , XF86AudioPrev, exec, playerctl previous
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
# Ignore maximize requests from apps. You'll probably like this.
windowrulev2 = suppressevent maximize, class:.*
windowrule = match:class .*, suppress_event maximize
# Fix some dragging issues with XWayland
windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
# windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
# Window rules to assign windows to workspaces
windowrulev2 = float,title:^(.*Extension: Bitwarden.*)$
windowrule = match:title ^(.*Extension: Bitwarden.*)$, float 1
# Always center ClickUp command bar
windowrulev2 = center, title:ClickUp Command Bar
windowrule = match:title ClickUp Command Bar, center 1
# Dont use floating mode for freerdp
windowrulev2 = tile, class:xfreerdp
windowrule = match:class ^(xfreerdp)$, tile 1
# Open audio settings in floating mode
windowrulev2 = float, class:org.pulseaudio.pavucontrol
windowrulev2 = size 500 1000, class:org.pulseaudio.pavucontrol
windowrulev2 = move 2841 61, class:org.pulseaudio.pavucontrol
windowrulev2 = pin, class:org.pulseaudio.pavucontrol
windowrule = match:class org.pulseaudio.pavucontrol, float 1, size 500 1000, move 2841 61, pin 1
# Same for bluetooth settings
windowrulev2 = float, initialTitle:overskride
windowrulev2 = size 765 765, initialTitle:overskride
windowrulev2 = move 2653 44, initialTitle:overskride
windowrulev2 = pin, initialTitle:overskride
windowrule = match:title overskride, float 1, size 765 765, move 2653 44, pin 1
# Change border color of pinned windows
windowrulev2 = bordercolor rgb(CC34A4) rgb(4B2D70), pinned:1
windowrule = match:pin 1, border_color rgb(CC34A4) rgb(4B2D70)
# Share Picker is always floating
windowrule = match:class com.paulaumann.hyprland-share-picker, float 1, center 1
# Waydroid is always floating and exact size
windowrule {
name = "waydroid"
match:initial_class = Waydroid
float = 1
size = 576 1024
}
# Vicinae is always floating and exact size
windowrule {
name = "vicinae"
match:initial_class = vicinae-server
float = 1
pin = 1
stay_focused = on
dim_around = on
no_anim = on
}
# Notification animation style
layerrule = animation slide, notifications
layerrule = match:namespace notifications, animation slide
# Fixes black border around screenshots due to animation after selection
layerrule {
name = no_anim_for_selection
match:namespace = selection
no_anim = on
}
# Blur behind certain layers
layerrule {
name = blur_waybar
match:namespace = waybar
blur = on
}
layerrule {
name = blur_tofi
match:namespace = launcher
blur = on
}
# layerrule {
# name = blur_vicinae
# match:namespace = vicinae
# blur = on
# ignore_alpha = on
# dim_around = on
# }
# layerrule {
# name = no_animation_for_vicinae
# match:namespace = vicinae
# no_anim = on
# }
# Workspace rules to assign workspaces to monitors
workspace = 1, monitor:DP-2, default:true
workspace = 2, monitor:DP-2
workspace = 3, monitor:DP-2
workspace = 4, monitor:DP-2
workspace = 5, monitor:DP-2
workspace = 11, monitor:DP-3, default:true
workspace = 12, monitor:DP-3
workspace = 13, monitor:DP-3
workspace = 14, monitor:DP-3
workspace = 15, monitor:DP-3
workspace = 1, monitor:DP-1, default:true
workspace = 2, monitor:DP-1
workspace = 3, monitor:DP-1
workspace = 4, monitor:DP-1
workspace = 5, monitor:DP-1
workspace = 11, monitor:DP-2, default:true
workspace = 12, monitor:DP-2
workspace = 13, monitor:DP-2
workspace = 14, monitor:DP-2
workspace = 15, monitor:DP-2
workspace = special:music, gapsout:40 1800 50 50
workspace = special:music, monitor:DP-2
workspace = special:term, gapsout:64
workspace = special:browser, gapsout:64
workspace = special:music, gapsout:64
workspace = special:todo, gapsout:64
workspace = special:files, gapsout:64

View File

@ -1,2 +1,13 @@
preload = ~/.config/hypr/img/gnome-background.webp
wallpaper = , ~/.config/hypr/img/gnome-background.webp
wallpaper {
monitor = DP-1
path = ~/.config/hypr/img/gnome-background.webp
fit_mode = cover
}
wallpaper {
monitor = DP-2
path = ~/.config/hypr/img/gnome-background.webp
fit_mode = cover
}
splash = false