diff options
author | Mavridis Philippe <[email protected]> | 2024-07-31 22:09:23 +0300 |
---|---|---|
committer | Mavridis Philippe <[email protected]> | 2024-08-01 14:02:32 +0300 |
commit | e84954ddc1a0406ae319dd02a7d946ed62cb6859 (patch) | |
tree | 1eea004bdcd8d8b2e15b806a7d135ddbd28e8318 /knetattach/tdeconf_update | |
parent | e610fb2466e968998ce0ede4e582a0771387f90c (diff) | |
download | tdebase-e84954ddc1a0406ae319dd02a7d946ed62cb6859.tar.gz tdebase-e84954ddc1a0406ae319dd02a7d946ed62cb6859.zip |
Use server icon for remote folders
This icon is more accurate than the more generic applications-internet.
Includes a tdeconf_update script.
Signed-off-by: Mavridis Philippe <[email protected]>
Diffstat (limited to 'knetattach/tdeconf_update')
-rw-r--r-- | knetattach/tdeconf_update/CMakeLists.txt | 18 | ||||
-rw-r--r-- | knetattach/tdeconf_update/remote_folder_icon.upd | 2 | ||||
-rwxr-xr-x | knetattach/tdeconf_update/remote_folder_icon_upd.sh | 4 |
3 files changed, 24 insertions, 0 deletions
diff --git a/knetattach/tdeconf_update/CMakeLists.txt b/knetattach/tdeconf_update/CMakeLists.txt new file mode 100644 index 000000000..b32f6417c --- /dev/null +++ b/knetattach/tdeconf_update/CMakeLists.txt @@ -0,0 +1,18 @@ +############################################################################### +# # +# Copyright © 2024 Mavridis Philippe <[email protected] # +# # +# Licensed under the terms of GNU General Public License v2 or later. # +# Improvements are welcome! # +# # +############################################################################### + +install( + FILES remote_folder_icon.upd + DESTINATION ${KCONF_UPDATE_INSTALL_DIR} +) + +install( + PROGRAMS remote_folder_icon_upd.sh + DESTINATION ${KCONF_UPDATE_INSTALL_DIR} +)
\ No newline at end of file diff --git a/knetattach/tdeconf_update/remote_folder_icon.upd b/knetattach/tdeconf_update/remote_folder_icon.upd new file mode 100644 index 000000000..66f75f96d --- /dev/null +++ b/knetattach/tdeconf_update/remote_folder_icon.upd @@ -0,0 +1,2 @@ +Id=remote_folder_icon_update +Script=remote_folder_icon_upd.sh
\ No newline at end of file diff --git a/knetattach/tdeconf_update/remote_folder_icon_upd.sh b/knetattach/tdeconf_update/remote_folder_icon_upd.sh new file mode 100755 index 000000000..b859896ff --- /dev/null +++ b/knetattach/tdeconf_update/remote_folder_icon_upd.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +find "$HOME/.trinity/share/apps/remoteview" -type f -iname "*.desktop" -print0 2>/dev/null | \ + xargs -r0 sed -ri "s|Icon=applications-internet|Icon=server|g"
\ No newline at end of file |