new update
This commit is contained in:
3
tromjaro/xfce/desktop-overlay/etc/skel/.local/bin/fix-tweaked-desktop-files
Normal file → Executable file
3
tromjaro/xfce/desktop-overlay/etc/skel/.local/bin/fix-tweaked-desktop-files
Normal file → Executable file
@ -1,6 +1,7 @@
|
||||
#!/bin/bash
|
||||
pidof -sq -o %PPID -x "$(basename "$0")" && exit
|
||||
data="$HOME"/.local/share/applications/tweaked-desktop-files
|
||||
data2="$HOME"/.local/share/applications/bakkedup-desktop-files
|
||||
|
||||
# Directories where desktop files are stored
|
||||
user="$HOME"/.local/share/applications
|
||||
@ -45,7 +46,7 @@ fixfiles() {
|
||||
[ -f "$pacman_local/$name" ] ||
|
||||
[ -f "$pacman_global/$name" ] ||
|
||||
[ -f "$snap/$name" ] ||
|
||||
mv "$file" "$file.bak"
|
||||
mv "$file" "$file.bak" && echo "$line" >> "$data2"
|
||||
done < "$data"
|
||||
|
||||
[ "$copied" = 'true' ] && [ "$(stat -c '%Y' "$data")" = "$lastmod" ] && sort "$tmp" | uniq > "$data"
|
||||
|
@ -1,9 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Version=1.1
|
||||
Type=Application
|
||||
Name=APPS
|
||||
Comment=The apps menu
|
||||
Icon=view-list-icons
|
||||
Exec=app-finder
|
||||
Actions=
|
||||
Categories=System;
|
@ -1,12 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Version=1.1
|
||||
Type=Application
|
||||
Name=Application Finder
|
||||
NoDisplay=true
|
||||
Comment=Find and launch applications installed on your system
|
||||
Icon=view-list-icons
|
||||
Exec=xfce4-appfinder
|
||||
Actions=
|
||||
Categories=Utility;X-XFCE;
|
||||
Keywords=program;applications;bookmarks;
|
||||
StartupNotify=true
|
@ -1,13 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Version=1.1
|
||||
Type=Application
|
||||
Name=App Launcher
|
||||
NoDisplay=true
|
||||
Comment=Enter a command you want to launch
|
||||
Icon=view-list-icons
|
||||
OnlyShowIn=XFCE;
|
||||
Exec=xfce4-appfinder
|
||||
Actions=
|
||||
Categories=Utility;
|
||||
Keywords=run;command;application;program;finder;search;launcher;everything;spotlight;sherlock;applesearch;unity dash;krunner;synapse;ulauncher;launchy;gnome do;pie;apwal;recoll;alfred;quicksilver;tracker;beagle;kupfer;
|
||||
StartupNotify=true
|
Reference in New Issue
Block a user