mirror of
https://github.com/sahinakkaya/dotfiles.git
synced 2024-12-23 07:39:36 +01:00
Add submodules
This commit is contained in:
parent
c4e4ea353b
commit
474572506a
1
.config/nvim
Submodule
1
.config/nvim
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 7d552ec9dc31d6a5347eb83080f7afd5f232261b
|
12
.gitmodules
vendored
Normal file
12
.gitmodules
vendored
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
[submodule "GitRepositories/st"]
|
||||||
|
path = GitRepositories/st
|
||||||
|
url = https://github.com/Asocia/st.git
|
||||||
|
[submodule ".config/nvim"]
|
||||||
|
path = .config/nvim
|
||||||
|
url = https://github.com/Asocia/nvim-config.git
|
||||||
|
[submodule "GitRepositories/rofi-bluetooth"]
|
||||||
|
path = GitRepositories/rofi-bluetooth
|
||||||
|
url = https://github.com/nickclyde/rofi-bluetooth.git
|
||||||
|
[submodule "GitRepositories/polybar-wireguard"]
|
||||||
|
path = GitRepositories/polybar-wireguard
|
||||||
|
url = https://github.com/mil-ad/polybar-wireguard.git
|
18
GitRepositories/patches/polybar-wireguard/wireguard.patch
Normal file
18
GitRepositories/patches/polybar-wireguard/wireguard.patch
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
diff --git a/polybar-wireguard b/polybar-wireguard
|
||||||
|
index 6712185..b770d44 100755
|
||||||
|
--- a/polybar-wireguard
|
||||||
|
+++ b/polybar-wireguard
|
||||||
|
@@ -6,11 +6,11 @@
|
||||||
|
# https://github.com/polybar/polybar/wiki/Formatting#format-tags-inside-polybar-config
|
||||||
|
green=#55aa55
|
||||||
|
|
||||||
|
-configs_path="/PATH/TO/CONF/FILES"
|
||||||
|
+configs_path="$HOME/.config/wireguard"
|
||||||
|
connected_interface=$(sudo wg | grep interface | cut -d " " -f2)
|
||||||
|
|
||||||
|
connect() {
|
||||||
|
- selected_config=$(ls $configs_path/*.conf | xargs basename -a -s .conf | dmenu)
|
||||||
|
+ selected_config=$(ls $configs_path/*.conf | xargs basename -a -s .conf | rofi -i -dmenu -p "Connect to: ")
|
||||||
|
[[ $selected_config ]] && sudo wg-quick up "$configs_path"/"$selected_config".conf
|
||||||
|
}
|
||||||
|
|
53
GitRepositories/patches/rofibluetooth/dontshowmenu.patch
Normal file
53
GitRepositories/patches/rofibluetooth/dontshowmenu.patch
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
diff --git a/rofi-bluetooth b/rofi-bluetooth
|
||||||
|
index 5c52fd8..cebb5c1 100755
|
||||||
|
--- a/rofi-bluetooth
|
||||||
|
+++ b/rofi-bluetooth
|
||||||
|
@@ -33,7 +33,6 @@ power_on() {
|
||||||
|
toggle_power() {
|
||||||
|
if power_on; then
|
||||||
|
bluetoothctl power off
|
||||||
|
- show_menu
|
||||||
|
else
|
||||||
|
if rfkill list bluetooth | grep -q 'blocked: yes'; then
|
||||||
|
rfkill unblock bluetooth && sleep 3
|
||||||
|
@@ -59,7 +58,6 @@ toggle_scan() {
|
||||||
|
if scan_on; then
|
||||||
|
kill $(pgrep -f "bluetoothctl scan on")
|
||||||
|
bluetoothctl scan off
|
||||||
|
- show_menu
|
||||||
|
else
|
||||||
|
bluetoothctl scan on &
|
||||||
|
echo "Scanning..."
|
||||||
|
@@ -83,10 +81,8 @@ pairable_on() {
|
||||||
|
toggle_pairable() {
|
||||||
|
if pairable_on; then
|
||||||
|
bluetoothctl pairable off
|
||||||
|
- show_menu
|
||||||
|
else
|
||||||
|
bluetoothctl pairable on
|
||||||
|
- show_menu
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
@@ -105,10 +101,8 @@ discoverable_on() {
|
||||||
|
toggle_discoverable() {
|
||||||
|
if discoverable_on; then
|
||||||
|
bluetoothctl discoverable off
|
||||||
|
- show_menu
|
||||||
|
else
|
||||||
|
bluetoothctl discoverable on
|
||||||
|
- show_menu
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
@@ -126,10 +120,8 @@ device_connected() {
|
||||||
|
toggle_connection() {
|
||||||
|
if device_connected $1; then
|
||||||
|
bluetoothctl disconnect $1
|
||||||
|
- device_menu "$device"
|
||||||
|
else
|
||||||
|
bluetoothctl connect $1
|
||||||
|
- device_menu "$device"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
1
GitRepositories/polybar-wireguard
Submodule
1
GitRepositories/polybar-wireguard
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 838ec1c59f9b9686bece53f9d6e470ff51e35d06
|
1
GitRepositories/rofi-bluetooth
Submodule
1
GitRepositories/rofi-bluetooth
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 893db1f2b549e7bc0e9c62e7670314349a29cdf2
|
1
GitRepositories/st
Submodule
1
GitRepositories/st
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit e9b6f0a2f91611cff60bf1c821d191e89ee0edf9
|
1
scripts/polybar-wireguard
Symbolic link
1
scripts/polybar-wireguard
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/home/sahin/GitRepositories/polybar-wireguard/polybar-wireguard
|
1
scripts/rofi-bluetooth
Symbolic link
1
scripts/rofi-bluetooth
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
/home/sahin/GitRepositories/rofi-bluetooth/rofi-bluetooth
|
Loading…
Reference in New Issue
Block a user