| The Following User Says Thank You to DUDEXYZ For This Useful Post: | ||
#!/bin/sh
myprofilename=$(cat /home/user/.profiled/current)
myprofilevibr=$(dbus-send --type=method_call --print-reply --dest=com.nokia.profiled /com/nokia/profiled com.nokia.profiled.get_values string:"$myprofilename" | awk -F'"' 'NR==75 {print $2}')
if [ "$myprofilename" = 'general' ]; then
myprofile=''
elif [ "$myprofilename" = 'silent' ]; then
myprofile='Mute'
else
myprofile=$myprofilename
fi
if [ "$myprofilevibr" = 'On' ]; then
myprofile=$myprofile' {}'
fi
echo $myprofile
| The Following User Says Thank You to neter For This Useful Post: | ||
| The Following User Says Thank You to sakya For This Useful Post: | ||
| The Following User Says Thank You to Mentalist Traceur For This Useful Post: | ||
| The Following User Says Thank You to s4br0s0 For This Useful Post: | ||