desktop changes

This commit is contained in:
2025-10-04 21:49:36 +01:00
parent c8d0b25409
commit 002ed7568b
7 changed files with 148 additions and 153 deletions
+92 -87
View File
@@ -1,7 +1,6 @@
# Startup
exec-once= bash -c "wl-paste --watch cliphist store &"
exec-once= fcitx5 -d
exec-once= wl-paste -p --watch wl-copy -p ''
exec-once= dms run # DankShell
# Monitors
@@ -43,12 +42,12 @@ $shadow=rgba(1a1a1aee)
animations {
bezier=myBezier, 0.05, 0.9, 0.1, 1.05
animation=windows, 1, 7, myBezier
animation=windowsOut, 1, 7, default, popin 80%
animation=border, 1, 10, default
animation=borderangle, 1, 8, default
animation=fade, 1, 7, default
animation=workspaces, 1, 6, default
animation=windows, 1, 6, myBezier
animation=windowsOut, 1, 6, default, popin 80%
animation=border, 1, 8, default
animation=borderangle, 1, 6, default
animation=fade, 1, 6, default
animation=workspaces, 1, 3, default
enabled=true
}
@@ -131,59 +130,55 @@ misc {
# Plugin Config
plugin {
hyprexpo {
columns = 3
gap_size = 3
bg_col = $expo_bg
workspace_method = center current # [center/first] [workspace] e.g. first 1 or center m+1
enable_gesture = true # laptop touchpad
gesture_fingers = 3 # 3 or 4
gesture_distance = 300 # how far is the "max"
gesture_positive = false # true = swipe down, false = swipe up.
}
}
# plugin {
# hyprexpo {
# columns = 3
# gap_size = 3
# bg_col = $expo_bg
# workspace_method = center current # [center/first] [workspace] e.g. first 1 or center m+1
#
# enable_gesture = true # laptop touchpad
# gesture_fingers = 3 # 3 or 4
# gesture_distance = 300 # how far is the "max"
# gesture_positive = false # true = swipe down, false = swipe up.
# }
# }
# Window Rules
windowrule=idleinhibit fullscreen, class:firefox
windowrule=idleinhibit fullscreen, class:floorp
windowrule=idleinhibit fullscreen, class:ghostty
windowrule=idleinhibit focus, class:firefox
windowrule=idleinhibit focus, class:floorp
windowrule=idleinhibit focus, class:mpv
windowrule=idleinhibit focus, class:^(emacs)$
windowrule=idleinhibit focus, class:^(Emacs)$
windowrule=idleinhibit focus, class:^(discord)$
windowrule=idleinhibit focus, class:^(spotify)$
windowrule=idleinhibit focus, class:^(Discord|discord)$
windowrule=opacity 0.98 0.9, class:^(Discord|discord)$
windowrule=float, class:polkit-kde-authentication-agent-1
windowrule=float, class:^(praat)$
windowrule=float, class:^(steam)$, title:^(Friends List)$
windowrule=float, class:^(network)$
windowrule=float, class:^(nm-)$
windowrule=float, class:^(Network)$
windowrule=float, class:Rofi
windowrule=float, class:Gimp
windowrule=float, class:Nautilus
windowrule=float, class:notification
windowrule=float, class:^(launcher)$
windowrule=tile, class:Spotify
windowrule=tile, title:Minecraft
windowrule=workspace name:game, class:^(steam)$
windowrule=workspace name:shell, class:^(KeePassXC)$
windowrule=workspace name:browser, class:^(firefox)$
windowrule=workspace name:browser, class:^(floorp)$
windowrule=workspace name:browser, class:^(Brave.*)$
windowrule=workspace name:music, class:^(Spotify)$
windowrule=workspace name:chat, class:^(discord)$
windowrule=workspace name:chat, class:^(Signal)$
windowrule=workspace name:game, title:Minecraft
windowrule = idleinhibit fullscreen, class:firefox
windowrule = idleinhibit fullscreen, class:floorp
windowrule = idleinhibit fullscreen, class:ghostty
windowrule = idleinhibit focus, class:firefox
windowrule = idleinhibit focus, class:floorp
windowrule = idleinhibit focus, class:mpv
windowrule = idleinhibit focus, class:^(emacs)$
windowrule = idleinhibit focus, class:^(Emacs)$
windowrule = idleinhibit focus, class:^(discord)$
windowrule = idleinhibit focus, class:^(spotify)$
windowrule = idleinhibit focus, class:^(Discord|discord)$
windowrule = opacity 0.98 0.9, class:^(Discord|discord)$
windowrule = float, class:polkit-kde-authentication-agent-1
windowrule = float, class:^(praat)$
windowrule = float, class:^(network)$
windowrule = float, class:^(nm-)$
windowrule = float, class:^(Network)$
windowrule = float, class:Rofi
windowrule = float, class:Gimp
windowrule = float, class:Nautilus
windowrule = float, title:^(LmDev-.*)$
windowrule = float, class:notification
windowrule = float, class:^(Genymotion Player)$
windowrule = float, class:^(launcher)$
windowrule = tile, class:Spotify
windowrule = tile, title:Minecraft
windowrule = workspace 2, class:KeePassXC
windowrule = workspace 3, class:firefox
windowrule = workspace 3, class:floorp
windowrule = workspace 4, class:Spotify
windowrule = workspace 6, class:discord
windowrule = workspace 6, class:Signal
windowrule = workspace 10, title:Minecraft
# Workspace Rules
workspace=name:game, monitor:DP-1
@@ -194,7 +189,8 @@ workspace=name:program, monitor:DP-1, default:true
workspace=name:extra, monitor:DP-1
# Commands
$lock=hyprlock
# $lock=hyprlock
$lock=dms ipc call lock lock
$screenshotarea=hyprctl keyword animation 'fadeOut,0,0,default'; grimblast copy area; hyprctl keyword animation 'fadeOut,1,4,default'
$discord=discord --enable-blink-features=MiddleClickAutoscroll
$emacs=emacsclient -c -a 'emacs'
@@ -210,24 +206,34 @@ $mainMod=SUPER
# Binds :: Programs
$none=
# :Meta-Bind: :Key: :Command: :Args:
bind=$altMod, Return, exec, ghostty
bind=$altMod SHIFT, Return, exec, alacritty
bind=$mainMod SHIFT, D, exec, $discord
bind=$mainMod SHIFT, E, exec, $emacs
bind=$mainMod SHIFT, F, exec, focus-linux
bind=$mainMod, SPACE, exec, pkill wofi || wofi
bind=$mainMod, E, exec, nautilus
bind=$mainMod, S, exec, spotify
bind=$mainMod, P, exec, $colorpick
bind=$none, Print, exec, $screenshotarea
bind=SHIFT, Print, exec, $screenshot
bind=$mainMod CTRL, Q, exec, $lock
bind=$mainMod SHIFT, P, pseudo
bind=$mainMod, C, killactive
bind=$mainMod, V, togglefloating
bind=$mainMod SHIFT, S, togglesplit
bind=$mainMod, F4, exit
# :Meta-Bind: :Key: :Command: :Args:
bind=$altMod, Return, exec, ghostty
bind=$altMod SHIFT, Return, exec, foot
bind=$mainMod SHIFT, D, exec, discord --enable-blink-features=MiddleClickAutoscroll
bind=$mainMod SHIFT, E, exec, emacsclient -c -a 'emacs'
bind=$mainMode SHIFT, F, exec, focus-linux
bind=$mainMod, Space, exec, dms ipc call spotlight toggle
bind=$mainMod, E, exec, thunar
bind=$mainMod, S, exec, spotify
bind=$mainMod, P, exec, hyprpicker -a -f hex
bind=$none, Print, exec, $screenshotarea
bind=SHIFT, Print, exec, grimblast --cursor copy output
bind=$mainMod, X, exec, dms ipc call powermenu toggle
bind=$mainMod SHIFT, P, pseudo,
bind=$mainMod, C, killactive,
bind=$mainMod SHIFT, F, togglefloating,
bind=$mainMod SHIFT, S, togglesplit,
bind=$mainMod CTRL, Q, exec, $lock
bind=$mainMod, F4, exit,
bind=$mainMod, M, exec, dms ipc call processlist toggle
bind=$mainMod, I, exec, dms ipc call settings toggle
bind=$mainMod CTRL, P, exec, dms ipc call notepad toggle
bind=$mainMod CTRL, C, exec, dms ipc call control-center toggle
# Night mode toggle
bind=$mainMod, N, exec, dms ipc call notifications toggle
bind=$mainMod SHIFT, N, exec, dms ipc call night toggle
# bind = SUPER, grave, hyprexpo:expo, toggle # Commented out cos "version mismatch (bs)"
@@ -297,18 +303,17 @@ bindm=$mainMod, mouse:273, resizewindow
# Binds :: MultiMedia
$brightness=$NIX_CONFIG_DIR/scripts/progress-notify.sh brightness
$volume=$NIX_CONFIG_DIR/scripts/progress-notify.sh audio
$mute=$NIX_CONFIG_DIR/scripts/progress-notify.sh mute
bindl=$none, XF86AudioPlay, exec, playerctl play-pause
bindl=$none, XF86AudioNext, exec, playerctl next
bindl=$none, XF86AudioPrev, exec, playerctl previous
binde=$none, XF86MonBrightnessDown, exec, brightnessctl set 10%- && $brightness
binde=$none, XF86MonBrightnessUp, exec, brightnessctl set 10%+ && $brightness
bindel=, XF86AudioRaiseVolume, exec, pamixer -i 5 && $volume
bindel=, XF86AudioLowerVolume, exec, pamixer -d 5 && $volume
bindel=, XF86AudioMute, exec, pamixer -t && $mute
bindl=$none, XF86AudioPlay, exec, playerctl play-pause
bindl=$none, XF86AudioNext, exec, playerctl next
bindl=$none, XF86AudioPrev, exec, playerctl previous
bindl=$none, XF86AudioMute, exec, dms ipc call audio mute
bindl=$none, XF86AudioMicMute, exec, dms ipc call audio micmute
bindle=$none, XF86AudioRaiseVolume, exec, dms ipc call audio increment 3
bindle=$none, XF86AudioLowerVolume, exec, dms ipc call audio decrement 3
bindle=$none, XF86MonBrightnessUp, exec, dms ipc call brightness increment 5 ""
bindle=$none, XF86MonBrightnessDown, exec, dms ipc call brightness decrement 5 ""
# Binds :: Submaps