Browse Source

Make the Desktop less cluttered.

parazyd 1 year ago
parent
commit
271d9e7a66

+ 3 - 10
etc/rc.local

@@ -11,20 +11,13 @@
11 11
 echo "luther heads = NOPASSWD: /usr/local/lib/heads/heads-welcome" \
12 12
 	> /etc/sudoers.d/heads-welcome
13 13
 
14
+wm=openbox
14 15
 for i in $(cat /proc/cmdline); do
15 16
 	[ "$i" = "awesome" ] && wm=awesome
16 17
 done
17 18
 
18
-case "$wm" in
19
-	awesome)
20
-		cp /usr/local/share/heads/awesome.xinitrc /home/luther/.xinitrc
21
-		cp /usr/local/share/heads/welcome-awesome.txt /home/luther/welcome.txt
22
-		;;
23
-	*)
24
-		cp /usr/local/share/heads/openbox.xinitrc /home/luther/.xinitrc
25
-		cp /usr/local/share/heads/welcome-openbox.txt /home/luther/welcome.txt
26
-		;;
27
-esac
19
+cp /usr/local/share/heads/$wm.xinitrc /home/luther/.xinitrc
20
+cp /usr/local/share/heads/welcome-$wm.xinitrc /home/luther/Desktop/welcome.txt
28 21
 
29 22
 # Needs allowed_users=anybody in Xwrapper.config
30 23
 grep -q ' nox' /proc/cmdline || su -c /usr/local/lib/heads/heads-startx luther &

+ 1 - 1
home/luther/.config/pcmanfm/default/desktop-items-0.conf

@@ -6,7 +6,7 @@ desktop_bg=#000000
6 6
 desktop_fg=#ffffff
7 7
 desktop_shadow=#000000
8 8
 desktop_font=Ubuntu 10
9
-folder=/home/luther
9
+folder=/home/luther/Desktop
10 10
 show_wm_menu=0
11 11
 sort=mtime;ascending;
12 12
 show_documents=0

home/luther/ONIONS → home/luther/Desktop/ONIONS


home/luther/Removable Drives → home/luther/Desktop/Removable Drives