cleanup
This commit is contained in:
parent
31c487ce9e
commit
e3f460acc0
|
@ -0,0 +1,18 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
export XDG_DESKTOP_DIR="$HOME/Desktop"
|
||||||
|
export XDG_DOCUMENTS_DIR="$HOME/Documents"
|
||||||
|
export XDG_DOWNLOAD_DIR="$HOME/Downloads"
|
||||||
|
export XDG_MUSIC_DIR="$HOME/Music"
|
||||||
|
export XDG_PICTURES_DIR="$HOME/Pictures"
|
||||||
|
export XDG_PUBLICSHARE_DIR="$HOME/Public"
|
||||||
|
export XDG_TEMPLATES_DIR="$HOME/Templates"
|
||||||
|
export XDG_VIDEOS_DIR="$HOME/Videos"
|
||||||
|
export XDG_CONFIG_HOME="$HOME/.config"
|
||||||
|
export XDG_DATA_HOME="$HOME/.local/share"
|
||||||
|
export XDG_CACHE_HOME="$HOME/.cache"
|
||||||
|
export XDG_STATE_HOME="$HOME/.local/state"
|
||||||
|
|
||||||
|
x="$(cat "$XDG_STATE_HOME/dbus_session_bus_address")"
|
||||||
|
export DBUS_SESSION_BUS_ADDRESS="$x"
|
||||||
|
export DISPLAY=:0
|
|
@ -1,3 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
echo lol
|
|
|
@ -4,7 +4,6 @@ use warnings;
|
||||||
use feature("signatures");
|
use feature("signatures");
|
||||||
|
|
||||||
use File::Basename;
|
use File::Basename;
|
||||||
use File::Copy;
|
|
||||||
use Cwd;
|
use Cwd;
|
||||||
|
|
||||||
sub fs_root ($file_name) {
|
sub fs_root ($file_name) {
|
||||||
|
@ -75,5 +74,5 @@ my $file_dest = $files[$index][0] . $files[$index][1];
|
||||||
my $file_src = $trash_dir . "files/" . $files[$index][3];
|
my $file_src = $trash_dir . "files/" . $files[$index][3];
|
||||||
my $file_info = $trash_dir . "info/" . $files[$index][3];
|
my $file_info = $trash_dir . "info/" . $files[$index][3];
|
||||||
|
|
||||||
move( $file_src, $file_dest ) or die "$!\n";
|
rename( $file_src, $file_dest ) or die "$!\n";
|
||||||
unlink($file_info);
|
unlink($file_info);
|
||||||
|
|
Loading…
Reference in New Issue