From 2df77931dcd8c850c21f20596e8874f9e79695b6 Mon Sep 17 00:00:00 2001 From: Liam Malone Date: Sat, 4 Oct 2025 22:55:18 +0100 Subject: [PATCH] update per-host configs (darp8 dms and hypr) --- configs/dms-darp8/settings.json | 161 ++++++++++++++ configs/hypr-darp8/hypridle.conf | 33 +++ configs/hypr-darp8/hyprland.conf | 340 ++++++++++++++++++++++++++++++ configs/hypr-darp8/hyprlock.conf | 65 ++++++ configs/hypr-darp8/hyprpaper.conf | 5 + hosts/darp8/file.nix | 4 +- 6 files changed, 606 insertions(+), 2 deletions(-) create mode 100644 configs/dms-darp8/settings.json create mode 100644 configs/hypr-darp8/hypridle.conf create mode 100644 configs/hypr-darp8/hyprland.conf create mode 100644 configs/hypr-darp8/hyprlock.conf create mode 100644 configs/hypr-darp8/hyprpaper.conf diff --git a/configs/dms-darp8/settings.json b/configs/dms-darp8/settings.json new file mode 100644 index 0000000..81932c4 --- /dev/null +++ b/configs/dms-darp8/settings.json @@ -0,0 +1,161 @@ +{ + "currentThemeName": "dynamic", + "customThemeFile": "", + "matugenScheme": "scheme-fidelity", + "dankBarTransparency": 0, + "dankBarWidgetTransparency": 1, + "popupTransparency": 1, + "dockTransparency": 1, + "use24HourClock": true, + "useFahrenheit": false, + "nightModeEnabled": false, + "weatherLocation": "Dublin, Leinster", + "weatherCoordinates": "53.3493795,-6.2605593", + "useAutoLocation": false, + "weatherEnabled": true, + "showLauncherButton": true, + "showWorkspaceSwitcher": true, + "showFocusedWindow": true, + "showWeather": true, + "showMusic": true, + "showClipboard": true, + "showCpuUsage": true, + "showMemUsage": true, + "showCpuTemp": true, + "showGpuTemp": true, + "selectedGpuIndex": 0, + "enabledGpuPciIds": [], + "showSystemTray": true, + "showClock": true, + "showNotificationButton": true, + "showBattery": true, + "showControlCenterButton": true, + "controlCenterShowNetworkIcon": true, + "controlCenterShowBluetoothIcon": true, + "controlCenterShowAudioIcon": true, + "controlCenterWidgets": [ + { + "id": "volumeSlider", + "enabled": true, + "width": 50 + }, + { + "id": "brightnessSlider", + "enabled": true, + "width": 50 + }, + { + "id": "wifi", + "enabled": true, + "width": 50 + }, + { + "id": "bluetooth", + "enabled": true, + "width": 50 + }, + { + "id": "audioOutput", + "enabled": true, + "width": 50 + }, + { + "id": "audioInput", + "enabled": true, + "width": 50 + }, + { + "id": "nightMode", + "enabled": true, + "width": 50 + }, + { + "id": "darkMode", + "enabled": true, + "width": 50 + } + ], + "showWorkspaceIndex": false, + "showWorkspacePadding": false, + "showWorkspaceApps": false, + "maxWorkspaceIcons": 3, + "workspacesPerMonitor": true, + "workspaceNameIcons": {}, + "waveProgressEnabled": true, + "clockCompactMode": false, + "focusedWindowCompactMode": false, + "runningAppsCompactMode": true, + "runningAppsCurrentWorkspace": true, + "clockDateFormat": "", + "lockDateFormat": "", + "mediaSize": 1, + "dankBarLeftWidgets": [ + "launcherButton", + "workspaceSwitcher", + "focusedWindow" + ], + "dankBarCenterWidgets": [ + "music", + "clock", + "weather" + ], + "dankBarRightWidgets": [ + "systemTray", + "clipboard", + "cpuUsage", + "memUsage", + "notificationButton", + "battery", + "controlCenterButton" + ], + "appLauncherViewMode": "list", + "spotlightModalViewMode": "grid", + "networkPreference": "auto", + "iconTheme": "System Default", + "useOSLogo": false, + "osLogoColorOverride": "", + "osLogoBrightness": 0.5, + "osLogoContrast": 1, + "fontFamily": "FiraCode Nerd Font Med", + "monoFontFamily": "Fira Code", + "fontWeight": 400, + "fontScale": 1, + "notepadUseMonospace": true, + "notepadFontFamily": "", + "notepadFontSize": 14, + "notepadShowLineNumbers": true, + "notepadTransparencyOverride": -1, + "notepadLastCustomTransparency": 0.7, + "gtkThemingEnabled": false, + "qtThemingEnabled": false, + "showDock": false, + "dockAutoHide": false, + "dockGroupByApp": false, + "dockOpenOnOverview": false, + "dockPosition": 1, + "dockSpacing": 4, + "dockBottomGap": 0, + "cornerRadius": 10, + "notificationOverlayEnabled": false, + "dankBarAutoHide": false, + "dankBarOpenOnOverview": false, + "dankBarVisible": true, + "dankBarSpacing": 3, + "dankBarBottomGap": 0, + "dankBarInnerPadding": 4, + "dankBarSquareCorners": false, + "dankBarNoBackground": false, + "dankBarGothCornersEnabled": false, + "dankBarPosition": 0, + "lockScreenShowPowerActions": true, + "hideBrightnessSlider": false, + "widgetBackgroundColor": "sch", + "surfaceBase": "s", + "notificationTimeoutLow": 5000, + "notificationTimeoutNormal": 5000, + "notificationTimeoutCritical": 0, + "notificationPopupPosition": 0, + "screenPreferences": {}, + "pluginSettings": {}, + "animationSpeed": 2 +} \ No newline at end of file diff --git a/configs/hypr-darp8/hypridle.conf b/configs/hypr-darp8/hypridle.conf new file mode 100644 index 0000000..409d0a9 --- /dev/null +++ b/configs/hypr-darp8/hypridle.conf @@ -0,0 +1,33 @@ +general { + after_sleep_cmd=hyprctl dispatch dpms on + before_sleep_cmd=loginctl lock-session + lock_cmd=pidof hyprlock || hyprlock +} + +listeners { + on-resume=brightnessctl -r + on-timeout=brightnessctl -s set 10 + timeout=120 +} + +listeners { + on-resume=brightnessctl -rd rgb:kbd_backlight + on-timeout=brightnessctl -sd rgb:kbd_backlight set 0 + timeout=120 +} + +listeners { + on-timeout=loginctl lock-session + timeout=180 +} + +listeners { + on-resume=hyprctl dispatch dpms on + on-timeout=hyprctl dispatch dpms off + timeout=300 +} + +listeners { + on-timeout=systemctl suspend + timeout=300 +} diff --git a/configs/hypr-darp8/hyprland.conf b/configs/hypr-darp8/hyprland.conf new file mode 100644 index 0000000..1cae6a7 --- /dev/null +++ b/configs/hypr-darp8/hyprland.conf @@ -0,0 +1,340 @@ +# Startup +exec-once= bash -c "wl-paste --watch cliphist store &" +exec-once= fcitx5 -d +exec-once= dms run # DankShell + +# Monitors + +monitor=eDP-1,1920x1080@60,0x0,1 +monitor=HDMI-A-1,2560x1440@144,auto,1,mirror,eDP-1 +monitor=,preferred,auto,1,mirror,eDP-1 + +# Environment + +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=QT_QPA_PLATFORM,wayland +env=XCURSOR_THEME,Bibata-Modern-Ice +env=XCURSOR_SIZE,24 + +# Colors +$green=rgb(00BB00) +$gray=rgb(555555) +$purple=rgb(BB00BB) +$lavendar=rgb(B39DF3) +$orange=rgb(F39660) + +$lightgreen=rgb(93C863) +$lightblue=rgb(76CCE0) + +$magenta=rgba(881798FF) +$crimson=rgba(471520FF) + + +# USED COLORS +$active_border=$lightgreen +$inactive_border=$gray +# $expo_bg=$active_border + + +animations { + bezier=myBezier, 0.05, 0.9, 0.1, 1.05 + 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 +} + +debug { + disable_logs=true +} + +decoration { + blur { + enabled=true + new_optimizations=on + passes=1 + size=3 + xray=true + } + + shadow { + color=rgba(1a1a1aee) + enabled=true + range=4 + render_power=3 + } + rounding=10 +} + +dwindle { + preserve_split=true + pseudotile=true +} + +ecosystem { + no_donation_nag=true + no_update_news=true +} + +experimental { + xx_color_management_v4=true +} + +general { + border_size=2 + col.active_border=$active_border + col.inactive_border=$inactive_border + gaps_in=2 + gaps_out=4 + layout=dwindle +} + +input { + touchpad { + disable_while_typing=true + drag_lock=false + middle_button_emulation=true + natural_scroll=true + scroll_factor=0.500000 + tap-to-click=true + } + + follow_mouse=1 + kb_layout=us + kb_model= + kb_options= + kb_rules= + kb_variant= + numlock_by_default=true + sensitivity=0 +} + +misc { + disable_hyprland_logo=false + disable_splash_rendering=true + key_press_enables_dpms=true + mouse_move_enables_dpms=true +} + +# 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. +# } +# } + +# 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, 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 + + +# Binds + +$altMod=ALT +$ctrlMod=CTRL +# $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, 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=, 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 = 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)" + +# Binds :: Navigation + +bind=$mainMod, F, fullscreen, +bind=$mainMod, H, movefocus, l +bind=$mainMod, L, movefocus, r +bind=$mainMod, K, movefocus, u +bind=$mainMod, J, movefocus, d +bind=$mainMod, comma, focusmonitor, -1 +bind=$mainMod, period, focusmonitor, +1 +bind=$mainMod SHIFT, H, movewindow, l +bind=$mainMod SHIFT, L, movewindow, r +bind=$mainMod SHIFT, K, movewindow, u +bind=$mainMod SHIFT, J, movewindow, d +bind=$mainMod SHIFT, comma, movecurrentworkspacetomonitor, -1 +bind=$mainMod SHIFT, period, movecurrentworkspacetomonitor, +1 +bind=$mainMod, right, resizeactive, 10 0 +bind=$mainMod, left, resizeactive, -10 0 +bind=$mainMod, up, resizeactive, 0 -10 +bind=$mainMod, down, resizeactive, 0 10 +bind=$mainMod, 1, workspace, 1 +bind=$mainMod, 2, workspace, 2 +bind=$mainMod, 3, workspace, 3 +bind=$mainMod, 4, workspace, 4 +bind=$mainMod, 5, workspace, 5 +bind=$mainMod, 6, workspace, 6 +bind=$mainMod, 7, workspace, 7 +bind=$mainMod, 8, workspace, 8 +bind=$mainMod, 9, workspace, 9 +bind=$mainMod, 0, workspace, 10 +bind=$mainMod SHIFT, 1, movetoworkspace, 1 +bind=$mainMod SHIFT, 2, movetoworkspace, 2 +bind=$mainMod SHIFT, 3, movetoworkspace, 3 +bind=$mainMod SHIFT, 4, movetoworkspace, 4 +bind=$mainMod SHIFT, 5, movetoworkspace, 5 +bind=$mainMod SHIFT, 6, movetoworkspace, 6 +bind=$mainMod SHIFT, 7, movetoworkspace, 7 +bind=$mainMod SHIFT, 8, movetoworkspace, 8 +bind=$mainMod SHIFT, 9, movetoworkspace, 9 +bind=$mainMod SHIFT, 0, movetoworkspace, 10 +bind=$mainMod SHIFT CTRL, right, movetoworkspace, +1 +bind=$mainMod SHIFT CTRL, left, movetoworkspace, -1 +bind=$mainMod, mouse_down, workspace, e+1 +bind=$mainMod, mouse_up, workspace, e-1 +bind=$mainMod, Tab, workspace, e+1 +bind=$mainMod SHIFT, Tab, workspace, e-1 +bind=$mainMod CTRL, right, workspace, +1 +bind=$mainMod CTRL, left, workspace, -1 + +bindm=$mainMod, mouse:272, movewindow +bindm=$mainMod, mouse:273, resizewindow + +# Binds :: MultiMedia + +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 +submap = resize +bind=, escape,submap,reset + +binde=, left, resizeactive, -10 0 +bindr=, left, submap, reset +binde=, right, resizeactive, 10 0 +bindr=, right, submap, reset +binde=, up, resizeactive, 0 10 +bindr=, up, submap, reset +binde=, down, resizeactive, 0 -10 +bindr=, down, submap, reset + +binde=, H, resizeactive, -10 0 +bindr=, H, submap, reset +binde=, J, resizeactive, 0 -10 +bindr=, J, submap, reset +binde=, K, resizeactive, 0 10 +bindr=, K, submap, reset +binde=, L, resizeactive, 10 0 +bindr=, L, submap, reset + +submap=reset + +bind = $mainMod, B, submap, browser_select +submap = browser_select + +bind =, B, exec, brave +bind =, B, submap, reset + +bind = SHIFT, F, exec, firefox +bind = SHIFT, F, submap, reset + +bind =, F, exec, floorp +bind =, F, submap, reset + +bind =, C, exec, floorp -p limalone -no-remote +bind =, C, submap, reset + +bind=, escape,submap,reset +submap=reset + +bind = $mainMod SHIFT, V, submap, video_stuff +submap = video_stuff +bind = , O, exec, obs +bind = , O, submap, reset +bind = , V, exec , kdenlive +bind = , V, submap, reset + +bind=, escape,submap,reset +submap = reset + +# Gestures + +gesture = 3, horizontal, workspace diff --git a/configs/hypr-darp8/hyprlock.conf b/configs/hypr-darp8/hyprlock.conf new file mode 100644 index 0000000..5ef053f --- /dev/null +++ b/configs/hypr-darp8/hyprlock.conf @@ -0,0 +1,65 @@ +background { + blur_passes=2 + blur_size=8 + path=$HOME/pictures/.wallpapers/frieren-flowers.jpg +} + +general { + disable_loading_bar=true + hide_cursor=true + no_fade_in=false +} + +input-field { + monitor= + size=200, 30 + capslock_color=#bb00ee + check_color=#0eff0d + dots_center=false + dots_size=0.330000 + dots_spacing=0.150000 + fade_on_empty=true + fail_color=#ff009e + fail_text=$FAIL ($ATTEMPTS) + font_color=#efefef + inner_color=#0c0c0c + outer_color=#fe0b00 + outline_thickness=3 + placeholder_text=Enter Password... +} + +label { + monitor= + color=#ffffee + font_family=DejaVu Sans + font_size=28 + halign=center + position=0, 80 + text=$TIME + text_align=center + valign=center +} + +label { + monitor= + color=#ffffee + font_family=DejaVu Sans + font_size=18 + halign=left + position=80, 80 + text=cmd[update:1000] echo " $(date +'%A, %b %d %Y')" + text_align=center + valign=bottom +} + +label { + monitor= + color=#ffffee + font_family=DejaVu Sans + font_size=18 + halign=right + position=80, 80 + text=cmd[update:1000] echo "󰁿$(cat /sys/class/power_supply/BAT0/capacity)" + text_align=center + valign=bottom +} diff --git a/configs/hypr-darp8/hyprpaper.conf b/configs/hypr-darp8/hyprpaper.conf new file mode 100644 index 0000000..b4e4d20 --- /dev/null +++ b/configs/hypr-darp8/hyprpaper.conf @@ -0,0 +1,5 @@ +ipc=on +preload=$HOME/pictures/.wallpapers/skyline-view.png +preload=$HOME/pictures/.wallpapers/iceland-winter-mountains.jpg +splash=false +wallpaper=eDP-1,$HOME/pictures/.wallpapers/iceland-winter-mountains.jpg diff --git a/hosts/darp8/file.nix b/hosts/darp8/file.nix index ea73d50..f39176d 100644 --- a/hosts/darp8/file.nix +++ b/hosts/darp8/file.nix @@ -22,12 +22,12 @@ in # Configs ".config/hypr" = { - source = ../../configs/hypr; + source = ../../configs/hypr-darp8; outOfStoreSymlink = true; recursive = true; }; ".config/DankMaterialShell" = { - source = ../../configs/DankMaterialShell; + source = ../../configs/dms-darp8; outOfStoreSymlink = true; recursive = true; };