From 9983d75b1b46d25ee75cd4364fe2bd797407a1a3 Mon Sep 17 00:00:00 2001 From: Marco van Dijk Date: Tue, 20 Jul 2021 23:11:01 +0200 Subject: [PATCH] added pipes bash screen --- .bashrc | 5 ++-- .config/i3/launchTerminals | 5 ++-- .config/i3/terminals.json | 61 +++++++++++++++++++++++++++++--------- README.md | 4 +-- 4 files changed, 54 insertions(+), 21 deletions(-) diff --git a/.bashrc b/.bashrc index a4f7197..c4fe287 100644 --- a/.bashrc +++ b/.bashrc @@ -17,9 +17,10 @@ else fi alias ls='ls --color=auto' -alias clear='clear && neofetch | lolcat' +alias info='clear && neofetch | lolcat' alias wisdom='fortune | cowsay | lolcat' -alias screensaver='cbonsai --life 40 --multiplier 5 --time 0.1 --screensaver' +alias bonsai='cbonsai --life 40 --live --multiplier 5 --time 0.1 --infinite' +alias pipes='pipes -t 0 -p 3 -R -f 50 -r 6000' # Statusline plugin for vim, bash and others powerline-daemon -q diff --git a/.config/i3/launchTerminals b/.config/i3/launchTerminals index 03481a2..edb246f 100755 --- a/.config/i3/launchTerminals +++ b/.config/i3/launchTerminals @@ -1,6 +1,7 @@ #!/bin/bash -e i3-msg "workspace 1; append_layout /home/marco/.config/i3/terminals.json" -urxvt -name "cava" -e $SHELL -c "cava;$SHELL -i"& +urxvt -name "audio" -e $SHELL -c "echo -en '\033]0;audio\a';cava;$SHELL -i"& +urxvt -name "pipes" -e $SHELL -c "echo -en '\033]0;pipes\a';pipes -t 0 -p 3 -R -f 50 -r 6000;$SHELL -i"& urxvt -name "processes" -e $SHELL -c "echo -en '\033]0;processes\a';htop;$SHELL -i"& urxvt -name "info" -e $SHELL -c "cd /dev/shm;echo -en '\033]0;info\a';clear && neofetch | lolcat;fortune | cowsay | lolcat;$SHELL -i"& -urxvt -name "screensaver" -e $SHELL -c "echo -en '\033]0;screensaver\a';cbonsai --life 40 --live --multiplier 5 --time 0.1 --infinite;$SHELL -i"& +urxvt -name "bonsai" -e $SHELL -c "echo -en '\033]0;bonsai\a';cbonsai --life 40 --live --multiplier 5 --time 0.1 --infinite;$SHELL -i"& diff --git a/.config/i3/terminals.json b/.config/i3/terminals.json index 87492ac..c55cbca 100644 --- a/.config/i3/terminals.json +++ b/.config/i3/terminals.json @@ -1,4 +1,6 @@ +// vim:ts=4:sw=4:et { + // splitv split container with 2 children "border": "normal", "floating": "auto_off", "layout": "splitv", @@ -7,14 +9,16 @@ "type": "con", "nodes": [ { + // splith split container with 1 children "border": "normal", "floating": "auto_off", "layout": "splith", "marks": [], - "percent": 0.628846153846154, + "percent": 0.586538461538462, "type": "con", "nodes": [ { + // splith split container with 2 children "border": "pixel", "floating": "auto_off", "layout": "splith", @@ -23,11 +27,12 @@ "type": "con", "nodes": [ { + // splith split container with 1 children "border": "pixel", "floating": "auto_off", "layout": "splith", "marks": [], - "percent": 0.356051548729912, + "percent": 0.372197382063245, "type": "con", "nodes": [ { @@ -42,9 +47,10 @@ }, "marks": [], "name": "processes", - "percent": null, + "percent": 1, "swallows": [ { + "class": "^URxvt$", "title": "^processes$" } ], @@ -53,19 +59,21 @@ ] }, { + // splith split container with 2 children "border": "pixel", "floating": "auto_off", "layout": "splith", "marks": [], - "percent": 0.643948451270088, + "percent": 0.627802617936755, "type": "con", "nodes": [ { + // splith split container with 1 children "border": "pixel", "floating": "auto_off", "layout": "splith", "marks": [], - "percent": 0.586982506391744, + "percent": 0.478304576660488, "type": "con", "nodes": [ { @@ -80,9 +88,10 @@ }, "marks": [], "name": "info", - "percent": null, + "percent": 1, "swallows": [ { + "class": "^URxvt$", "title": "^info$" } ], @@ -91,11 +100,12 @@ ] }, { + // splitv split container with 1 children "border": "pixel", "floating": "auto_off", "layout": "splitv", "marks": [], - "percent": 0.413017493608256, + "percent": 0.521695423339512, "type": "con", "nodes": [ { @@ -109,11 +119,12 @@ "y": 0 }, "marks": [], - "name": "screensaver", - "percent": null, + "name": "bonsai", + "percent": 1, "swallows": [ { - "title": "^screensaver$" + "class": "^URxvt$", + "title": "^bonsai$" } ], "type": "con" @@ -127,11 +138,12 @@ ] }, { + // splith split container with 2 children "border": "normal", "floating": "auto_off", "layout": "splith", "marks": [], - "percent": 0.371153846153846, + "percent": 0.413461538461538, "type": "con", "nodes": [ { @@ -145,12 +157,33 @@ "y": 0 }, "marks": [], - "name": "audio output", - "percent": 1, + "name": "audio", + "percent": 0.671875, "swallows": [ { "class": "^URxvt$", - "title": "^cava$" + "title": "^audio$" + } + ], + "type": "con" + }, + { + "border": "pixel", + "current_border_width": 3, + "floating": "auto_off", + "geometry": { + "height": 388, + "width": 564, + "x": 0, + "y": 0 + }, + "marks": [], + "name": "pipes", + "percent": 0.328125, + "swallows": [ + { + "class": "^URxvt$", + "title": "^pipes$" } ], "type": "con" diff --git a/README.md b/README.md index 36f0cb8..4c8aa8c 100644 --- a/README.md +++ b/README.md @@ -23,9 +23,7 @@ Optional Utils - powerline: Status bar for Bash. For example, it shows you what Git repo you are in - gvim: Contains vim with clipboard support and more - vim-airline: Status bar for vim -- neofetch, lolcat, cowsay, wisdom-mod: important stuff -- kava: console based audio visualizer -- cbonsai: if you want to grow bonsai trees in your terminal +- kava, neofetch, lolcat, cowsay, wisdom-mod, bash-pipes, cbonsai: important stuff - nm-applet: manage your (wireless) connections and has a tray icon - kalu-kde: Notifies you about Arch news or updates and has a tray icon - logiops: Used to trigger keyboard combinations using gestures