Adjusting desktop theme to Numix "bug free", adding 35-motd which read & display random line from /etc/update-motd.d/quotes.txt ... if exits. Currently not showing any output
This commit is contained in:
parent
661189b2f9
commit
4b6956df94
@ -2,6 +2,6 @@
|
||||
|
||||
<channel name="xfce4-notifyd" version="1.0">
|
||||
<property name="notify-location" type="uint" value="2"/>
|
||||
<property name="theme" type="string" value="NumixHolo"/>
|
||||
<property name="theme" type="string" value="Numix"/>
|
||||
<property name="expire-timeout" type="int" value="5"/>
|
||||
</channel>
|
||||
|
||||
@ -53,7 +53,7 @@
|
||||
<property name="snap_to_border" type="bool" value="true"/>
|
||||
<property name="snap_to_windows" type="bool" value="false"/>
|
||||
<property name="snap_width" type="int" value="10"/>
|
||||
<property name="theme" type="string" value="NumixHolo"/>
|
||||
<property name="theme" type="string" value="Numix"/>
|
||||
<property name="tile_on_move" type="bool" value="true"/>
|
||||
<property name="title_alignment" type="string" value="center"/>
|
||||
<property name="title_font" type="string" value="Sans Bold 9"/>
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
<channel name="xsettings" version="1.0">
|
||||
<property name="Net" type="empty">
|
||||
<property name="ThemeName" type="string" value="ThinIce"/>
|
||||
<property name="ThemeName" type="string" value="Numix"/>
|
||||
<property name="IconThemeName" type="string" value="Vibrancy-Colors-Full-Dark"/>
|
||||
<property name="DoubleClickTime" type="empty"/>
|
||||
<property name="DoubleClickDistance" type="empty"/>
|
||||
|
||||
@ -141,7 +141,7 @@ PACKAGE_LIST_DESKTOP="xserver-xorg xserver-xorg-video-fbdev gvfs-backends gvfs-f
|
||||
gtk2-engines gtk2-engines-murrine gtk2-engines-pixbuf libgtk2.0-bin gcj-jre-headless xfce4-screenshooter libgnome2-perl gksu bluetooth \
|
||||
network-manager-gnome xfce4-notifyd gnome-keyring gcr libgck-1-0 libgcr-3-common p11-kit pasystray pavucontrol pulseaudio \
|
||||
paman pavumeter pulseaudio-module-gconf pulseaudio-module-bluetooth blueman libpam-gnome-keyring libgl1-mesa-dri mpv \
|
||||
libreoffice-writer libreoffice-style-tango libreoffice-gtk policykit-1"
|
||||
libreoffice-writer libreoffice-style-tango libreoffice-gtk policykit-1 numix-gtk-theme"
|
||||
|
||||
PACKAGE_LIST_EXCLUDE="xfce4-mixer"
|
||||
|
||||
|
||||
9
scripts/update-motd.d/35-motd
Normal file
9
scripts/update-motd.d/35-motd
Normal file
@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
quotes="/etc/update-motd.d/quotes.txt"
|
||||
if [[ -f $quotes ]]; then
|
||||
|
||||
random_line=$(shuf -i 1-$(wc -l < $quotes) -n 1)
|
||||
quote=$(sed -n -e "$random_line"p $quotes)
|
||||
[[ -n $quote ]] && echo -e "\e[93mTip of the day:\e[39m $quote\n"
|
||||
fi
|
||||
Loading…
Reference in New Issue
Block a user