diff options
| author | Blista Kanjo | 2023-06-16 23:18:00 -0400 |
|---|---|---|
| committer | Blista Kanjo | 2023-06-16 23:18:00 -0400 |
| commit | 6766559bb10f173388211c47346de7fe314f1828 (patch) | |
| tree | d3c4821fce627e44750c2a28de44bd1e8c4b40fe /.config/alsi | |
| parent | 9ca915ee1cae19c513ca69d3968d6f9f77900c29 (diff) | |
feat: added alsi config
Diffstat (limited to '.config/alsi')
| -rw-r--r-- | .config/alsi/alsi.colors | 16 | ||||
| -rw-r--r-- | .config/alsi/alsi.conf | 25 | ||||
| -rw-r--r-- | .config/alsi/alsi.de | 12 | ||||
| -rw-r--r-- | .config/alsi/alsi.logo | 17 | ||||
| -rw-r--r-- | .config/alsi/alsi.output | 48 | ||||
| -rw-r--r-- | .config/alsi/alsi.wm | 78 |
6 files changed, 196 insertions, 0 deletions
diff --git a/.config/alsi/alsi.colors b/.config/alsi/alsi.colors new file mode 100644 index 0000000..84bce7f --- /dev/null +++ b/.config/alsi/alsi.colors @@ -0,0 +1,16 @@ +#!/usr/bin/perl + +# Colors for alsi + +scalar { + black => {normal => "\e[0;30m", bold => "\e[1;30m"}, + red => {normal => "\e[0;31m", bold => "\e[1;31m"}, + green => {normal => "\e[0;32m", bold => "\e[1;32m"}, + yellow => {normal => "\e[0;33m", bold => "\e[1;33m"}, + default => {normal => "\e[0;34m", bold => "\e[1;34m"}, + blue => {normal => "\e[0;34m", bold => "\e[1;34m"}, + purple => {normal => "\e[0;35m", bold => "\e[1;35m"}, + cyan => {normal => "\e[0;36m", bold => "\e[1;36m"}, + white => {normal => "\e[0;37m", bold => "\e[1;37m"}, + reset => "\e[0m", +} diff --git a/.config/alsi/alsi.conf b/.config/alsi/alsi.conf new file mode 100644 index 0000000..3bba11f --- /dev/null +++ b/.config/alsi/alsi.conf @@ -0,0 +1,25 @@ +#!/usr/bin/perl + +scalar { + ALSI_VERSION => "0.4.9", + COLORS_FILE => "$ENV{HOME}/.config/alsi/alsi.colors", + DE_FILE => "$ENV{HOME}/.config/alsi/alsi.de", + DEFAULT_COLOR_BOLD => "blue", + DEFAULT_COLOR_NORMAL => "blue", + DF_COMMAND => "df -Th -x sys -x tmpfs -x devtmpfs &>/dev/stdout", + GTK2_RC_FILE => "$ENV{HOME}/.gtkrc-2.0", + GTK3_RC_FILE => "$ENV{HOME}/.config/gtk-3.0/settings.ini", + LOGO_FILE => "$ENV{HOME}/.config/alsi/alsi.logo", + OUTPUT_FILE => "$ENV{HOME}/.config/alsi/alsi.output", + PACKAGES_PATH => "/var/lib/pacman/local/", + PS_COMMAND => "ps -A", + SCREENSHOT_COMMAND => "scrot -cd 5", + USAGE_COLORS => 0, + USAGE_COLORS_BOLD => 0, + USAGE_PRECENT_GREEN => 50, + USAGE_PRECENT_RED => 100, + USAGE_PRECENT_YELLOW => 85, + USE_LOGO_FROM_FILE => 0, + USE_VALUES_COLOR => 0, + WM_FILE => "$ENV{HOME}/.config/alsi/alsi.wm", +} diff --git a/.config/alsi/alsi.de b/.config/alsi/alsi.de new file mode 100644 index 0000000..563d4f0 --- /dev/null +++ b/.config/alsi/alsi.de @@ -0,0 +1,12 @@ +#!/usr/bin/perl + +# PROCESS_NAME => DESKTOP_ENVIRONMENT_NAME + +scalar { + 'gnome-session' => 'GNOME', + 'kdm' => 'KDE', + 'ksmserver' => 'KDE', + 'lxsession' => 'LXDE', + 'xfce4-session' => 'XFCE4', + 'xfwm4' => 'XFCE4', +} diff --git a/.config/alsi/alsi.logo b/.config/alsi/alsi.logo new file mode 100644 index 0000000..2989db7 --- /dev/null +++ b/.config/alsi/alsi.logo @@ -0,0 +1,17 @@ + $c1 Y\ /Y\t\t + $c1 | \ _ / |\t\t + $c1 _____ | =(_)= |\t\t + $c1 ,-~" "~-. ,-~\/^ ^\/~-.\t\t + $c1 ,^ ___ ___ ^. ,^ ___ ___ ^.\t + $c1 / .^ ^. .^ ^. \ / .^ ^. .^ ^. \\\t + $c1 Y l O! l O! Y Y lo ! lo ! Y\t + $c1 l_ `.___.' `.___.' _[ l_ `.___.' `.___.' _[\t + $c1 l^~"-------------"~^I l^~"-------------"~^I\t + $c1 !\, ,/! ! !\t + $c1 \ ~-.,_______,.-~ / \ /\t + $c1 ^. .^ ^. .^\t + $c1 "-.._____.,-" "-.._____.,-"\t\t + \t\t\t\t\t\t\t + $c2 WHY DOES THE LOGO FOR GENTOO LINUX\t\t + \t\t\t\t\t\t\t + $c2 LOOK LIKE A RETARDED PAC-MAN?\t\t$z diff --git a/.config/alsi/alsi.output b/.config/alsi/alsi.output new file mode 100644 index 0000000..1a9e677 --- /dev/null +++ b/.config/alsi/alsi.output @@ -0,0 +1,48 @@ +#!/usr/bin/perl + +# '%sTitle:%s %s' +# | \ \ ` Value +# \ \ `-- End of BC (or start of NC) +# BC ` Label + +# NC = normal color (color1) +# BC = bold color (color2) + +#-- Other valid options are: +# USERNAME - ex: {USERNAME => '%sUsername:%s %s'}, +# CPU_LOAD - ex: {CPU_LOAD => '%sCPU load average:%s %s'}, +# OTHER - ex: {OTHER => '%sResolution:%s 1024x768'}, +# COMMAND - ex: {COMMAND => ['%sBinaries:%s %s', 'ls /usr/bin | wc -l']}, +# HARDCODED - ex: {HARDCODED => "\e[1;37m\e[41mTHIS IS ALSI\e[0m"}, + +# GTK3_THEME - ex: {GTK3_THEME => '%sGTK3 theme:%s %s'}, +# GTK3_ICON_THEME - ex: {GTK3_ICON_THEME => '%sGTK3 icon theme:%s %s'}, +# GTK3_FONT_NAME - ex: {GTK3_FONT_NAME => '%sGTK3 font name:%s %s'}, + +[ + {HARDCODED => "\e[1;37m\e[41mOS Information:\e[0m"}, + {OS => '%sOS:%s %s'}, # Operating system + {KERNEL => '%sKernel:%s %s'}, # Kernel version + {UPTIME => '%sUptime:%s %s'}, # Uptime + {PACKAGES => '%sPackages:%s %s'}, # Number of installed packages + {HOSTNAME => '%sHostname:%s %s'}, # Hostname + {USERNAME => '%sUsername:%s %s'}, # Username + {SHELL => '%sShell:%s %s'}, # Shell + {WM_DE => '%s%s:%s %s'}, # Window Manager or Desktop Environment + {HARDCODED => "\n"}, + # {GTK2_ICON_THEME => '%sGTK2 icon theme:%s %s'}, # Gtk2 icon theme + # {GTK2_FONT_NAME => '%sGTK2 font name:%s %s'}, # Gtk2 font name + + {HARDCODED => "\e[1;37m\e[41mHardware Information:\e[0m"}, + {CPU => '%sCPU:%s %s'}, # CPU name + {RAM => '%sRAM:%s %s'}, # RAM usage + {HARDCODED => "\e[1;34mGPU:\e[0m GNUvisor LiberonX Pro (GLP-FTX 256)"}, + # {SWAP => '%sSWAP:%s %s'}, # SWAP usage + {HARDCODED => "\n"}, + # {PARTITIONS => undef}, # Partitions goes here + + {HARDCODED => "\e[1;37m\e[41mTheme Information:\e[0m"}, + {GTK2_THEME => '%sGTK2 theme:%s %s'}, # Gtk2 theme + {GTK3_THEME => '%sGTK3 theme:%s %s'}, + +] diff --git a/.config/alsi/alsi.wm b/.config/alsi/alsi.wm new file mode 100644 index 0000000..159ff27 --- /dev/null +++ b/.config/alsi/alsi.wm @@ -0,0 +1,78 @@ +#!/usr/bin/perl + +# PROCESS_NAME => WINDOW_MANAGER_NAME + +scalar { + '2wm' => '2wm', + '9wm' => '9wm', + 'afterstep' => 'AfterStep', + 'antiwm' => 'AntiWM', + 'awesome' => 'Awesome', + 'barewm' => 'Bare WM', + 'beryl' => 'Beryl', + 'blackbox' => 'Blackbox', + 'bspwm' => 'bspwm', + 'clfswm' => 'CLFS WM', + 'compiz' => 'Compiz', + 'ctwm' => 'CTWM', + 'cwm' => 'CWM', + 'dswm' => 'DSWM', + 'dwm' => 'DWM', + 'echinus' => 'Echinus', + 'enlightenment' => 'Enlightenment', + 'euclid' => 'Euclid', + 'evil-wm' => 'EvilWM', + 'evilpoison' => 'EviL Poison', + 'fluxbox' => 'Fluxbox', + 'flwm' => 'FLWM', + 'fvwm' => 'FVWM', + 'hackedbox' => 'Hackedbox', + 'hildon-desktop' => 'Matchbox', + 'i3' => 'i3', + 'icewm' => 'IceWM', + 'ion-3' => 'Ion3', + 'ion3' => 'Ion3', + 'jwm' => 'JWM', + 'karmen' => 'Karmen', + 'kwin' => 'Kwin', + 'larswm' => 'Lars WM', + 'lewm' => 'LEWM', + 'lwm' => 'LWM', + 'matwm2' => 'matWM2', + 'metacity' => 'Metacity', + 'musca' => 'Musca', + 'notion' => 'Notion', + 'openbox' => 'Openbox', + 'openbox-gnome-session' => 'Openbox (GNOME session)', + 'openbox-kde-session' => 'Openbox (KDE session)', + 'pawm' => 'PAWM', + 'pekwm' => 'PekWM', + 'qlwm' => 'qLWM', + 'qtile' => 'Qtile', + 'quarkwm' => 'QuarkWM', + 'ratpoison' => 'ratpoison', + 'sawfish' => 'Sawfish', + 'scrot-wm' => 'ScrotWM', + 'scrotwm' => 'ScrotWM', + 'sithwm' => 'SithWM', + 'stumpwm' => 'StumpWM', + 'subtle' => 'Subtle', + 'swm' => 'SWM', + 'tinywm' => 'TinyWM', + 'tritium' => 'Tritium', + 'twm' => 'twm', + 'velox' => 'Velox', + 'vtwm' => 'VtWM', + 'vwm' => 'VWM', + 'w9wm' => 'w9wm', + 'weewm' => 'WeeWM', + 'windowmaker' => 'WindowMaker', + 'windwm' => 'WindWM', + 'wmaker' => 'WindowMaker', + 'wmfs' => 'Wmfs', + 'WMFS' => 'WMFS', + 'wmii' => 'wmii', + 'wmii36' => 'wmii36', + 'xmonad' => 'xmonad', + 'yeahwm' => 'YeahWM', +} |
