dms shell

This commit is contained in:
2025-10-03 13:57:32 +01:00
parent 127586a6a2
commit 8a1e40c3d0
19 changed files with 428 additions and 156 deletions
+71 -64
View File
@@ -1,12 +1,8 @@
# Startup
exec-once=dbus-update-activation-environment --systemd --all && systemctl --user stop hyprland-session.target && systemctl --user start hyprland-session.target
exec-once=wl-clipboard-history -t
exec-once=wl-paste -p --watch wl-copy -p ''
exec-once=hypridle
exec-once=waybar
exec-once=fcitx5 -d
exec-once=swww-daemon
exec-once=swaync
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
@@ -16,13 +12,11 @@ monitor=,preferred,auto,1,mirror,eDP-1
# Environment
env=WLR_NO_HARDWARE_CURSORS,1
env=HYPRCURSOR_THEME,Bibata-Modern-Ice
env=HYPRCURSOR_SIZE,24
env=XDG_CURRENT_DESKTOP,Hyprland
env=XDG_SESSION_TYPE,wayland
env=XDG_SESSION_DESKTOP,Hyprland
env=GTK_THEME,Materia-dark
env=QT_QPA_PLATFORM,wayland
env=XCURSOR_THEME,Bibata-Modern-Ice
env=XCURSOR_SIZE,24
@@ -49,12 +43,12 @@ $inactive_border=$gray
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
}
@@ -103,11 +97,6 @@ general {
layout=dwindle
}
gestures {
workspace_swipe=true
workspace_swipe_forever=true
}
input {
touchpad {
disable_while_typing=true
@@ -130,7 +119,7 @@ input {
misc {
disable_hyprland_logo=false
disable_splash_rendering=false
disable_splash_rendering=true
key_press_enables_dpms=true
mouse_move_enables_dpms=true
}
@@ -153,65 +142,76 @@ misc {
# 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:^(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 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
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, class:notification
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
# Binds
$altMod=ALT
$ctrlMod=CTRL
$lock=hyprlock
# $lock=hyprlock
$lock=dms ipc call lock lock
$mainMod=SUPER
$screenshotarea=hyprctl keyword animation 'fadeOut,0,0,default'; grimblast copy area; hyprctl keyword animation 'fadeOut,1,4,default'
# Binds :: Programs
bind=$altMod, Return, exec, ghostty
bind=$altMod SHIFT, Return, exec, alacritty
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, pkill fuzzel || fuzzel
bind=$mainMod, E, exec, nautilus
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=, 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, V, togglefloating,
bind=$mainMod SHIFT, F, togglefloating,
bind=$mainMod SHIFT, S, togglesplit,
bind=$mainMod control, Q, exec, $lock
bind=$mainMod CTRL, Q, exec, $lock
bind=$mainMod, F4, exit,
bind = SUPER, 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)"
@@ -268,15 +268,18 @@ bindm=$mainMod, mouse:273, resizewindow
# Binds :: MultiMedia
binde=, XF86MonBrightnessDown, exec, brightnessctl set 10%- && $NIX_CONFIG_DIR/scripts/progress-notify.sh brightness
binde=, XF86MonBrightnessUp, exec, brightnessctl set 10%+ && $NIX_CONFIG_DIR/scripts/progress-notify.sh brightness
bindel=, XF86AudioRaiseVolume, exec, pamixer -i 5 && $NIX_CONFIG_DIR/scripts/progress-notify.sh audio
bindel=, XF86AudioLowerVolume, exec, pamixer -d 5 && $NIX_CONFIG_DIR/scripts/progress-notify.sh audio
bindel=, XF86AudioMute, exec, pamixer -t && $NIX_CONFIG_DIR/scripts/progress-notify.sh mute
bindl=, XF86AudioPlay, exec, playerctl play-pause
bindl=, XF86AudioNext, exec, playerctl next
bindl=, XF86AudioPrev, exec, playerctl previous
bindl=, XF86AudioMute, exec, dms ipc call audio mute
bindl=, XF86AudioMicMute, exec, dms ipc call audio micmute
bindle=, XF86AudioRaiseVolume, exec, dms ipc call audio increment 3
bindle=, XF86AudioLowerVolume, exec, dms ipc call audio decrement 3
bindle=, XF86MonBrightnessUp, exec, dms ipc call brightness increment 5 ""
bindle=, XF86MonBrightnessDown, exec, dms ipc call brightness decrement 5 ""
# Binds :: Submaps
bind = $mainMod, R, submap, resize
@@ -330,3 +333,7 @@ bind = , V, submap, reset
bind=, escape,submap,reset
submap = reset
# Gestures
gesture = 3, horizontal, workspace