Git Product home page Git Product logo

i3blocks-gate's Introduction

i3Blocks Gate

Is a all in one collection of small script show you useful information about your system

Installation requires:

  • Font Awesome
  • lm-senser
  • alsa-utils
  • pulseaudio
  • acpi
  • mpd
  • mpc
  • ncmpcpp
  • moc
  • sysstat
  • cmus
  • xprop
  • Networkmanager

Help Dialog

there is 38 deffirent script to use

Almost all script use the same syntax
    i3b-gate [NUMBER] [ICON]

Except :
    7  : i3b-gate 7 [MOINT_POINT] [ICON]
    12 : i3b-gate 12 [NUMBER] [ICON]

No Argument :
    6  : You give no argumment
    18 : You give no argumment
    37 : You give no argumment
    39 : You give no argumment

Explaine :
    If you use 37, you get a status line about all workspaces u used on i3
    37 don't show you the None used Workspace

    Example : [1] 2 [*3]

    [1]  : Unfocued Workspaces
    2    : the focused Workspace
    [*3] : The Urgent workspace

each 39 script and what they do

 1 : Show CPU Usage
 2 : Show ALL CPUs Usage
 3 : Show MEM Usage
 4 : Show SWAP Usage
 5 : Show Date and Time
 6 : Show Battery Usage ans status
 7 : Show Disk Usage
 8 : Show Keyboard layout
 9 : Show System Language
10 : Show Uptime
11 : Show Trash Size
12 : Show Window Title
13 : Show Music Status on (Moc)
14 : Show Music Status on (Mpd)
15 : Show CPU TEMP
16 : Show GPU TEMP
17 : Show Touchpad Status
18 : show Volume Status (alsa)
19 : Show Wifi Info IP4
20 : Show Ethernet Info IP4
21 : Show Wifi Info IP6
22 : Show Ethernet Info IP6
23 : Show Number of Prosses use by this current user
24 : Show System Kernel
25 : Show Usb Pluged in your system
26 : Show Total packages in Your system (Ubuntu)
27 : Show if there is any updates (Ubuntu)
28 : Show UFW Status (systemctl)
29 : Show NumberLock status
30 : Show Bluetooth Status
31 : Show CapsLock Status
32 : Show x screensaver Status
33 : Show Number of Mointed Points on System
34 : Show Music Status on (CMUS)
35 : Show Apparmor Status
36 : Show Total packages in Your system (Arch)
37 : Show i3 Workspaces Status
38 : Show User NAME
39 : show Volume Status (pulse)

What's New

  • Give You Access to change Icons with text or any other symbol
  • Add new script to show more information about your System
  • ALL-IN-ONE Gather All the Scripts in one place for easy Access
  • Add Help Dialog to Give You Information You need to know
  • Add workspace display script using i3-msg

Installation

git clone https://github.com/zakariagatter/i3blocks-gate
mkdir -p ~/.local/bin
cp Ubuntu/i3b-gate ~/.local/bin

configuration

[NAME]
command=i3b-gate [1-39]
interval=[1-9]
color=#XXXXXX

i3blocks-gate's People

Contributors

georgmittendorfer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

i3blocks-gate's Issues

Could not parse JSON

Hi, I'm using your script to set up my i3bloks but I'm getting the following error.

Error: Could not parse JSON (lexical error: invalid character inside string

Do I need to install anything else?

font

which font r u using to get the output same as in the images

Ubuntu 18.04 script file error

Thanks for your script!
I tried only battery (./blocks.sh 6) and I got two errors.

My acpi shows:

lex@lex-N501JW:~/.config/i3blocks/Blocks/Ubuntu$ acpi
Battery 0: Discharging, 93%, discharging at zero rate - will never fully discharge.

And hence (see comma at the end):

lex@lex-N501JW:~/.config/i3blocks/Blocks/Ubuntu$ acpi | awk '{print $4}'| tr -d "%"
93,

And hence I see error:

lex@lex-N501JW:~/.config/i3blocks/Blocks/Ubuntu$ ./blocks.sh 6
./blocks.sh: line 77: [: 93,: integer expression expected
./blocks.sh: line 78: [: 93,: integer expression expected
./blocks.sh: line 79: [: 93,: integer expression expected
./blocks.sh: line 80: [: 93,: integer expression expected
./blocks.sh: line 81: [: 93,: integer expression expected

I fixed this with additional truncate:

acpi | awk '{print $4}'| tr -d "%" | tr -d ","

I see script error:

lex@lex-N501JW:~/.config/i3blocks/Blocks/Ubuntu$ ./blocks.sh 6
./blocks.sh: line 1: =#!/bin/bash: No such file or directory

I found solution here.
Before fix I see:

lex@lex-N501JW:~/.config/i3blocks/Blocks/Ubuntu$ head -1 ./blocks.sh | od -c
0000000   =   #   !   /   b   i   n   /   b   a   s   h      \n
0000016

After fix I see:

lex@lex-N501JW:~/.config/i3blocks/Blocks/Ubuntu$ head -1 ./blocks.sh | od -c
0000000   #   !   /   b   i   n   /   b   a   s   h  \n
0000014

Are you getting the same on Ubuntu 18.04 ?

Is it possible to install this on manjaro?

It may be a dumb qusetion , but I am a complete noob so here it is anyway:
Is there a difference between installing on Ubuntu and Arch?
Any answers will be appreciated.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.