Advertisement
cirrus

alsi.output

Jun 10th, 2013
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.84 KB | None | 0 0
  1. #!/usr/bin/perl
  2.  
  3. # '%sTitle:%s %s'
  4. #  |    \   \  ` Value
  5. #  \     \   `-- End of BC (or start of NC)
  6. #   BC    ` Label
  7.  
  8. # NC = normal color (color1)
  9. # BC = bold color   (color2)
  10.  
  11. #-- Other valid options are:
  12. # USERNAME   - ex: {USERNAME => '%sUsername:%s %s'},
  13. # CPU_LOAD   - ex: {CPU_LOAD => '%sCPU load average:%s %s'},
  14. # INIT_MODE  - ex: {INIT_MODE => '%sInit mode:%s %s'},
  15. # OTHER      - ex: {OTHER => '%sResolution:%s 1024x768'},
  16. # COMMAND    - ex: {COMMAND => ['%sBinaries:%s %s', 'ls /usr/bin | wc -l']},
  17. # HARDCODED  - ex: {HARDCODED => "\e[1;37m\e[41mTHIS IS ALSI\e[0m"},
  18.  
  19. # GTK3_THEME      - ex: {GTK3_THEME      => '%sGTK3 theme:%s %s'},
  20. # GTK3_ICON_THEME - ex: {GTK3_ICON_THEME => '%sGTK3 icon theme:%s %s'},
  21. # GTK3_FONT_NAME  - ex: {GTK3_FONT_NAME  => '%sGTK3 font name:%s %s'},
  22.  
  23. [
  24.     {OS       => '%sOS:%s %s'},          # Operating system
  25.     {USERNAME => '%sUsername:%s %s'},
  26.     {OTHER    => '%sResolution:%s 3840x1080'},
  27.     {HOSTNAME => '%sHostname:%s %s'},    # Hostname
  28.     {UPTIME   => '%sUptime:%s %s'},      # Uptime
  29.     {KERNEL   => '%sKernel:%s %s'},      # Kernel version
  30.     {SHELL    => '%sShell:%s %s'},       # Shell
  31.     {PACKAGES => '%sPackages:%s %s'},    # Number of installed packages
  32.     {WM_DE    => '%s%s:%s %s'},          # Window Manager or Desktop Environment
  33.  
  34.     {GTK2_THEME      => '%sGTK2 theme:%s %s'},         # Gtk2 theme
  35.     {GTK2_ICON_THEME => '%sGTK2 icon theme:%s %s'},    # Gtk2 icon theme
  36.     {GTK2_FONT_NAME  => '%sGTK2 font name:%s %s'},     # Gtk2 font name
  37.  
  38.     {RAM        => '%sRAM:%s %s'},                # RAM usage
  39.     {CPU        => '%sCPU:%s %s'},                # CPU name
  40.     {PARTITIONS => undef},                        # Partitions goes here
  41.     {HARDCODED  => "\e[1;37m\e[31m▁ ▂ ▃ ▄ ▅\e[0;51m Arch Is My Bitch\e[1;37m\e[31m ▅ ▄ ▃ ▂ ▁\e[0m"},
  42.  
  43. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement