mirror of
https://github.com/Horhik/dotfiles.git
synced 2025-01-09 09:11:04 +00:00
add scripts
This commit is contained in:
parent
45cee84ee7
commit
93b54816a3
3
Scripts/bin/dropdown
Executable file
3
Scripts/bin/dropdown
Executable file
|
@ -0,0 +1,3 @@
|
|||
#1/bin/bash
|
||||
|
||||
alacritty -t dropdown
|
19
Scripts/bin/freelances
Executable file
19
Scripts/bin/freelances
Executable file
|
@ -0,0 +1,19 @@
|
|||
#!/bin/bash
|
||||
|
||||
|
||||
# -- Freelance Habr --
|
||||
i3-msg "workspace 6; exec surf https://freelance.habr.com/tasks?categories=development_frontend"
|
||||
|
||||
# -- FreelanceHunt --
|
||||
i3-msg "workspace 6; exec surf https://freelancehunt.com/projects?tags%5B%5D=%D0%B2%D0%B5%D1%80%D1%81%D1%82%D0%BA%D0%B0&tags%5B%5D=html+%D0%B2%D0%B5%D1%80%D1%81%D1%82%D0%BA%D0%B0&tags%5B%5D=React&tags%5B%5D=WebGL"
|
||||
|
||||
|
||||
# -- Weblancer --
|
||||
# Web Programming
|
||||
i3-msg "workspace 6; exec surf https://www.weblancer.net/jobs/veb-programmirovanie-31/"
|
||||
|
||||
# HTML/CSS
|
||||
i3-msg "workspace 6; exec surf https://www.weblancer.net/jobs/html-verstka-32/"
|
||||
|
||||
#Fl.ru
|
||||
i3-msg "workspace 6; exec surf https://www.fl.ru/projects/"
|
137
Scripts/bin/freelances.json
Normal file
137
Scripts/bin/freelances.json
Normal file
|
@ -0,0 +1,137 @@
|
|||
// vim:ts=4:sw=4:et
|
||||
{
|
||||
"border": "pixel",
|
||||
"current_border_width": 3,
|
||||
"floating": "auto_off",
|
||||
"geometry": {
|
||||
"height": 600,
|
||||
"width": 800,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"name": "@cgDISVMfxT:T | Фриланс сайт. Фрилансеры, вакансии удаленно, работа на дому, freelance : FL.ru",
|
||||
"percent": 0.333333333333333,
|
||||
"swallows": [
|
||||
],
|
||||
"type": "con"
|
||||
}
|
||||
|
||||
{
|
||||
// splitv split container with 2 children
|
||||
"border": "normal",
|
||||
"floating": "auto_off",
|
||||
"layout": "splitv",
|
||||
"percent": 0.333333333333333,
|
||||
"type": "con",
|
||||
"nodes": [
|
||||
{
|
||||
"border": "pixel",
|
||||
"current_border_width": 3,
|
||||
"floating": "auto_off",
|
||||
"geometry": {
|
||||
"height": 600,
|
||||
"width": 800,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"name": "@cgDISVMfxT:T | Работа для фрилансеров на Freelancehunt — список всех доступных проектов для фрилансера в Украине",
|
||||
"percent": 0.5,
|
||||
"swallows": [
|
||||
],
|
||||
"type": "con"
|
||||
},
|
||||
{
|
||||
// splith split container with 2 children
|
||||
"border": "normal",
|
||||
"floating": "auto_off",
|
||||
"layout": "splith",
|
||||
"percent": 0.5,
|
||||
"type": "con",
|
||||
"nodes": [
|
||||
{
|
||||
"border": "pixel",
|
||||
"current_border_width": 3,
|
||||
"floating": "auto_off",
|
||||
"geometry": {
|
||||
"height": 600,
|
||||
"width": 800,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"name": "@cgDISVMfxT:T | Удаленная работа по веб-программированию. Работа для веб-программистов удаленно на фрилансе: цены, задачи | биржа удаленной работы Weblancer",
|
||||
"percent": 0.5,
|
||||
"swallows": [
|
||||
],
|
||||
"type": "con"
|
||||
},
|
||||
{
|
||||
"border": "pixel",
|
||||
"current_border_width": 3,
|
||||
"floating": "auto_off",
|
||||
"geometry": {
|
||||
"height": 600,
|
||||
"width": 800,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"name": "@cgDISVMfxT:T | Создание проекта на бирже фриланса Weblancer",
|
||||
"percent": 0.5,
|
||||
"swallows": [
|
||||
],
|
||||
"type": "con"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
{
|
||||
"border": "pixel",
|
||||
"current_border_width": 3,
|
||||
"floating": "auto_off",
|
||||
"geometry": {
|
||||
"height": 600,
|
||||
"width": 800,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"name": "@cgDISVMfxT:T | Sign in to GitHub · GitHub",
|
||||
"percent": 0.333333333333333,
|
||||
"swallows": [
|
||||
],
|
||||
"type": "con"
|
||||
}
|
||||
|
||||
{
|
||||
// floating_con with 1 children
|
||||
"border": "normal",
|
||||
"floating": "auto_off",
|
||||
"layout": "splith",
|
||||
"percent": null,
|
||||
"rect": {
|
||||
"height": 600,
|
||||
"width": 825,
|
||||
"x": 548,
|
||||
"y": 250
|
||||
},
|
||||
"type": "floating_con",
|
||||
"nodes": [
|
||||
{
|
||||
"border": "pixel",
|
||||
"current_border_width": 3,
|
||||
"floating": "user_on",
|
||||
"geometry": {
|
||||
"height": 600,
|
||||
"width": 800,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"name": "dropdown",
|
||||
"percent": 1,
|
||||
"swallows": [
|
||||
],
|
||||
"type": "con"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
108
Scripts/bin/freelances.json~
Normal file
108
Scripts/bin/freelances.json~
Normal file
|
@ -0,0 +1,108 @@
|
|||
{
|
||||
"border": "pixel",
|
||||
"layout": "splith",
|
||||
"current_border_width": 3,
|
||||
"floating": "user_off",
|
||||
/* "geometry": {
|
||||
"height": 600,
|
||||
"width": 800,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},*/
|
||||
"name": "@cgDISVMfxT:T | Работа для фрилансеров на Freelancehunt — список всех доступных проектов для фрилансера в Украине",
|
||||
"percent": 0.5,
|
||||
"swallows": [
|
||||
],
|
||||
"type": "con"
|
||||
}
|
||||
|
||||
/*
|
||||
{
|
||||
// splitv split container with 2 children
|
||||
"border": "normal",
|
||||
"floating": "auto_off",
|
||||
"layout": "splitv",
|
||||
"percent": 0.333333333333333,
|
||||
"type": "con",
|
||||
"nodes": [
|
||||
{
|
||||
"border": "pixel",
|
||||
"current_border_width": 3,
|
||||
"floating": "user_off",
|
||||
"geometry": {
|
||||
"height": 600,
|
||||
"width": 800,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"name": "@cgDISVMfxT:T | Создание проекта на бирже фриланса Weblancer",
|
||||
"percent": 0.5,
|
||||
"swallows": [
|
||||
],
|
||||
"type": "con"
|
||||
},
|
||||
{
|
||||
// splith split container with 2 children
|
||||
"border": "normal",
|
||||
"floating": "auto_off",
|
||||
"layout": "splith",
|
||||
"percent": 0.5,
|
||||
"type": "con",
|
||||
"nodes": [
|
||||
{
|
||||
"border": "pixel",
|
||||
"current_border_width": 3,
|
||||
"floating": "user_off",
|
||||
"geometry": {
|
||||
"height": 600,
|
||||
"width": 800,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"name": "@cgDISVMfxT:T | Фриланс: Удаленная работа на дому - Вакансии фриланс услуг в Украине, России и др. странах СНГ - Weblancer",
|
||||
"percent": 0.5,
|
||||
"swallows": [
|
||||
],
|
||||
"type": "con"
|
||||
},
|
||||
{
|
||||
"border": "pixel",
|
||||
"current_border_width": 3,
|
||||
"floating": "user_off",
|
||||
"geometry": {
|
||||
"height": 600,
|
||||
"width": 800,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"name": "@cgDISVMfxT:T | Бот для работы с instagram — Фриланс-заказ №1052926 для веб-программиста",
|
||||
"percent": 0.5,
|
||||
"swallows": [
|
||||
],
|
||||
"type": "con"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
*/
|
||||
{
|
||||
"border": "pixel",
|
||||
"current_border_width": 3,
|
||||
"layout": "splith",
|
||||
"floating": "user_off",
|
||||
/*
|
||||
"geometry": {
|
||||
"height": 600,
|
||||
"width": 800,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},*/
|
||||
"name": "@cgDISVMfxT:T | Заказы — Хабр Фриланс",
|
||||
"percent": 0.5,
|
||||
"swallows": [
|
||||
|
||||
],
|
||||
"type": "con"
|
||||
}
|
||||
|
5
Scripts/startup/redshift.sh
Normal file
5
Scripts/startup/redshift.sh
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
time = date | grep -oh "[0-9][0-9]:[0-9][0-9]"
|
||||
|
||||
redshift -P -O 2000
|
15
Scripts/startup/touchpad.sh
Executable file
15
Scripts/startup/touchpad.sh
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash
|
||||
|
||||
id=$(xinput | grep -shoP 'Touchpad.*id=[0-9]*' | grep -shoP '[0-9]*')
|
||||
tap_id = $(xinput list-props $id | grep -shoP 'Tapping Enabled Default.+[0-9]*' | grep -sho '[0-9][0-9][0-9]')
|
||||
|
||||
echo $id
|
||||
tap_id=$(xinput list-props $id | grep -shoP 'Tapping Enabled.+[0-9]*' | grep -m 1 -sho '[0-9][0-9][0-9]')
|
||||
|
||||
middle_id=$(xinput list-props $id | grep -shoP 'Middle Emulation Enabled.+[0-9]*' | grep -m 1 -sho '[0-9][0-9][0-9]')
|
||||
|
||||
echo $tap_id
|
||||
echo $middle_id
|
||||
|
||||
xinput set-prop $id $tap_id 1
|
||||
xinput set-prop $id $middle_id 1
|
7
Scripts/startup/wifi.sh
Executable file
7
Scripts/startup/wifi.sh
Executable file
|
@ -0,0 +1,7 @@
|
|||
|
||||
sudo systemctl start NetworkManager
|
||||
sudo systemctl start dhcpcd
|
||||
|
||||
nmcli con up Main
|
||||
nmcli dev wifi connect <name> password <pass> hidden <yes/no>
|
||||
echo "success may be"
|
Loading…
Reference in a new issue