From aebf67c2fd4e83a61343dd74facb5c520b3ef9af Mon Sep 17 00:00:00 2001 From: Frank Zechert Date: Sun, 26 Jul 2026 03:02:18 +0200 Subject: [PATCH] commit before configuration of hyprland --- user/.chezmoidata/packages.yaml | 11 +- user/.chezmoiexternal.yaml | 5 + user/dot_Xresources | 2 + user/dot_bashrc.tmpl | 3 + .../DankMaterialShell/clsettings.json | 8 + .../DankMaterialShell/empty_dot_changelog-1.5 | 0 .../DankMaterialShell/empty_dot_firstlaunch | 0 .../DankMaterialShell/monitors.json | 5 + .../DankMaterialShell/settings.json | 831 ++++++++++++++++++ user/dot_config/hypr/dms/binds-user.lua | 1 + user/dot_config/hypr/dms/binds.lua | 171 ++++ user/dot_config/hypr/dms/colors.lua | 27 + user/dot_config/hypr/dms/cursor.lua | 6 + user/dot_config/hypr/dms/layout.lua | 13 + user/dot_config/hypr/dms/outputs.lua | 6 + user/dot_config/hypr/dms/windowrules.lua | 1 + user/dot_config/hypr/hyprland-autostart.lua | 13 + .../hypr/hyprland-environment-variables.lua | 5 + user/dot_config/hypr/hyprland-monitors.lua | 50 ++ user/dot_config/hypr/hyprland-permissions.lua | 16 + user/dot_config/hypr/hyprland-variables.lua | 1 + user/dot_config/hypr/hyprland.lua | 131 +++ user/dot_config/kitty/dank-tabs.conf | 24 + user/dot_config/kitty/kitty.conf | 31 +- user/dot_config/mimeapps.list | 81 +- 25 files changed, 1407 insertions(+), 35 deletions(-) create mode 100644 user/dot_config/DankMaterialShell/clsettings.json create mode 100644 user/dot_config/DankMaterialShell/empty_dot_changelog-1.5 create mode 100644 user/dot_config/DankMaterialShell/empty_dot_firstlaunch create mode 100644 user/dot_config/DankMaterialShell/monitors.json create mode 100644 user/dot_config/DankMaterialShell/settings.json create mode 100644 user/dot_config/hypr/dms/binds-user.lua create mode 100644 user/dot_config/hypr/dms/binds.lua create mode 100644 user/dot_config/hypr/dms/colors.lua create mode 100644 user/dot_config/hypr/dms/cursor.lua create mode 100644 user/dot_config/hypr/dms/layout.lua create mode 100644 user/dot_config/hypr/dms/outputs.lua create mode 100644 user/dot_config/hypr/dms/windowrules.lua create mode 100644 user/dot_config/hypr/hyprland-autostart.lua create mode 100644 user/dot_config/hypr/hyprland-environment-variables.lua create mode 100644 user/dot_config/hypr/hyprland-monitors.lua create mode 100644 user/dot_config/hypr/hyprland-permissions.lua create mode 100644 user/dot_config/hypr/hyprland-variables.lua create mode 100644 user/dot_config/hypr/hyprland.lua create mode 100644 user/dot_config/kitty/dank-tabs.conf diff --git a/user/.chezmoidata/packages.yaml b/user/.chezmoidata/packages.yaml index ab42ef1..dcaf590 100644 --- a/user/.chezmoidata/packages.yaml +++ b/user/.chezmoidata/packages.yaml @@ -44,7 +44,6 @@ packages: - hyprland - hyprlock - hyprpaper - - uwsm - xdg-desktop-portal - xdg-desktop-portal-gtk - xdg-desktop-portal-hyprland @@ -54,6 +53,13 @@ packages: - xsettingsd - nwg-look - hyprqt6engine + - uwsm + - libnewt + - dms-shell + - dms-shell-hyprland + - dankcalendar-bin + - dgop + - upower # Fonts - gnu-free-fonts - inter-font @@ -88,6 +94,7 @@ packages: - qt5ct - qt6-wayland - qt6ct + - qt6-multimedia # Icons - breeze-icons - breeze-cursors @@ -126,11 +133,9 @@ packages: - swaync - telegram-desktop - thunderbird - - waybar - wev - wget - wl-clipboard - - wofi - yay - hunspell-de - hunspell-en_gb diff --git a/user/.chezmoiexternal.yaml b/user/.chezmoiexternal.yaml index 34f51fe..f96b049 100644 --- a/user/.chezmoiexternal.yaml +++ b/user/.chezmoiexternal.yaml @@ -1,3 +1,8 @@ +.config/nvim: + type: git-repo + url: git@zechert.net:fz-stack/nvim.git + refreshPeriod: 24h + .config/thunderbird-theme: type: git-repo url: https://github.com/catppuccin/thunderbird.git diff --git a/user/dot_Xresources b/user/dot_Xresources index 5cace92..01c5d7b 100644 --- a/user/dot_Xresources +++ b/user/dot_Xresources @@ -4,3 +4,5 @@ Xft.hinting: 1 Xft.antialias: 1 Xft.rgba: rgb +Xcursor.theme: Breeze_Light +Xcursor.size: 24 diff --git a/user/dot_bashrc.tmpl b/user/dot_bashrc.tmpl index d02e53e..d94bb4f 100644 --- a/user/dot_bashrc.tmpl +++ b/user/dot_bashrc.tmpl @@ -38,6 +38,9 @@ export VISUAL="nvim" # --- GGC --- export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01' +# --- DMS --- +export DMS_PRIVESC=sudo + # --- Bash Completion --- if ! shopt -oq posix; then if [ -f /usr/share/bash-completion/bash_completion ]; then diff --git a/user/dot_config/DankMaterialShell/clsettings.json b/user/dot_config/DankMaterialShell/clsettings.json new file mode 100644 index 0000000..8f08aa8 --- /dev/null +++ b/user/dot_config/DankMaterialShell/clsettings.json @@ -0,0 +1,8 @@ +{ + "maxHistory": 100, + "maxEntrySize": 5242880, + "autoClearDays": 1, + "clearAtStartup": true, + "disabled": false, + "maxPinned": 25 +} \ No newline at end of file diff --git a/user/dot_config/DankMaterialShell/empty_dot_changelog-1.5 b/user/dot_config/DankMaterialShell/empty_dot_changelog-1.5 new file mode 100644 index 0000000..e69de29 diff --git a/user/dot_config/DankMaterialShell/empty_dot_firstlaunch b/user/dot_config/DankMaterialShell/empty_dot_firstlaunch new file mode 100644 index 0000000..e69de29 diff --git a/user/dot_config/DankMaterialShell/monitors.json b/user/dot_config/DankMaterialShell/monitors.json new file mode 100644 index 0000000..0f449c3 --- /dev/null +++ b/user/dot_config/DankMaterialShell/monitors.json @@ -0,0 +1,5 @@ +{ + "version": 1, + "configurations": [ + ] +} diff --git a/user/dot_config/DankMaterialShell/settings.json b/user/dot_config/DankMaterialShell/settings.json new file mode 100644 index 0000000..16488ba --- /dev/null +++ b/user/dot_config/DankMaterialShell/settings.json @@ -0,0 +1,831 @@ +{ + "currentThemeName": "custom", + "currentThemeCategory": "custom", + "customThemeFile": "/home/frank/Downloads/catppuccin.json", + "registryThemeVariants": { + "catppuccin": { + "dark": { + "flavor": "macchiato", + "accent": "blue" + } + } + }, + "matugenScheme": "scheme-tonal-spot", + "matugenContrast": 0, + "runUserMatugenTemplates": true, + "matugenTargetMonitor": "", + "popupTransparency": 1, + "dockTransparency": 1, + "widgetBackgroundColor": "sch", + "widgetBackgroundCustomColor": "#6750A4", + "widgetBackgroundCustomStrength": 0.5, + "widgetColorMode": "default", + "controlCenterTileColorMode": "primary", + "buttonColorMode": "primary", + "cornerRadius": 12, + "niriLayoutGapsOverride": -1, + "niriLayoutRadiusOverride": -1, + "niriLayoutBorderSize": -1, + "hyprlandLayoutGapsOverride": -2, + "hyprlandLayoutGapsOutOverride": 19, + "hyprlandLayoutRadiusOverride": -1, + "hyprlandLayoutBorderSize": -1, + "hyprlandResizeOnBorder": false, + "mangoLayoutGapsOverride": -1, + "mangoLayoutGapsOutOverride": -1, + "mangoLayoutRadiusOverride": -1, + "mangoLayoutBorderSize": -1, + "mangoTrackpadNaturalScrolling": true, + "firstDayOfWeek": 1, + "showWeekNumber": true, + "calendarBackend": "dankcal", + "clockFormat": "auto", + "showSeconds": false, + "padHours12Hour": false, + "useFahrenheit": false, + "windSpeedUnit": "kmh", + "nightModeEnabled": false, + "animationSpeed": 1, + "customAnimationDuration": 500, + "syncComponentAnimationSpeeds": true, + "popoutAnimationSpeed": 1, + "popoutCustomAnimationDuration": 150, + "modalAnimationSpeed": 1, + "modalCustomAnimationDuration": 150, + "enableRippleEffects": true, + "animationVariant": 0, + "motionEffect": 0, + "m3ElevationEnabled": true, + "m3ElevationIntensity": 12, + "m3ElevationOpacity": 30, + "m3ElevationColorMode": "default", + "m3ElevationLightDirection": "top", + "m3ElevationCustomColor": "#000000", + "modalElevationEnabled": true, + "popoutElevationEnabled": true, + "barElevationEnabled": true, + "blurEnabled": true, + "blurForegroundLayers": true, + "blurLayerOutlineOpacity": 0.12, + "blurBorderEnabled": true, + "blurBorderColor": "outline", + "blurBorderCustomColor": "#ffffff", + "blurBorderOpacity": 0.35, + "wallpaperFillMode": "Fill", + "blurredWallpaperLayer": false, + "blurWallpaperOnOverview": false, + "wallpaperBackgroundColorMode": "black", + "wallpaperBackgroundCustomColor": "#000000", + "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, + "systemTrayIconTintMode": "none", + "systemTrayIconTintSaturation": 100, + "systemTrayIconTintStrength": 200, + "showClock": true, + "showNotificationButton": true, + "showBattery": true, + "showBatteryPercent": true, + "showBatteryPercentOnlyOnBattery": false, + "showBatteryTime": false, + "showBatteryTimeOnlyOnBattery": false, + "batteryPillStyle": false, + "batteryPillPercentSign": false, + "showControlCenterButton": true, + "showCapsLockIndicator": true, + "controlCenterShowNetworkIcon": true, + "controlCenterShowBluetoothIcon": true, + "controlCenterShowAudioIcon": true, + "controlCenterShowAudioPercent": false, + "controlCenterShowVpnIcon": true, + "controlCenterShowBrightnessIcon": false, + "controlCenterShowBrightnessPercent": false, + "controlCenterShowMicIcon": false, + "controlCenterShowMicPercent": true, + "controlCenterShowBatteryIcon": false, + "controlCenterShowPrinterIcon": false, + "controlCenterShowScreenSharingIcon": true, + "controlCenterShowIdleInhibitorIcon": false, + "controlCenterShowDoNotDisturbIcon": false, + "showPrivacyButton": true, + "privacyShowMicIcon": false, + "privacyShowCameraIcon": false, + "privacyShowScreenShareIcon": false, + "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": true, + "showWorkspaceName": false, + "showWorkspacePadding": false, + "workspaceScrolling": false, + "showWorkspaceApps": false, + "workspaceDragReorder": true, + "maxWorkspaceIcons": 3, + "workspaceAppIconSizeOffset": 0, + "groupWorkspaceApps": true, + "groupActiveWorkspaceApps": false, + "workspaceFollowFocus": false, + "showOccupiedWorkspacesOnly": false, + "reverseScrolling": false, + "dwlShowAllTags": false, + "workspaceActiveAppHighlightEnabled": false, + "workspaceColorMode": "default", + "workspaceFocusedCustomColor": "#6750A4", + "workspaceOccupiedColorMode": "none", + "workspaceOccupiedCustomColor": "#625B71", + "workspaceUnfocusedColorMode": "default", + "workspaceUnfocusedCustomColor": "#49454E", + "workspaceUrgentColorMode": "default", + "workspaceUrgentCustomColor": "#B3261E", + "workspaceFocusedBorderEnabled": false, + "workspaceFocusedBorderColor": "primary", + "workspaceFocusedBorderCustomColor": "#6750A4", + "workspaceFocusedBorderThickness": 2, + "workspaceUnfocusedMonitorSeparateAppearance": false, + "workspaceUnfocusedMonitorColorMode": "default", + "workspaceUnfocusedMonitorFocusedCustomColor": "#6750A4", + "workspaceUnfocusedMonitorOccupiedColorMode": "none", + "workspaceUnfocusedMonitorOccupiedCustomColor": "#625B71", + "workspaceUnfocusedMonitorUnfocusedColorMode": "default", + "workspaceUnfocusedMonitorUnfocusedCustomColor": "#49454E", + "workspaceUnfocusedMonitorUrgentColorMode": "default", + "workspaceUnfocusedMonitorUrgentCustomColor": "#B3261E", + "workspaceUnfocusedMonitorBorderEnabled": false, + "workspaceUnfocusedMonitorBorderColor": "primary", + "workspaceUnfocusedMonitorBorderCustomColor": "#6750A4", + "workspaceUnfocusedMonitorBorderThickness": 2, + "workspaceNameIcons": {}, + "waveProgressEnabled": false, + "scrollTitleEnabled": true, + "mediaAdaptiveWidthEnabled": false, + "audioVisualizerEnabled": false, + "mediaUseAlbumArtAccent": false, + "audioScrollMode": "volume", + "audioWheelScrollAmount": 1, + "audioDeviceScrollVolumeEnabled": true, + "mediaExcludePlayers": [], + "clockCompactMode": false, + "focusedWindowCompactMode": false, + "focusedWindowSize": 1, + "focusedWindowShowIcon": true, + "runningAppsCompactMode": true, + "barMaxVisibleApps": 0, + "barMaxVisibleRunningApps": 0, + "barShowOverflowBadge": true, + "trayAutoOverflow": true, + "trayPopupSingleLine": true, + "trayMaxVisibleItems": 0, + "appsDockHideIndicators": false, + "appsDockColorizeActive": false, + "appsDockActiveColorMode": "primary", + "appsDockEnlargeOnHover": false, + "appsDockEnlargePercentage": 125, + "appsDockIconSizePercentage": 100, + "keyboardLayoutNameCompactMode": false, + "keyboardLayoutNameShowIcon": false, + "runningAppsCurrentWorkspace": true, + "runningAppsGroupByApp": false, + "runningAppsCurrentMonitor": false, + "appIdSubstitutions": [], + "centeringMode": "index", + "clockDateFormat": "ddd dd.MM.", + "lockDateFormat": "", + "greeterRememberLastSession": true, + "greeterRememberLastUser": true, + "greeterAutoLogin": false, + "greeterEnableFprint": false, + "greeterEnableU2f": false, + "greeterWallpaperPath": "", + "greeterLockDateFormat": "", + "greeterFontFamily": "Inter", + "greeterWallpaperFillMode": "", + "greeterPamExternallyManaged": true, + "greeterSyncPending": false, + "greeterSyncBaseline": {}, + "mediaSize": 1, + "appLauncherViewMode": "list", + "spotlightModalViewMode": "list", + "browserPickerViewMode": "grid", + "browserUsageHistory": {}, + "appPickerViewMode": "grid", + "filePickerUsageHistory": {}, + "sortAppsAlphabetically": false, + "appLauncherGridColumns": 4, + "spotlightCloseNiriOverview": true, + "rememberLastQuery": false, + "rememberLastMode": true, + "spotlightSectionViewModes": {}, + "appDrawerSectionViewModes": { + "apps": "list" + }, + "niriOverviewOverlayEnabled": true, + "niriOverviewLauncherStyle": "full", + "dankLauncherV2Size": "compact", + "dankLauncherV2ShowSourceBadges": true, + "dankLauncherV2BorderEnabled": false, + "dankLauncherV2BorderThickness": 6, + "dankLauncherV2BorderColor": "primary", + "dankLauncherV2ShowFooter": true, + "dankLauncherV2UnloadOnClose": false, + "dankLauncherV2IncludeFilesInAll": false, + "dankLauncherV2IncludeFoldersInAll": false, + "launcherUseOverlayLayer": false, + "launcherStyle": "spotlight", + "spotlightBarShowModeChips": true, + "keybindsFloatingWindow": false, + "useAutoLocation": false, + "weatherEnabled": true, + "dashTabs": [ + { + "id": "overview", + "enabled": true + }, + { + "id": "media", + "enabled": true + }, + { + "id": "wallpaper", + "enabled": false + }, + { + "id": "weather", + "enabled": true + }, + { + "id": "settings", + "enabled": true + } + ], + "networkPreference": "auto", + "iconThemeDark": "Papirus-Dark", + "iconThemeLight": "System Default", + "iconThemePerMode": false, + "lastAppliedIconTheme": "Papirus-Dark", + "cursorSettings": { + "theme": "Breeze_Light", + "size": 24, + "niri": { + "hideWhenTyping": false, + "hideAfterInactiveMs": 0 + }, + "hyprland": { + "hideOnKeyPress": false, + "hideOnTouch": false, + "inactiveTimeout": 0 + }, + "mango": { + "cursorHideTimeout": 0 + } + }, + "launcherLogoMode": "apps", + "launcherLogoCustomPath": "", + "launcherLogoColorOverride": "", + "launcherLogoColorInvertOnMode": false, + "launcherLogoBrightness": 0.5, + "launcherLogoContrast": 1, + "launcherLogoSizeOffset": 0, + "fontFamily": "Inter", + "monoFontFamily": "FiraMono Nerd Font Mono", + "fontWeight": 400, + "fontScale": 1.1, + "textRenderType": 1, + "textRenderQuality": 0, + "notepadUseMonospace": true, + "notepadFontFamily": "", + "notepadFontSize": 14, + "notificationSummaryFontSize": 16, + "notificationBodyFontSize": 14, + "notepadShowLineNumbers": false, + "notepadAutoSave": false, + "notepadSlideoutSide": "right", + "notepadDefaultMode": "slideout", + "notepadTransparencyOverride": -1, + "notepadLastCustomTransparency": 0.7, + "notepadUseCompositorGap": false, + "notepadEdgeGap": 0, + "soundsEnabled": true, + "useSystemSoundTheme": false, + "soundLogin": false, + "soundNewNotification": true, + "soundVolumeChanged": true, + "soundPluggedIn": true, + "muteSoundsWhenMediaPlaying": true, + "acMonitorTimeout": 1800, + "acLockTimeout": 300, + "acSuspendTimeout": 0, + "acSuspendBehavior": 0, + "acProfileName": "", + "acPostLockMonitorTimeout": 30, + "batteryMonitorTimeout": 600, + "batteryLockTimeout": 300, + "batterySuspendTimeout": 7200, + "batterySuspendBehavior": 2, + "batteryProfileName": "", + "batteryPostLockMonitorTimeout": 60, + "batteryChargeLimit": 100, + "batteryNotifyChargeLimit": false, + "batteryCriticalThreshold": 5, + "batteryNotifyCritical": true, + "batteryLowThreshold": 15, + "batteryNotifyLow": true, + "batteryChargeLimitNotificationType": 0, + "batteryLowNotificationType": 1, + "batteryCriticalNotificationType": 1, + "batteryAutoPowerSaver": false, + "lockBeforeSuspend": true, + "loginctlLockIntegration": true, + "fadeToLockEnabled": true, + "fadeToLockGracePeriod": 5, + "fadeToDpmsEnabled": true, + "fadeToDpmsGracePeriod": 5, + "launchPrefix": "uwsm-app -- ", + "brightnessDevicePins": {}, + "wifiNetworkPins": { + "preferredWifi": [ + "wifi.zechert.net" + ] + }, + "bluetoothDevicePins": {}, + "audioInputDevicePins": {}, + "audioOutputDevicePins": {}, + "gtkThemingEnabled": false, + "qtThemingEnabled": false, + "syncModeWithPortal": true, + "terminalsAlwaysDark": false, + "muxType": "tmux", + "muxUseCustomCommand": false, + "muxCustomCommand": "", + "muxSessionFilter": "", + "runDmsMatugenTemplates": true, + "matugenTemplateGtk": true, + "matugenTemplateNiri": true, + "matugenTemplateHyprland": true, + "matugenTemplateMangowc": true, + "matugenTemplateQt5ct": true, + "matugenTemplateQt6ct": true, + "matugenTemplateFirefox": true, + "matugenTemplatePywalfox": true, + "matugenTemplateZenBrowser": true, + "matugenTemplateVesktop": true, + "matugenTemplateVencord": true, + "matugenTemplateEquibop": true, + "matugenTemplateGhostty": true, + "matugenTemplateKitty": true, + "matugenTemplateFoot": true, + "matugenTemplateAlacritty": true, + "matugenTemplateNeovim": false, + "matugenTemplateWezterm": true, + "matugenTemplateDgop": true, + "matugenTemplateKcolorscheme": true, + "matugenTemplateVscode": true, + "matugenTemplateEmacs": true, + "matugenTemplateZed": true, + "matugenTemplateNeovimSettings": { + "dark": { + "baseTheme": "github_dark", + "harmony": 0.5 + }, + "light": { + "baseTheme": "github_light", + "harmony": 0.5 + } + }, + "matugenTemplateNeovimSetBackground": true, + "showDock": false, + "dockAutoHide": false, + "dockSmartAutoHide": false, + "dockUseOverlayLayer": false, + "dockGroupByApp": false, + "dockRestoreSpecialWorkspaceOnClick": false, + "dockOpenOnOverview": false, + "dockPosition": 1, + "dockSpacing": 4, + "dockBottomGap": 0, + "dockMargin": 0, + "dockIconSize": 40, + "dockIndicatorStyle": "circle", + "dockBorderEnabled": false, + "dockBorderColor": "surfaceText", + "dockBorderOpacity": 1, + "dockBorderThickness": 1, + "dockIsolateDisplays": false, + "dockLauncherEnabled": false, + "dockLauncherLogoMode": "apps", + "dockLauncherLogoCustomPath": "", + "dockLauncherLogoColorOverride": "", + "dockLauncherLogoSizeOffset": 0, + "dockLauncherLogoBrightness": 0.5, + "dockLauncherLogoContrast": 1, + "dockMaxVisibleApps": 0, + "dockMaxVisibleRunningApps": 0, + "dockShowOverflowBadge": true, + "dockShowTrash": false, + "dockTrashFileManager": "default", + "dockTrashCustomCommand": "", + "notificationOverlayEnabled": false, + "notificationPopupShadowEnabled": true, + "notificationPopupPrivacyMode": false, + "notificationForegroundLayers": true, + "modalDarkenBackground": true, + "lockScreenShowPowerActions": true, + "lockScreenShowSystemIcons": true, + "lockScreenShowTime": true, + "lockScreenShowDate": true, + "lockScreenShowProfileImage": true, + "lockScreenShowPasswordField": true, + "lockScreenShowMediaPlayer": true, + "lockScreenPowerOffMonitorsOnLock": false, + "lockAtStartup": false, + "enableFprint": false, + "maxFprintTries": 15, + "enableU2f": false, + "u2fMode": "or", + "lockPamPath": "", + "lockPamInlineFprint": false, + "lockPamInlineU2f": false, + "lockPamExternallyManaged": false, + "lockU2fPamPath": "", + "lockScreenInactiveColor": "#000000", + "lockScreenNotificationMode": 0, + "lockScreenVideoEnabled": false, + "lockScreenVideoPath": "", + "lockScreenVideoCycling": false, + "lockScreenWallpaperPath": "", + "lockScreenWallpaperFillMode": "", + "lockScreenFontFamily": "Inter", + "hideBrightnessSlider": false, + "notificationTimeoutLow": 5000, + "notificationTimeoutNormal": 10000, + "notificationTimeoutCritical": 0, + "notificationCompactMode": true, + "notificationShowTimeoutBar": true, + "notificationDedupeEnabled": true, + "notificationPopupPosition": -1, + "notificationAnimationSpeed": 1, + "notificationCustomAnimationDuration": 400, + "notificationHistoryEnabled": true, + "notificationHistoryMaxCount": 30, + "notificationHistoryMaxAgeDays": 1, + "notificationHistorySaveLow": true, + "notificationHistorySaveNormal": true, + "notificationHistorySaveCritical": true, + "notificationRules": [], + "notificationFocusedMonitor": false, + "osdAlwaysShowValue": false, + "osdPosition": 4, + "osdVolumeEnabled": true, + "osdMediaVolumeEnabled": true, + "osdMediaPlaybackEnabled": false, + "osdBrightnessEnabled": true, + "osdIdleInhibitorEnabled": true, + "osdMicMuteEnabled": true, + "osdCapsLockEnabled": true, + "osdPowerProfileEnabled": true, + "osdAudioOutputEnabled": true, + "powerActionConfirm": true, + "powerActionHoldDuration": 1, + "powerMenuActions": [ + "reboot", + "logout", + "poweroff", + "lock", + "suspend", + "restart", + "hibernate" + ], + "powerMenuDefaultAction": "suspend", + "powerMenuGridLayout": false, + "customPowerActionLock": "", + "customPowerActionLogout": "", + "customPowerActionSuspend": "", + "customPowerActionHibernate": "", + "customPowerActionReboot": "", + "customPowerActionPowerOff": "", + "updaterHideWidget": false, + "updaterCheckOnStart": false, + "updaterUseCustomCommand": false, + "updaterCustomCommand": "", + "updaterTerminalAdditionalParams": "", + "updaterIntervalSeconds": 86400, + "updaterIncludeFlatpak": true, + "updaterAllowAUR": true, + "updaterIgnoredPackages": [], + "displayNameMode": "model", + "screenPreferences": { + "wallpaper": [] + }, + "showOnLastDisplay": {}, + "niriOutputSettings": {}, + "hyprlandOutputSettings": { + "desc:Sharp Corporation 0x1593": { + "disabled": false + }, + "Sharp Corporation 0x1593": {}, + "desc:Dell Inc. DELL U2414H 292K475V26JL": { + "disabled": false + }, + "desc:Dell Inc. DELL U2724D DL7R834": { + "disabled": false + }, + "desc:GIGA-BYTE TECHNOLOGY CO. LTD. M34WQ 0x00000B52": { + "disabled": false + }, + "Dell Inc. DELL U2724D": {}, + "GIGA-BYTE TECHNOLOGY CO., LTD. M34WQ": {}, + "Dell Inc. DELL U2414H": {}, + "eDP-1": { + "disabled": true + } + }, + "displayProfiles": {}, + "activeDisplayProfile": { + "hyprland": "" + }, + "displayProfileAutoSelect": false, + "displayShowDisconnected": true, + "displaySnapToEdge": true, + "connectedFrameBarStyleBackups": {}, + "barConfigs": [ + { + "id": "default", + "name": "Main Bar", + "enabled": true, + "position": 0, + "screenPreferences": [ + "all" + ], + "showOnLastDisplay": true, + "leftWidgets": [ + "launcherButton", + "workspaceSwitcher", + "focusedWindow" + ], + "centerWidgets": [ + { + "id": "music", + "enabled": true, + "mediaSize": 1 + }, + { + "id": "clock", + "enabled": true, + "clockCompactMode": false + }, + "weather" + ], + "rightWidgets": [ + { + "id": "privacyIndicator", + "enabled": true + }, + { + "id": "capsLockIndicator", + "enabled": true + }, + { + "id": "systemTray", + "enabled": true, + "trayUseInlineExpansion": false + }, + "clipboard", + { + "id": "idleInhibitor", + "enabled": true + }, + { + "id": "cpuTemp", + "enabled": true, + "minimumWidth": true + }, + { + "id": "cpuUsage", + "enabled": true, + "minimumWidth": true + }, + { + "id": "battery", + "enabled": true, + "showBatteryPercent": true, + "showBatteryPercentOnlyOnBattery": false, + "showBatteryTime": true, + "showBatteryTimeOnlyOnBattery": false, + "batteryPillStyle": false + }, + "notificationButton", + "controlCenterButton", + { + "id": "powerMenuButton", + "enabled": true + } + ], + "spacing": 4, + "innerPadding": 4, + "barInsetPadding": 4, + "bottomGap": 0, + "transparency": 0.09, + "widgetTransparency": 1, + "squareCorners": false, + "noBackground": false, + "maximizeWidgetIcons": false, + "maximizeWidgetText": false, + "removeWidgetPadding": false, + "widgetPadding": 10, + "gothCornersEnabled": false, + "gothCornerRadiusOverride": false, + "gothCornerRadiusValue": 12, + "borderEnabled": false, + "borderColor": "surfaceText", + "borderOpacity": 1, + "borderThickness": 1, + "widgetOutlineEnabled": false, + "widgetOutlineColor": "primary", + "widgetOutlineOpacity": 1, + "widgetOutlineThickness": 1, + "fontScale": 1, + "iconScale": 1.2, + "autoHide": false, + "autoHideStrict": false, + "autoHideDelay": 250, + "showOnWindowsOpen": false, + "openOnOverview": false, + "visible": true, + "popupGapsAuto": true, + "popupGapsManual": 4, + "maximizeDetection": true, + "useOverlayLayer": false, + "scrollEnabled": true, + "scrollXBehavior": "column", + "scrollYBehavior": "workspace", + "shadowIntensity": 0, + "shadowOpacity": 100, + "shadowColorMode": "secondary", + "shadowCustomColor": "#000000", + "clickThrough": false, + "hoverPopouts": false, + "hoverPopoutDelay": 150 + } + ], + "desktopClockEnabled": false, + "desktopClockStyle": "analog", + "desktopClockTransparency": 0.8, + "desktopClockColorMode": "primary", + "desktopClockCustomColor": { + "r": 1, + "g": 1, + "b": 1, + "a": 1, + "hsvHue": -1, + "hsvSaturation": 0, + "hsvValue": 1, + "hslHue": -1, + "hslSaturation": 0, + "hslLightness": 1, + "valid": true + }, + "desktopClockShowDate": true, + "desktopClockShowAnalogNumbers": false, + "desktopClockShowAnalogSeconds": true, + "desktopClockX": -1, + "desktopClockY": -1, + "desktopClockWidth": 280, + "desktopClockHeight": 180, + "desktopClockDisplayPreferences": [ + "all" + ], + "systemMonitorEnabled": false, + "systemMonitorShowHeader": true, + "systemMonitorTransparency": 0.8, + "systemMonitorColorMode": "primary", + "systemMonitorCustomColor": { + "r": 1, + "g": 1, + "b": 1, + "a": 1, + "hsvHue": -1, + "hsvSaturation": 0, + "hsvValue": 1, + "hslHue": -1, + "hslSaturation": 0, + "hslLightness": 1, + "valid": true + }, + "systemMonitorShowCpu": true, + "systemMonitorShowCpuGraph": true, + "systemMonitorShowCpuTemp": true, + "systemMonitorShowGpuTemp": false, + "systemMonitorGpuPciId": "", + "systemMonitorShowMemory": true, + "systemMonitorShowMemoryGraph": true, + "systemMonitorShowNetwork": true, + "systemMonitorShowNetworkGraph": true, + "systemMonitorShowDisk": true, + "systemMonitorShowTopProcesses": false, + "systemMonitorTopProcessCount": 3, + "systemMonitorTopProcessSortBy": "cpu", + "systemMonitorGraphInterval": 60, + "systemMonitorLayoutMode": "auto", + "systemMonitorX": -1, + "systemMonitorY": -1, + "systemMonitorWidth": 320, + "systemMonitorHeight": 480, + "systemMonitorDisplayPreferences": [ + "all" + ], + "systemMonitorVariants": [], + "desktopWidgetPositions": {}, + "desktopWidgetGridSettings": {}, + "desktopWidgetInstances": [], + "desktopWidgetGroups": [], + "builtInPluginSettings": { + "dms_settings_search": { + "trigger": "?" + }, + "dms_clipboard_search": { + "trigger": "cb" + }, + "dms_notepad": { + "enabled": false + } + }, + "clipboardClickToPaste": true, + "clipboardEnterToPaste": false, + "clipboardRememberTypeFilter": false, + "clipboardTypeFilter": "all", + "clipboardVisibleEntryActions": [ + "pin", + "edit", + "delete" + ], + "launcherPluginVisibility": {}, + "launcherPluginOrder": [], + "frameEnabled": false, + "frameThickness": 16, + "frameRounding": 23, + "frameColor": "", + "frameOpacity": 1, + "frameScreenPreferences": [ + "all" + ], + "frameBarSize": 40, + "frameShowOnOverview": false, + "frameBlurEnabled": true, + "frameCloseGaps": true, + "frameLauncherEmergeSide": "bottom", + "frameLauncherArcExtender": false, + "frameLauncherEdgeHover": false, + "frameMode": "connected", + "barInsetPaddingShared": -1, + "barInsetPaddingSyncAll": false, + "frameBarInsetPadding": -1, + "configVersion": 12 +} diff --git a/user/dot_config/hypr/dms/binds-user.lua b/user/dot_config/hypr/dms/binds-user.lua new file mode 100644 index 0000000..c410a95 --- /dev/null +++ b/user/dot_config/hypr/dms/binds-user.lua @@ -0,0 +1 @@ +-- Optional per-user keybind overrides (managed by DMS). Loaded after default binds. diff --git a/user/dot_config/hypr/dms/binds.lua b/user/dot_config/hypr/dms/binds.lua new file mode 100644 index 0000000..73885c1 --- /dev/null +++ b/user/dot_config/hypr/dms/binds.lua @@ -0,0 +1,171 @@ +-- DMS default keybinds (Hyprland 0.55+ Lua) + +-- === Application Launchers === +hl.bind("SUPER + T", hl.dsp.exec_cmd("kitty")) +hl.bind("SUPER + space", hl.dsp.exec_cmd("dms ipc call spotlight toggle")) +hl.bind("ALT + space", hl.dsp.exec_cmd("dms ipc call spotlight-bar toggle")) +hl.bind("SUPER + V", hl.dsp.exec_cmd("dms ipc call clipboard toggle")) +hl.bind("SUPER + M", hl.dsp.exec_cmd("dms ipc call processlist focusOrToggle")) +hl.bind("SUPER + comma", hl.dsp.exec_cmd("dms ipc call settings focusOrToggle")) +hl.bind("SUPER + N", hl.dsp.exec_cmd("dms ipc call notifications toggle")) +hl.bind("SUPER + SHIFT + N", hl.dsp.exec_cmd("dms ipc call notepad toggle")) +hl.bind("SUPER + Y", hl.dsp.exec_cmd("dms ipc call dash toggle wallpaper")) +hl.bind("SUPER + TAB", hl.dsp.exec_cmd("dms ipc call hypr toggleOverview")) +hl.bind("SUPER + O", hl.dsp.exec_cmd("dms ipc call hypr toggleOverview")) +hl.bind("SUPER + X", hl.dsp.exec_cmd("dms ipc call powermenu toggle")) + +-- === Cheat sheet +hl.bind("SUPER + SHIFT + Slash", hl.dsp.exec_cmd("dms ipc call keybinds toggle hyprland")) + +-- === Security === +hl.bind("SUPER + ALT + L", hl.dsp.exec_cmd("dms ipc call lock lock")) +hl.bind("SUPER + SHIFT + E", hl.dsp.exit()) +hl.bind("CTRL + ALT + Delete", hl.dsp.exec_cmd("dms ipc call processlist focusOrToggle")) + +-- === Audio Controls === +hl.bind("XF86AudioRaiseVolume", hl.dsp.exec_cmd("dms ipc call audio increment 3"), { locked = true, repeating = true }) +hl.bind("XF86AudioLowerVolume", hl.dsp.exec_cmd("dms ipc call audio decrement 3"), { locked = true, repeating = true }) +hl.bind("XF86AudioMute", hl.dsp.exec_cmd("dms ipc call audio mute"), { locked = true }) +hl.bind("XF86AudioMicMute", hl.dsp.exec_cmd("dms ipc call audio micmute"), { locked = true }) +hl.bind("XF86AudioPause", hl.dsp.exec_cmd("dms ipc call mpris playPause"), { locked = true }) +hl.bind("XF86AudioPlay", hl.dsp.exec_cmd("dms ipc call mpris playPause"), { locked = true }) +hl.bind("XF86AudioPrev", hl.dsp.exec_cmd("dms ipc call mpris previous"), { locked = true }) +hl.bind("XF86AudioNext", hl.dsp.exec_cmd("dms ipc call mpris next"), { locked = true }) +hl.bind("CTRL + XF86AudioRaiseVolume", hl.dsp.exec_cmd("dms ipc call mpris increment 3"), { locked = true, repeating = true }) +hl.bind("CTRL + XF86AudioLowerVolume", hl.dsp.exec_cmd("dms ipc call mpris decrement 3"), { locked = true, repeating = true }) + +-- === Brightness Controls === +hl.bind("XF86MonBrightnessUp", hl.dsp.exec_cmd([[dms ipc call brightness increment 5 ""]]), { locked = true, repeating = true }) +hl.bind("XF86MonBrightnessDown", hl.dsp.exec_cmd([[dms ipc call brightness decrement 5 ""]]), { locked = true, repeating = true }) + +-- === Window Management === +hl.bind("SUPER + Q", hl.dsp.window.close()) +hl.bind("SUPER + F", hl.dsp.window.fullscreen({ mode = "maximized", action = "toggle" })) +hl.bind("SUPER + SHIFT + F", hl.dsp.window.fullscreen({ mode = "fullscreen", action = "toggle" })) +hl.bind("SUPER + SHIFT + T", hl.dsp.window.float({ action = "toggle" })) +hl.bind("SUPER + W", hl.dsp.group.toggle()) +hl.bind("SUPER + SHIFT + W", hl.dsp.exec_cmd("dms ipc call window-rules toggle")) + +-- === Focus Navigation === +hl.bind("SUPER + left", hl.dsp.focus({ direction = "l" })) +hl.bind("SUPER + down", hl.dsp.focus({ direction = "d" })) +hl.bind("SUPER + up", hl.dsp.focus({ direction = "u" })) +hl.bind("SUPER + right", hl.dsp.focus({ direction = "r" })) +hl.bind("SUPER + H", hl.dsp.focus({ direction = "l" })) +hl.bind("SUPER + J", hl.dsp.focus({ direction = "d" })) +hl.bind("SUPER + K", hl.dsp.focus({ direction = "u" })) +hl.bind("SUPER + L", hl.dsp.focus({ direction = "r" })) + +-- === Window Movement === +hl.bind("SUPER + SHIFT + left", hl.dsp.window.move({ direction = "l" })) +hl.bind("SUPER + SHIFT + down", hl.dsp.window.move({ direction = "d" })) +hl.bind("SUPER + SHIFT + up", hl.dsp.window.move({ direction = "u" })) +hl.bind("SUPER + SHIFT + right", hl.dsp.window.move({ direction = "r" })) +hl.bind("SUPER + SHIFT + H", hl.dsp.window.move({ direction = "l" })) +hl.bind("SUPER + SHIFT + J", hl.dsp.window.move({ direction = "d" })) +hl.bind("SUPER + SHIFT + K", hl.dsp.window.move({ direction = "u" })) +hl.bind("SUPER + SHIFT + L", hl.dsp.window.move({ direction = "r" })) + +-- === Column Navigation === +hl.bind("SUPER + Home", hl.dsp.focus({ window = "first" })) +hl.bind("SUPER + End", hl.dsp.focus({ window = "last" })) + +-- === Monitor Navigation === +hl.bind("SUPER + CTRL + left", hl.dsp.focus({ monitor = "l" })) +hl.bind("SUPER + CTRL + right", hl.dsp.focus({ monitor = "r" })) +hl.bind("SUPER + CTRL + H", hl.dsp.focus({ monitor = "l" })) +hl.bind("SUPER + CTRL + J", hl.dsp.focus({ monitor = "d" })) +hl.bind("SUPER + CTRL + K", hl.dsp.focus({ monitor = "u" })) +hl.bind("SUPER + CTRL + L", hl.dsp.focus({ monitor = "r" })) + +-- === Move to Monitor === +hl.bind("SUPER + SHIFT + CTRL + left", hl.dsp.window.move({ monitor = "l" })) +hl.bind("SUPER + SHIFT + CTRL + down", hl.dsp.window.move({ monitor = "d" })) +hl.bind("SUPER + SHIFT + CTRL + up", hl.dsp.window.move({ monitor = "u" })) +hl.bind("SUPER + SHIFT + CTRL + right", hl.dsp.window.move({ monitor = "r" })) +hl.bind("SUPER + SHIFT + CTRL + H", hl.dsp.window.move({ monitor = "l" })) +hl.bind("SUPER + SHIFT + CTRL + J", hl.dsp.window.move({ monitor = "d" })) +hl.bind("SUPER + SHIFT + CTRL + K", hl.dsp.window.move({ monitor = "u" })) +hl.bind("SUPER + SHIFT + CTRL + L", hl.dsp.window.move({ monitor = "r" })) + +-- === Workspace Navigation === +hl.bind("SUPER + Page_Down", hl.dsp.focus({ workspace = "e+1" })) +hl.bind("SUPER + Page_Up", hl.dsp.focus({ workspace = "e-1" })) +hl.bind("SUPER + U", hl.dsp.focus({ workspace = "e+1" })) +hl.bind("SUPER + I", hl.dsp.focus({ workspace = "e-1" })) +hl.bind("SUPER + CTRL + down", hl.dsp.window.move({ workspace = "e+1" })) +hl.bind("SUPER + CTRL + up", hl.dsp.window.move({ workspace = "e-1" })) +hl.bind("SUPER + CTRL + U", hl.dsp.window.move({ workspace = "e+1" })) +hl.bind("SUPER + CTRL + I", hl.dsp.window.move({ workspace = "e-1" })) + +-- === Workspace Management === +hl.bind("CTRL + SHIFT + R", hl.dsp.exec_cmd("dms ipc call workspace-rename open")) + +-- === Move Workspaces === +hl.bind("SUPER + SHIFT + Page_Down", hl.dsp.window.move({ workspace = "e+1" })) +hl.bind("SUPER + SHIFT + Page_Up", hl.dsp.window.move({ workspace = "e-1" })) +hl.bind("SUPER + SHIFT + U", hl.dsp.window.move({ workspace = "e+1" })) +hl.bind("SUPER + SHIFT + I", hl.dsp.window.move({ workspace = "e-1" })) + +-- === Mouse Wheel Navigation === +hl.bind("SUPER + mouse_down", hl.dsp.focus({ workspace = "e+1" })) +hl.bind("SUPER + mouse_up", hl.dsp.focus({ workspace = "e-1" })) +hl.bind("SUPER + CTRL + mouse_down", hl.dsp.window.move({ workspace = "e+1" })) +hl.bind("SUPER + CTRL + mouse_up", hl.dsp.window.move({ workspace = "e-1" })) + +-- === Touchpad Gestures === +hl.gesture({ fingers = 3, direction = "horizontal", action = "workspace" }) + +-- === Numbered Workspaces === +hl.bind("SUPER + 1", hl.dsp.focus({ workspace = "1" })) +hl.bind("SUPER + 2", hl.dsp.focus({ workspace = "2" })) +hl.bind("SUPER + 3", hl.dsp.focus({ workspace = "3" })) +hl.bind("SUPER + 4", hl.dsp.focus({ workspace = "4" })) +hl.bind("SUPER + 5", hl.dsp.focus({ workspace = "5" })) +hl.bind("SUPER + 6", hl.dsp.focus({ workspace = "6" })) +hl.bind("SUPER + 7", hl.dsp.focus({ workspace = "7" })) +hl.bind("SUPER + 8", hl.dsp.focus({ workspace = "8" })) +hl.bind("SUPER + 9", hl.dsp.focus({ workspace = "9" })) + +-- === Move to Numbered Workspaces === +hl.bind("SUPER + SHIFT + 1", hl.dsp.window.move({ workspace = "1" })) +hl.bind("SUPER + SHIFT + 2", hl.dsp.window.move({ workspace = "2" })) +hl.bind("SUPER + SHIFT + 3", hl.dsp.window.move({ workspace = "3" })) +hl.bind("SUPER + SHIFT + 4", hl.dsp.window.move({ workspace = "4" })) +hl.bind("SUPER + SHIFT + 5", hl.dsp.window.move({ workspace = "5" })) +hl.bind("SUPER + SHIFT + 6", hl.dsp.window.move({ workspace = "6" })) +hl.bind("SUPER + SHIFT + 7", hl.dsp.window.move({ workspace = "7" })) +hl.bind("SUPER + SHIFT + 8", hl.dsp.window.move({ workspace = "8" })) +hl.bind("SUPER + SHIFT + 9", hl.dsp.window.move({ workspace = "9" })) + +-- === Column Management === +hl.bind("SUPER + bracketleft", hl.dsp.layout("preselect l")) +hl.bind("SUPER + bracketright", hl.dsp.layout("preselect r")) + +-- === Sizing & Layout === +hl.bind("SUPER + R", hl.dsp.layout("togglesplit")) +hl.bind("SUPER + CTRL + F", hl.dsp.window.fullscreen({ mode = "maximized", action = "set" })) + +-- === Move/resize windows with mainMod + LMB/RMB and dragging === +hl.bind("SUPER + mouse:272", hl.dsp.window.drag(), { mouse = true, description = "Move window" }) +hl.bind("SUPER + mouse:273", hl.dsp.window.resize(), { mouse = true, description = "Resize window" }) + +hl.bind("SUPER + code:20", hl.dsp.window.resize({ x = -100, y = 0, relative = true }), { description = "Expand window left" }) +hl.bind("SUPER + code:21", hl.dsp.window.resize({ x = 100, y = 0, relative = true }), { description = "Shrink window left" }) + +-- === Manual Sizing === +hl.bind("SUPER + minus", hl.dsp.window.resize({ x = -100, y = 0, relative = true }), { repeating = true }) +hl.bind("SUPER + equal", hl.dsp.window.resize({ x = 100, y = 0, relative = true }), { repeating = true }) +hl.bind("SUPER + SHIFT + minus", hl.dsp.window.resize({ x = 0, y = -100, relative = true }), { repeating = true }) +hl.bind("SUPER + SHIFT + equal", hl.dsp.window.resize({ x = 0, y = 100, relative = true }), { repeating = true }) + +-- === Screenshots === +hl.bind("Print", hl.dsp.exec_cmd("dms screenshot")) +hl.bind("CTRL + Print", hl.dsp.exec_cmd("dms screenshot full")) +hl.bind("ALT + Print", hl.dsp.exec_cmd("dms screenshot window")) + +-- === Display Profiles === +hl.bind("SUPER + P", hl.dsp.exec_cmd("dms ipc outputs cycleProfile")) + +-- === System Controls === +hl.bind("SUPER + SHIFT + P", hl.dsp.dpms({ action = "toggle" })) diff --git a/user/dot_config/hypr/dms/colors.lua b/user/dot_config/hypr/dms/colors.lua new file mode 100644 index 0000000..f0f451b --- /dev/null +++ b/user/dot_config/hypr/dms/colors.lua @@ -0,0 +1,27 @@ +-- ! Auto-generated file. Do not edit directly. +-- Regenerate via DMS theme tools or remove require("dms.colors") from hyprland.lua to override. + +hl.config({ + general = { + col = { + active_border = "rgb(d0bcff)", + inactive_border = "rgb(948f99)", + }, + }, + group = { + col = { + border_active = "rgb(d0bcff)", + border_inactive = "rgb(948f99)", + border_locked_active = "rgb(f2b8b5)", + border_locked_inactive = "rgb(948f99)", + }, + groupbar = { + col = { + active = "rgb(d0bcff)", + inactive = "rgb(948f99)", + locked_active = "rgb(f2b8b5)", + locked_inactive = "rgb(948f99)", + }, + }, + }, +}) diff --git a/user/dot_config/hypr/dms/cursor.lua b/user/dot_config/hypr/dms/cursor.lua new file mode 100644 index 0000000..16385ed --- /dev/null +++ b/user/dot_config/hypr/dms/cursor.lua @@ -0,0 +1,6 @@ +-- Auto-generated by DMS — do not edit manually + +hl.env("HYPRCURSOR_THEME", "Breeze_Light") +hl.env("XCURSOR_THEME", "Breeze_Light") +hl.env("HYPRCURSOR_SIZE", "24") +hl.env("XCURSOR_SIZE", "24") diff --git a/user/dot_config/hypr/dms/layout.lua b/user/dot_config/hypr/dms/layout.lua new file mode 100644 index 0000000..1f67937 --- /dev/null +++ b/user/dot_config/hypr/dms/layout.lua @@ -0,0 +1,13 @@ +-- Auto-generated by DMS — do not edit manually + +hl.config({ + general = { + border_size = 2, + resize_on_border = false, + }, + decoration = { + rounding = 12, + }, +}) + +-- bar-xray off diff --git a/user/dot_config/hypr/dms/outputs.lua b/user/dot_config/hypr/dms/outputs.lua new file mode 100644 index 0000000..c6667e9 --- /dev/null +++ b/user/dot_config/hypr/dms/outputs.lua @@ -0,0 +1,6 @@ +-- Auto-generated by DMS — do not edit manually + +hl.monitor({ output = "desc:Dell Inc. DELL U2414H 292K475V26JL", mode = "1920x1080@60.000", position = "760x-1080", scale = 1, vrr = 0 }) +hl.monitor({ output = "desc:GIGA-BYTE TECHNOLOGY CO. LTD. M34WQ 0x00000B52", mode = "3440x1440@59.973", position = "0x0", scale = 1, vrr = 0 }) +hl.monitor({ output = "desc:Sharp Corporation 0x1593", mode = "1920x1200@120.000", position = "3440x0", scale = 1, vrr = 0 }) +hl.monitor({ output = "desc:Dell Inc. DELL U2724D DL7R834", mode = "2560x1440@59.951", position = "3440x0", scale = 1, vrr = 0 }) diff --git a/user/dot_config/hypr/dms/windowrules.lua b/user/dot_config/hypr/dms/windowrules.lua new file mode 100644 index 0000000..278150f --- /dev/null +++ b/user/dot_config/hypr/dms/windowrules.lua @@ -0,0 +1 @@ +-- Window rules. Deploy writes ~/.config/hypr/dms/windowrules.lua diff --git a/user/dot_config/hypr/hyprland-autostart.lua b/user/dot_config/hypr/hyprland-autostart.lua new file mode 100644 index 0000000..59e6615 --- /dev/null +++ b/user/dot_config/hypr/hyprland-autostart.lua @@ -0,0 +1,13 @@ + +-- See https://wiki.hypr.land/Configuring/Basics/Autostart/ + +-- Autostart necessary processes (like notifications daemons, status bars, etc.) +-- Or execute your favorite apps at launch like this: +-- +-- hl.on("hyprland.start", function () +-- hl.exec_cmd(terminal) +-- hl.exec_cmd("nm-applet") +-- hl.exec_cmd("waybar & hyprpaper & firefox") +-- end) + + diff --git a/user/dot_config/hypr/hyprland-environment-variables.lua b/user/dot_config/hypr/hyprland-environment-variables.lua new file mode 100644 index 0000000..dd45f1d --- /dev/null +++ b/user/dot_config/hypr/hyprland-environment-variables.lua @@ -0,0 +1,5 @@ +-- See https://wiki.hypr.land/Configuring/Advanced-and-Cool/Environment-variables/ + +hl.env("XCURSOR_SIZE", "24") +hl.env("HYPRCURSOR_SIZE", "24") + diff --git a/user/dot_config/hypr/hyprland-monitors.lua b/user/dot_config/hypr/hyprland-monitors.lua new file mode 100644 index 0000000..c15768b --- /dev/null +++ b/user/dot_config/hypr/hyprland-monitors.lua @@ -0,0 +1,50 @@ +-- Home Monitor Setup +hl.monitor({ + output = "desc:GIGA-BYTE TECHNOLOGY CO. LTD. M34WQ 0x00000B52", + mode = "3440x1440@60", + position = "0x0", + scale = "1" +}) + +hl.monitor({ + output = "desc:Dell Inc. DELL U2414H 292K475V26JL", + mode = "1920x1080@60", + position = "760x-1080", + scale = "1" +}) + +hl.monitor({ + output = "desc:Dell Inc. DELL U2724D DL7R834", + mode = "2560x1440@60", + position = "3440x0", + scale = "1" +}) + +-- Integrated Laptop Monitor +hl.monitor({ + output = "eDP-1", + mode = "1920x1200@120", + position = "auto", + scale = "1" +}) + +-- Default for all other monitors +hl.monitor({ + output = "", + mode = "preferred", + position = "auto", + scale = "auto", +}) + +-- In Clamshell Mode, deactivate the internal monitor +hl.bind("switch:on:Lid Switch", function() + hl.monitor({ output = "eDP-1", disabled = true }) +end, { locked = true }) + +hl.bind("switch:off:Lid Switch", function() + hl.monitor({ output = "eDP-1", disabled = false }) +end, { locked = true }) + + + + diff --git a/user/dot_config/hypr/hyprland-permissions.lua b/user/dot_config/hypr/hyprland-permissions.lua new file mode 100644 index 0000000..c1997ce --- /dev/null +++ b/user/dot_config/hypr/hyprland-permissions.lua @@ -0,0 +1,16 @@ + +-- See https://wiki.hypr.land/Configuring/Advanced-and-Cool/Permissions/ +-- Please note permission changes here require a Hyprland restart and are not applied on-the-fly +-- for security reasons + +-- hl.config({ +-- ecosystem = { +-- enforce_permissions = true, +-- }, +-- }) + +-- hl.permission("/usr/(bin|local/bin)/grim", "screencopy", "allow") +-- hl.permission("/usr/(lib|libexec|lib64)/xdg-desktop-portal-hyprland", "screencopy", "allow") +-- hl.permission("/usr/(bin|local/bin)/hyprpm", "plugin", "allow") + + diff --git a/user/dot_config/hypr/hyprland-variables.lua b/user/dot_config/hypr/hyprland-variables.lua new file mode 100644 index 0000000..181e93b --- /dev/null +++ b/user/dot_config/hypr/hyprland-variables.lua @@ -0,0 +1 @@ +-- test diff --git a/user/dot_config/hypr/hyprland.lua b/user/dot_config/hypr/hyprland.lua new file mode 100644 index 0000000..a304420 --- /dev/null +++ b/user/dot_config/hypr/hyprland.lua @@ -0,0 +1,131 @@ +hl.config({ autogenerated = false }) + +-- DMS_STARTUP_BEGIN +hl.on("hyprland.start", function() + hl.exec_cmd("dbus-update-activation-environment --systemd --all") +-- hl.exec_cmd("systemctl --user start hyprland-session.target") +end) +-- DMS_STARTUP_END + + +------------------ +---- MONITORS ---- +------------------ +require("hyprland-monitors") + +--------------------- +---- MY PROGRAMS ---- +--------------------- + +-- Set programs that you use +local terminal = "kitty" +local fileManager = "dolphin" +local menu = "hyprlauncher" + +------------------- +---- Variables ---- +------------------- +require("hyprland-variables") + +------------------- +---- AUTOSTART ---- +------------------- +require("hyprland-autostart") + +------------------------------- +---- ENVIRONMENT VARIABLES ---- +------------------------------- +require("hyprland-environment-variables") + +----------------------- +----- PERMISSIONS ----- +----------------------- +require("hyprland-permissions") + +----------------------- +---- LOOK AND FEEL ---- +----------------------- + + +hl.config({ + input = { + -- empty inherits XKB_DEFAULT_LAYOUT (libxkbcommon), falls back to "us" + kb_layout = "de", + numlock_by_default = true, + follow_mouse = 0, + touchpad = { + tap_to_click = true, + natural_scroll = true, + }, + }, + general = { + gaps_in = 5, + gaps_out = 5, + border_size = 2, + layout = "dwindle", + }, + decoration = { + rounding = 12, + active_opacity = 1.0, + inactive_opacity = 1.0, + shadow = { + enabled = true, + range = 30, + render_power = 5, + offset = "0 5", + color = "rgba(00000070)", + }, + }, + misc = { + disable_hyprland_logo = true, + disable_splash_rendering = true, + key_press_enables_dpms = true, + mouse_move_enables_dpms = true, + }, + dwindle = { + preserve_split = true, + }, + master = { + mfact = 0.5, + }, +}) + +hl.animation({ leaf = "windowsIn", enabled = true, speed = 3, bezier = "default" }) +hl.animation({ leaf = "windowsOut", enabled = true, speed = 3, bezier = "default" }) +hl.animation({ leaf = "workspaces", enabled = true, speed = 5, bezier = "default" }) +hl.animation({ leaf = "windowsMove", enabled = true, speed = 4, bezier = "default" }) +hl.animation({ leaf = "fade", enabled = true, speed = 3, bezier = "default" }) +hl.animation({ leaf = "border", enabled = true, speed = 3, bezier = "default" }) + +hl.window_rule({ match = { class = "^(org\\.wezfurlong\\.wezterm)$" }, tile = true }) +hl.window_rule({ match = { class = "^(org\\.gnome\\.)" }, rounding = 12 }) +hl.window_rule({ match = { class = "^(gnome-control-center)$" }, tile = true }) +hl.window_rule({ match = { class = "^(pavucontrol)$" }, tile = true }) +hl.window_rule({ match = { class = "^(nm-connection-editor)$" }, tile = true }) +hl.window_rule({ match = { class = "^(org\\.gnome\\.Calculator)$" }, float = true }) +hl.window_rule({ match = { class = "^(gnome-calculator)$" }, float = true }) +hl.window_rule({ match = { class = "^(galculator)$" }, float = true }) +hl.window_rule({ match = { class = "^(blueman-manager)$" }, float = true }) +hl.window_rule({ match = { class = "^(org\\.gnome\\.Nautilus)$" }, float = true }) +hl.window_rule({ match = { class = "^(xdg-desktop-portal)$" }, float = true }) +hl.window_rule({ + match = { class = "^(steam)$", title = "^(notificationtoasts)" }, + no_initial_focus = true, + pin = true, +}) +hl.window_rule({ + match = { class = "^(firefox)$", title = "^(Picture-in-Picture)$" }, + float = true, +}) +hl.window_rule({ match = { class = "^(zoom)$" }, float = true }) +hl.layer_rule({ match = { namespace = "^(quickshell)$" }, no_anim = true }) +hl.layer_rule({ match = { namespace = "^dms:.*" }, no_anim = true }) + +require("dms.colors") +--require("dms.outputs") +require("dms.layout") +require("dms.cursor") +require("dms.binds") +require("dms.binds-user") +require("dms.windowrules") +require("hyprland-monitors") diff --git a/user/dot_config/kitty/dank-tabs.conf b/user/dot_config/kitty/dank-tabs.conf new file mode 100644 index 0000000..b2305c8 --- /dev/null +++ b/user/dot_config/kitty/dank-tabs.conf @@ -0,0 +1,24 @@ +tab_bar_edge top +tab_bar_style powerline +tab_powerline_style slanted +tab_bar_align left +tab_bar_min_tabs 2 +tab_bar_margin_width 0.0 +tab_bar_margin_height 2.5 1.5 +tab_bar_margin_color #101418 + +tab_bar_background #101418 + +active_tab_foreground #cfe5ff +active_tab_background #124a73 +active_tab_font_style bold + +inactive_tab_foreground #c2c7cf +inactive_tab_background #101418 +inactive_tab_font_style normal + +tab_activity_symbol " ● " +tab_numbers_style 1 + +tab_title_template "{fmt.fg.red}{bell_symbol}{activity_symbol}{fmt.fg.tab}{title[:30]}{title[30:] and '…'} [{index}]" +active_tab_title_template "{fmt.fg.red}{bell_symbol}{activity_symbol}{fmt.fg.tab}{title[:30]}{title[30:] and '…'} [{index}]" diff --git a/user/dot_config/kitty/kitty.conf b/user/dot_config/kitty/kitty.conf index a7fd3b1..b1cd81f 100644 --- a/user/dot_config/kitty/kitty.conf +++ b/user/dot_config/kitty/kitty.conf @@ -261,7 +261,7 @@ font_size 12.0 #: so if you want to override it, place your value after the lines #: where the theme file is included. -# cursor_shape block +cursor_shape beam #: The cursor shape can be one of block, beam, underline. Note that #: when reloading the config this will be changed only if the cursor @@ -450,7 +450,7 @@ scrollback_lines 5000 #: value to/from always will only affect text subsequently received by #: kitty. -# copy_on_select no +copy_on_select yes #: Copy to clipboard or a private buffer on select. With this set to #: clipboard, selecting text with the mouse will cause the text to be @@ -493,7 +493,7 @@ scrollback_lines 5000 #: no-op: #: Has no effect. -# strip_trailing_spaces never +strip_trailing_spaces smart #: Remove spaces at the end of lines when copying to clipboard. A #: value of smart will do it when using normal selections, but not @@ -867,7 +867,7 @@ visual_bell_color #494d64 #: set the vertical and horizontal sides. Three values set top, #: horizontal and bottom. Four values set top, right, bottom and left. -window_padding_width 3 6 +window_padding_width 12 #: The window padding (in pts) (blank area between the text and the #: window border). A single value sets all four sides. Two values set @@ -912,7 +912,7 @@ window_padding_width 3 6 #: Fade the text in inactive windows by the specified amount (a number #: between zero and one, with zero being fully faded). -# hide_window_decorations no +hide_window_decorations yes #: Hide the window decorations (title-bar and window borders) with #: yes. On macOS, titlebar-only and titlebar-and-corners can be used @@ -1177,7 +1177,7 @@ window_padding_width 3 6 #: The foreground and background colors. -# background_opacity 1.0 +background_opacity 1.0 #: The opacity of the background. A number between zero and one, where #: one is opaque and zero is fully transparent. This will only work if @@ -1202,7 +1202,7 @@ window_padding_width 3 6 #: will only work if dynamic_background_opacity was enabled in the #: original config. -# background_blur 0 +background_blur 0 #: Set to a positive value to enable background blur (blurring of the #: visuals behind a transparent window) on platforms that support it. @@ -2598,6 +2598,23 @@ window_padding_width 3 6 #: }}} +# Key bindings for common actions +map ctrl+shift+n new_window +map ctrl+t new_tab +map ctrl+plus change_font_size all +1.0 +map ctrl+minus change_font_size all -1.0 +map ctrl+0 change_font_size all 0 + +# Tab configuration +tab_bar_style powerline +tab_bar_align left + +# Shell integration +shell_integration enabled + +# Dank color generation +include dank-tabs.conf + # BEGIN_KITTY_THEME # Catppuccin-Macchiato diff --git a/user/dot_config/mimeapps.list b/user/dot_config/mimeapps.list index 7a62811..4adb15d 100644 --- a/user/dot_config/mimeapps.list +++ b/user/dot_config/mimeapps.list @@ -1,39 +1,70 @@ [Default Applications] -x-scheme-handler/mailto=userapp-Thunderbird-3QI0S3.desktop -x-scheme-handler/mid=userapp-Thunderbird-3QI0S3.desktop -message/rfc822=userapp-Thunderbird-3QI0S3.desktop -x-scheme-handler/news=userapp-Thunderbird-AH40S3.desktop -x-scheme-handler/snews=userapp-Thunderbird-AH40S3.desktop -x-scheme-handler/nntp=userapp-Thunderbird-AH40S3.desktop -x-scheme-handler/feed=userapp-Thunderbird-WTV1S3.desktop +application/pdf=librewolf.desktop application/rss+xml=userapp-Thunderbird-WTV1S3.desktop -application/x-extension-rss=userapp-Thunderbird-WTV1S3.desktop -x-scheme-handler/webcal=userapp-Thunderbird-X7G9S3.desktop -x-scheme-handler/webcals=userapp-Thunderbird-X7G9S3.desktop -text/calendar=userapp-Thunderbird-X7G9S3.desktop +application/vnd.comicbook+zip=librewolf.desktop +application/vnd.comicbook-rar=librewolf.desktop +application/x-bzpdf=librewolf.desktop +application/x-ext-pdf=librewolf.desktop application/x-extension-ics=userapp-Thunderbird-X7G9S3.desktop -x-scheme-handler/net.thunderbird=userapp-Thunderbird-U229S3.desktop +application/x-extension-rss=userapp-Thunderbird-WTV1S3.desktop +application/x-gzpdf=librewolf.desktop +image/avif=dms-open.desktop +image/bmp=dms-open.desktop +image/gif=dms-open.desktop +image/jpeg=dms-open.desktop +image/png=dms-open.desktop +image/svg+xml=dms-open.desktop +image/webp=dms-open.desktop +inode/directory=nemo.desktop +message/rfc822=userapp-Thunderbird-3QI0S3.desktop +text/calendar=userapp-Thunderbird-X7G9S3.desktop +text/html=librewolf.desktop +text/plain=nvim.desktop +x-directory/normal=nemo.desktop +x-scheme-handler/about=librewolf.desktop +x-scheme-handler/calendar=dms-open.desktop +x-scheme-handler/feed=userapp-Thunderbird-WTV1S3.desktop x-scheme-handler/http=librewolf.desktop x-scheme-handler/https=librewolf.desktop -text/html=librewolf.desktop -x-scheme-handler/about=librewolf.desktop +x-scheme-handler/mailto=userapp-Thunderbird-3QI0S3.desktop +x-scheme-handler/mid=userapp-Thunderbird-3QI0S3.desktop +x-scheme-handler/net.thunderbird=userapp-Thunderbird-U229S3.desktop +x-scheme-handler/news=userapp-Thunderbird-AH40S3.desktop +x-scheme-handler/nntp=userapp-Thunderbird-AH40S3.desktop +x-scheme-handler/snews=userapp-Thunderbird-AH40S3.desktop x-scheme-handler/unknown=librewolf.desktop -inode/directory=nemo.desktop -x-directory/normal=nemo.desktop -text/plain=nvim.desktop +x-scheme-handler/webcal=userapp-Thunderbird-X7G9S3.desktop +x-scheme-handler/webcals=userapp-Thunderbird-X7G9S3.desktop [Added Associations] +application/pdf=librewolf.desktop; +application/rss+xml=userapp-Thunderbird-WTV1S3.desktop; +application/vnd.comicbook+zip=librewolf.desktop; +application/vnd.comicbook-rar=librewolf.desktop; +application/x-bzpdf=librewolf.desktop; +application/x-ext-pdf=librewolf.desktop; +application/x-extension-ics=userapp-Thunderbird-X7G9S3.desktop; +application/x-extension-rss=userapp-Thunderbird-WTV1S3.desktop; +application/x-gzpdf=librewolf.desktop; +image/avif=dms-open.desktop; +image/bmp=dms-open.desktop; +image/gif=dms-open.desktop; +image/jpeg=dms-open.desktop; +image/png=dms-open.desktop; +image/svg+xml=dms-open.desktop; +image/webp=dms-open.desktop; +message/rfc822=userapp-Thunderbird-3QI0S3.desktop; +text/calendar=userapp-Thunderbird-X7G9S3.desktop; +x-scheme-handler/calendar=dms-open.desktop; +x-scheme-handler/feed=userapp-Thunderbird-WTV1S3.desktop; x-scheme-handler/mailto=userapp-Thunderbird-3QI0S3.desktop; x-scheme-handler/mid=userapp-Thunderbird-3QI0S3.desktop; -message/rfc822=userapp-Thunderbird-3QI0S3.desktop; +x-scheme-handler/net.thunderbird=userapp-Thunderbird-U229S3.desktop; x-scheme-handler/news=userapp-Thunderbird-AH40S3.desktop; -x-scheme-handler/snews=userapp-Thunderbird-AH40S3.desktop; x-scheme-handler/nntp=userapp-Thunderbird-AH40S3.desktop; -x-scheme-handler/feed=userapp-Thunderbird-WTV1S3.desktop; -application/rss+xml=userapp-Thunderbird-WTV1S3.desktop; -application/x-extension-rss=userapp-Thunderbird-WTV1S3.desktop; +x-scheme-handler/snews=userapp-Thunderbird-AH40S3.desktop; x-scheme-handler/webcal=userapp-Thunderbird-X7G9S3.desktop; x-scheme-handler/webcals=userapp-Thunderbird-X7G9S3.desktop; -text/calendar=userapp-Thunderbird-X7G9S3.desktop; -application/x-extension-ics=userapp-Thunderbird-X7G9S3.desktop; -x-scheme-handler/net.thunderbird=userapp-Thunderbird-U229S3.desktop; + +[Removed Associations] +