See the Security and Bug Fixes Section - Grub EFI Install Updates Fix Sticky


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Optional Widget for Linux Lite 3.2
#52
Hi to everyone,
I propose a little modification in .conky/widget file. With current configuration, if you are logged on many tty (or x-terminal) conky reports your login for any login you made, with a terrible 'look&feel'.
[Image: 9nhInTE.jpg]
To modify this behaviour, I've made a little script, and saved it as "userlog.sh" in ~/.conky/userlog.sh.
Code:
~$ cat .conky/userlog.sh
#!/bin/bash
users|tr ' ' '\n'|sort -u|tr '\n' ' '
Then, I modified ~/.conky/widget as described below:
Code:
~$ diff .conky/widget.orig .conky/widget
122c122,123
< ${color}Logged in as:    ${alignr}${color}${user_names}
---
> #${color}Logged in as:    ${alignr}${color}${user_names}
> ${color}Logged in as:  ${alignr}${execi 10 ~/.conky/userlog.sh}

At picture below you can see the final result.
[Image: JHwCNdz.jpg]
Hope you'll appreciate.

Franco 'frakbe'
Reply


Messages In This Thread
Optional Widget for Linux Lite 3.2 - by Valtam - 09-14-2016, 08:15 AM
Re: Optional Widget for Linux Lite 3.2 - by frakbe - 11-14-2016, 09:56 AM

Forum Jump:


Users browsing this thread: 6 Guest(s)