0
0
Fork 0
mirror of https://github.com/stronk-dev/Tokyo-Night-Linux.git synced 2024-10-17 20:58:16 -04:00

Add some optional terminal programs

This commit is contained in:
Marco van Dijk 2021-07-20 16:24:03 +02:00
parent 39aa1b0e3b
commit 75c5619712
5 changed files with 170 additions and 125 deletions

View file

@ -19,6 +19,7 @@ fi
alias ls='ls --color=auto'
alias clear='clear && neofetch | lolcat'
alias wisdom='fortune | cowsay | lolcat'
alias screensaver='cbonsai --life 40 --multiplier 5 --time 0.1 --screensaver'
# Statusline plugin for vim, bash and others
powerline-daemon -q

View file

@ -1,6 +1,6 @@
#!/bin/bash -e
i3-msg "workspace 1; append_layout /home/marco/.config/i3/workspace-1.json"
urxvt -name "termDocuments" -e $SHELL -c 'cd /home/marco/Documents;$SHELL -i'&
urxvt -name "termHome" -e $SHELL -c 'cd /home/marco/;neofetch | lolcat;$SHELL -i'&
urxvt -name "termConfig" -e $SHELL -c 'cd /home/marco/.config;htop;$SHELL -i'&
urxvt -name "termDownloads" -e $SHELL -c 'cd /home/marco/Downloads/;fortune | cowsay | lolcat;$SHELL -i'&
i3-msg "workspace 1; append_layout /home/marco/.config/i3/terminals.json"
urxvt -name "cava" -e $SHELL -c 'cava;$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"&

162
.config/i3/terminals.json Normal file
View file

@ -0,0 +1,162 @@
{
"border": "normal",
"floating": "auto_off",
"layout": "splitv",
"marks": [],
"percent": 1,
"type": "con",
"nodes": [
{
"border": "normal",
"floating": "auto_off",
"layout": "splith",
"marks": [],
"percent": 0.628846153846154,
"type": "con",
"nodes": [
{
"border": "pixel",
"floating": "auto_off",
"layout": "splith",
"marks": [],
"percent": 1,
"type": "con",
"nodes": [
{
"border": "pixel",
"floating": "auto_off",
"layout": "splith",
"marks": [],
"percent": 0.356051548729912,
"type": "con",
"nodes": [
{
"border": "pixel",
"current_border_width": 3,
"floating": "auto_off",
"geometry": {
"height": 340,
"width": 564,
"x": 0,
"y": 0
},
"marks": [],
"name": "processes",
"percent": null,
"swallows": [
{
"title": "^processes$"
}
],
"type": "con"
}
]
},
{
"border": "pixel",
"floating": "auto_off",
"layout": "splith",
"marks": [],
"percent": 0.643948451270088,
"type": "con",
"nodes": [
{
"border": "pixel",
"floating": "auto_off",
"layout": "splith",
"marks": [],
"percent": 0.586982506391744,
"type": "con",
"nodes": [
{
"border": "pixel",
"current_border_width": 3,
"floating": "auto_off",
"geometry": {
"height": 460,
"width": 724,
"x": 0,
"y": 0
},
"marks": [],
"name": "info",
"percent": null,
"swallows": [
{
"title": "^info$"
}
],
"type": "con"
}
]
},
{
"border": "pixel",
"floating": "auto_off",
"layout": "splitv",
"marks": [],
"percent": 0.413017493608256,
"type": "con",
"nodes": [
{
"border": "pixel",
"current_border_width": 3,
"floating": "auto_off",
"geometry": {
"height": 460,
"width": 724,
"x": 0,
"y": 0
},
"marks": [],
"name": "screensaver",
"percent": null,
"swallows": [
{
"title": "^screensaver$"
}
],
"type": "con"
}
]
}
]
}
]
}
]
},
{
"border": "normal",
"floating": "auto_off",
"layout": "splith",
"marks": [],
"percent": 0.371153846153846,
"type": "con",
"nodes": [
{
"border": "pixel",
"current_border_width": 3,
"floating": "auto_off",
"geometry": {
"height": 340,
"width": 564,
"x": 0,
"y": 0
},
"marks": [],
"name": "audio output",
"percent": 1,
"swallows": [
{
"class": "^URxvt$",
"title": "^cava$"
}
],
"type": "con"
}
]
}
]
}

View file

@ -1,120 +0,0 @@
// vim:ts=4:sw=4:et
{
"border": "pixel",
"current_border_width": 2,
"floating": "auto_off",
"geometry": {
"height": 340,
"width": 564,
"x": 0,
"y": 0
},
"marks": [],
"name": "marco@koiosdev/home/marco/Documents",
"percent": 0.4,
"swallows": [
{
"class": "^URxvt$",
"instance": "termDocuments"
}
],
"type": "con"
}
{
// splitv split container with 2 children
"border": "normal",
"floating": "auto_off",
"layout": "splitv",
"marks": [],
"percent": 0.6,
"type": "con",
"nodes": [
{
// splith split container with 2 children
"border": "normal",
"floating": "auto_off",
"layout": "splith",
"marks": [],
"percent": 0.6,
"type": "con",
"nodes": [
{
"border": "pixel",
"current_border_width": 2,
"floating": "auto_off",
"geometry": {
"height": 340,
"width": 564,
"x": 0,
"y": 0
},
"marks": [],
"name": "marco@koiosdev:/home/marco/",
"percent": 0.5,
"swallows": [
{
"class": "^URxvt$",
"instance": "termHome"
}
],
"type": "con"
},
{
"border": "pixel",
"current_border_width": 2,
"floating": "auto_off",
"geometry": {
"height": 340,
"width": 564,
"x": 0,
"y": 0
},
"marks": [],
"name": "marco@koiosdev:/home/marco/.config",
"percent": 0.5,
"swallows": [
{
"class": "^URxvt$",
"instance": "termConfig"
}
],
"type": "con"
}
]
},
{
// splith split container with 1 children
"border": "normal",
"floating": "auto_off",
"layout": "splith",
"marks": [],
"percent": 0.4,
"type": "con",
"nodes": [
{
"border": "pixel",
"current_border_width": 2,
"floating": "auto_off",
"geometry": {
"height": 340,
"width": 564,
"x": 0,
"y": 0
},
"marks": [],
"name": "marco@koiosdev:/home/marco/Downloads",
"percent": null,
"swallows": [
{
"class": "^URxvt$",
"instance": "termDownloads"
}
],
"type": "con"
}
]
}
]
}

View file

@ -24,6 +24,8 @@ Optional Utils
- 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
- 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