aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2026-11-10 10:10:05 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2026-11-10 10:10:05 +0300
commitdb1c45b344e02b0f4b89e15355a183d02c8f43e5 (patch)
tree8b8fe9e73e358295ae4743210912725ce0adeeb5
parentd5652c6575b019bd6c1739f08379ef71e3a87ca6 (diff)
downloadswayrice-db1c45b344e02b0f4b89e15355a183d02c8f43e5.tar.gz
swayrice-db1c45b344e02b0f4b89e15355a183d02c8f43e5.zip
dms, niri: some more minor changes
* Trying out another bar layout, let's see how it goes. * Also, finally, updated the shortcut for changing the wallpaper from nsxiv.
-rw-r--r--dotfiles/.config/dms/settings.json240
-rw-r--r--dotfiles/.config/mimeapps.list4
-rw-r--r--dotfiles/.config/niri/config.kdl10
-rwxr-xr-xdotfiles/.config/nsxiv/exec/key-handler20
-rw-r--r--dotfiles/.config/zsh/shortcuts1
5 files changed, 163 insertions, 112 deletions
diff --git a/dotfiles/.config/dms/settings.json b/dotfiles/.config/dms/settings.json
index 165b8b3..00dcc8b 100644
--- a/dotfiles/.config/dms/settings.json
+++ b/dotfiles/.config/dms/settings.json
@@ -42,11 +42,11 @@
"buttonColorMode": "primaryContainer",
"niriLayoutGapsOverride": 6,
"niriLayoutRadiusOverride": 3,
- "niriLayoutBorderSize": 3,
+ "niriLayoutBorderSize": 4,
"clockFormat": "24h",
"showSeconds": true,
"syncComponentAnimationSpeeds": false,
- "motionEffect": 1,
+ "motionEffect": 0,
"barElevationEnabled": true,
"blurEnabled": true,
"blurLayerOutlineOpacity": 0.4,
@@ -93,7 +93,7 @@
"enabled": true,
"w": 4,
"h": 1,
- "col": 4,
+ "col": 0,
"row": 1,
"small": true
},
@@ -102,7 +102,7 @@
"enabled": true,
"w": 4,
"h": 1,
- "col": 4,
+ "col": 0,
"row": 2,
"deviceName": "software:DP-1",
"small": true
@@ -112,7 +112,7 @@
"enabled": true,
"w": 4,
"h": 1,
- "col": 0,
+ "col": 4,
"row": 1
},
{
@@ -128,8 +128,8 @@
"enabled": true,
"w": 4,
"h": 1,
- "col": 0,
- "row": 3
+ "col": 4,
+ "row": 2
},
{
"id": "nightMode",
@@ -153,7 +153,7 @@
"w": 4,
"h": 1,
"col": 0,
- "row": 2
+ "row": 3
},
{
"id": "audioInput",
@@ -283,10 +283,6 @@
},
{
"id": "separator",
- "enabled": true
- },
- {
- "id": "separator",
"enabled": false
},
{
@@ -294,43 +290,31 @@
"enabled": true,
"background": false,
"clockDateOrder": "dateFirst",
- "overflowMode": "bar"
+ "overflowMode": "bar",
+ "clockNotificationBadge": false,
+ "clockCompactMode": false
},
{
- "id": "weather",
+ "id": "separator",
"enabled": true
},
{
- "id": "separator",
- "enabled": true
+ "id": "notificationButton",
+ "enabled": true,
+ "overflowPriority": 2
},
{
- "id": "workspaceSwitcher",
+ "id": "music",
"enabled": true,
- "showWorkspaceIndex": true,
- "showWorkspacePadding": false,
- "workspaceOccupiedColorMode": "primaryContainer",
- "workspaceUnfocusedMonitorSeparateAppearance": true,
- "workspaceUnfocusedMonitorColorMode": "secondary",
- "workspaceUnfocusedMonitorOccupiedColorMode": "secondaryContainer",
- "workspaceIndicatorStyle": "dots",
- "workspaceIndicatorRoundness": 12,
- "showWorkspaceApps": false,
- "maxWorkspaceIcons": 1,
- "showOccupiedWorkspacesOnly": false,
- "workspaceFocusedBorderEnabled": false,
- "workspaceActiveAppHighlightEnabled": false,
- "workspaceFollowFocus": false,
- "showWorkspaceName": false,
- "workspaceAppIconSizeOffset": 0,
- "groupActiveWorkspaceApps": false,
- "groupWorkspaceApps": true,
- "workspaceIndicatorCompact": false,
- "workspaceColorMode": "default",
- "overflowMode": "bar",
- "workspaceOccupiedCustomColor": "#625B71",
- "reverseScrolling": false,
- "background": false
+ "mediaSize": 3,
+ "mediaShowLyrics": false,
+ "mediaAdaptiveWidthEnabled": true,
+ "overflowMode": "section",
+ "mediaStyle": "controls"
+ },
+ {
+ "id": "weather",
+ "enabled": true
},
{
"id": "separator",
@@ -407,15 +391,6 @@
"enabled": true
},
{
- "id": "music",
- "enabled": true,
- "mediaSize": 3,
- "mediaShowLyrics": false,
- "mediaAdaptiveWidthEnabled": true,
- "overflowMode": "section",
- "mediaStyle": "controls"
- },
- {
"id": "controlCenterButton",
"enabled": true,
"showAudioIcon": true,
@@ -445,9 +420,32 @@
"enabled": true
},
{
- "id": "notificationButton",
+ "id": "workspaceSwitcher",
"enabled": true,
- "overflowPriority": 2
+ "showWorkspaceIndex": true,
+ "showWorkspacePadding": false,
+ "workspaceOccupiedColorMode": "primaryContainer",
+ "workspaceUnfocusedMonitorSeparateAppearance": true,
+ "workspaceUnfocusedMonitorColorMode": "secondary",
+ "workspaceUnfocusedMonitorOccupiedColorMode": "secondaryContainer",
+ "workspaceIndicatorStyle": "dots",
+ "workspaceIndicatorRoundness": 12,
+ "showWorkspaceApps": false,
+ "maxWorkspaceIcons": 1,
+ "showOccupiedWorkspacesOnly": false,
+ "workspaceFocusedBorderEnabled": false,
+ "workspaceActiveAppHighlightEnabled": false,
+ "workspaceFollowFocus": false,
+ "showWorkspaceName": false,
+ "workspaceAppIconSizeOffset": 0,
+ "groupActiveWorkspaceApps": false,
+ "groupWorkspaceApps": true,
+ "workspaceIndicatorCompact": false,
+ "workspaceColorMode": "default",
+ "overflowMode": "bar",
+ "workspaceOccupiedCustomColor": "#625B71",
+ "reverseScrolling": false,
+ "background": false
}
],
"spacing": 0,
@@ -691,40 +689,48 @@
],
"desktopWidgetInstances": [
{
- "id": "dw_1784758982739_qdj84e36i",
- "widgetType": "mediaPlayer",
- "name": "Media Player",
- "enabled": false,
+ "id": "dw_1784895864392_58pf9dwbo",
+ "widgetType": "desktopClock",
+ "name": "Desktop Clock",
+ "enabled": true,
"config": {
+ "style": "digital",
+ "transparency": 0.38,
+ "colorMode": "secondary",
+ "customColor": "#bcbf95",
+ "showDate": true,
+ "showAnalogNumbers": true,
+ "showAnalogSeconds": true,
"displayPreferences": [
"all"
],
- "showOnOverviewOnly": false,
- "rotateThumbnail": false,
- "showOnOverlay": true
+ "showDigitalSeconds": true,
+ "showOnOverviewOnly": true,
+ "weight": 600,
+ "fontFamily": "DM Serif Display",
+ "twoTone": true,
+ "showOnOverlay": false,
+ "showOnOverview": true,
+ "syncPositionAcrossScreens": true,
+ "italic": false
}
},
{
- "id": "dw_1784895864392_58pf9dwbo",
- "widgetType": "desktopClock",
- "name": "Desktop Clock",
+ "id": "dw_1794228292936_dai4am0cp",
+ "widgetType": "mediaPlayer",
+ "name": "Media Player",
"enabled": false,
"config": {
- "style": "analog",
- "transparency": 0.9,
- "colorMode": "secondary",
- "customColor": "#ffffff",
- "showDate": false,
- "showAnalogNumbers": true,
- "showAnalogSeconds": true,
"displayPreferences": [
{
- "name": "DP-1",
- "model": "27M1N3500LS"
+ "name": "HDMI-A-1",
+ "model": "LG IPS FULLHD"
}
],
- "showDigitalSeconds": true,
- "showOnOverviewOnly": false
+ "rotateThumbnail": false,
+ "showArtBackdrop": true,
+ "borderOpacity": 100,
+ "backgroundOpacity": 75
}
}
],
@@ -812,8 +818,8 @@
"magnificationExpand": true,
"order": [
"dock_launcher",
- "dock_1793737291895",
"dock_apps",
+ "dock_1793737291895",
"dock_trash"
],
"widgets": [
@@ -857,7 +863,8 @@
"media": {
"waveProgress": false,
"panelColumns": 7,
- "titleFont": "DM Serif Display"
+ "titleFont": "DM Serif Display",
+ "artStyle": "rounded"
},
"calendar": {
"weekends": true
@@ -868,10 +875,52 @@
"rows": 5
},
"overview": {
- "panelRows": 6
+ "panelRows": 6,
+ "panelColumns": 7
},
"disk": {
"trend": false
+ },
+ "clock": {
+ "seconds": true,
+ "tone": "secondary"
+ },
+ "weather": {
+ "widgets": [
+ {
+ "id": "conditions",
+ "w": 2,
+ "h": 2,
+ "tone": "secondary",
+ "city": true,
+ "col": 0,
+ "row": 0
+ },
+ {
+ "id": "readings",
+ "w": 2,
+ "h": 2,
+ "tone": "",
+ "col": 2,
+ "row": 0
+ },
+ {
+ "id": "hourly",
+ "w": 4,
+ "h": 2,
+ "forecast": "chart",
+ "col": 0,
+ "row": 2
+ },
+ {
+ "id": "daily",
+ "w": 4,
+ "h": 2,
+ "forecast": "chart",
+ "col": 0,
+ "row": 4
+ }
+ ]
}
},
"dmsWindowsFloatingSeeded": [
@@ -882,7 +931,7 @@
"audioMono": false,
"connectedFrameBarStyleBackups": {},
"frameEnabled": false,
- "springBounce": 1,
+ "springBounce": 0,
"lockScreenWidgetInstances": [
{
"id": "lock_clock",
@@ -1119,6 +1168,10 @@
{
"id": "notifications",
"enabled": false
+ },
+ {
+ "id": "settings",
+ "enabled": true
}
],
"lockScreenShowPowerActions": true,
@@ -1135,8 +1188,8 @@
"modalDarkenBackground": false,
"rememberLastQuery": false,
"rememberLastMode": false,
- "dankLauncherV2IncludeFoldersInAll": true,
- "dankLauncherV2IncludeFilesInAll": true,
+ "dankLauncherV2IncludeFoldersInAll": false,
+ "dankLauncherV2IncludeFilesInAll": false,
"displayProfileAutoSelect": false,
"muxUseCustomCommand": false,
"widgetColorMode": "default",
@@ -1151,28 +1204,28 @@
"spotlightBarShowModeChips": false,
"dankLauncherV2ShowFooter": true,
"dashTabPosition": "auto",
- "dashTabsEvenlySpaced": true,
+ "dashTabsEvenlySpaced": false,
"wallpaperFillMode": "Fill",
"lockScreenWallpaperPath": "",
"dashCards": [
{
"id": "clock",
- "w": 3,
+ "w": 2,
"h": 1,
"col": 0,
"row": 0
},
{
"id": "weather",
- "w": 2,
+ "w": 1,
"h": 1,
- "col": 0,
- "row": 6
+ "col": 2,
+ "row": 0
},
{
"id": "notifications",
- "w": 3,
- "h": 6,
+ "w": 4,
+ "h": 5,
"col": 3,
"row": 0
},
@@ -1194,15 +1247,15 @@
"id": "network",
"w": 2,
"h": 1,
- "col": 4,
- "row": 6
+ "col": 5,
+ "row": 5
},
{
"id": "sysmon",
"w": 2,
"h": 1,
- "col": 2,
- "row": 6
+ "col": 3,
+ "row": 5
}
],
"avatarRing": "secondary",
@@ -1223,5 +1276,10 @@
"id": "openmeteo",
"enabled": true
}
- ]
+ ],
+ "m3ElevationOpacity": 50,
+ "m3ElevationEnabled": true,
+ "m3ElevationIntensity": 12,
+ "matugenTemplateNiri": true,
+ "reduceMotion": false
} \ No newline at end of file
diff --git a/dotfiles/.config/mimeapps.list b/dotfiles/.config/mimeapps.list
index 6f381a9..762e9e1 100644
--- a/dotfiles/.config/mimeapps.list
+++ b/dotfiles/.config/mimeapps.list
@@ -44,11 +44,13 @@ x-scheme-handler/msteams=teams.desktop
x-scheme-handler/qute=org.qutebrowser.qutebrowser.desktop
x-scheme-handler/tg=org.telegram.desktop.desktop
x-scheme-handler/tonsite=org.telegram.desktop.desktop
+inode/directory=dev.duxlabs.files.desktop
[Added Associations]
x-scheme-handler/geo=openstreetmap-geo-handler.desktop;
x-scheme-handler/tg=userapp-Telegram Desktop-BLI1G1.desktop;org.telegram.desktop.desktop;
x-scheme-handler/tonsite=org.telegram.desktop.desktop;
+inode/directory=dev.duxlabs.files.desktop;lf.desktop;
+application/json=nvim.desktop;
[Removed Associations]
-
diff --git a/dotfiles/.config/niri/config.kdl b/dotfiles/.config/niri/config.kdl
index 186d2b6..168cc33 100644
--- a/dotfiles/.config/niri/config.kdl
+++ b/dotfiles/.config/niri/config.kdl
@@ -168,25 +168,15 @@ layout {
inactive-gradient from="#252832" to="#676775" angle=45
}
- // You can enable drop shadows for windows.
shadow {
- // Uncomment the next line to enable shadows.
on
-
// draw-behind-window true
-
- // You can change how shadows look. The values below are in logical
- // pixels and match the CSS box-shadow properties.
-
// Softness controls the shadow blur radius.
softness 15
-
// Spread expands the shadow.
spread 6
-
// Offset moves the shadow relative to the window.
offset x=0 y=2
-
// You can also change the shadow color and opacity.
color "#000a"
}
diff --git a/dotfiles/.config/nsxiv/exec/key-handler b/dotfiles/.config/nsxiv/exec/key-handler
index 773b6ee..338945c 100755
--- a/dotfiles/.config/nsxiv/exec/key-handler
+++ b/dotfiles/.config/nsxiv/exec/key-handler
@@ -34,17 +34,17 @@ fi
while read file; do
case "$1" in
- "C-a" | "C-1")
- setbg "$file"
- exit ;;
- "C-2")
- setbg "$file" "2"
- exit ;;
- "C-s")
- setbglblur "$file"
- exit ;;
+ # "C-a" | "C-1")
+ # setbg "$file"
+ # exit ;;
+ # "C-2")
+ # setbg "$file" "2"
+ # exit ;;
+ # "C-s")
+ # setbglblur "$file"
+ # exit ;;
"C-d")
- setbglsimple "$file"
+ dms ipc call wallpaper set "$file"
exit ;;
"C-c")
wl-copy < "$file"
diff --git a/dotfiles/.config/zsh/shortcuts b/dotfiles/.config/zsh/shortcuts
index 77ef9bf..a0a8fa8 100644
--- a/dotfiles/.config/zsh/shortcuts
+++ b/dotfiles/.config/zsh/shortcuts
@@ -71,6 +71,7 @@ lfcd() {
# Some keybindings
bindkey -s '^o' 'lfcd\n'
+bindkey -s '^p' 'dfiles open -n .\n'
bindkey -s '^t' 'spw\n'
# Mounting drive shortcuts