Update DotFiles
- Add monitor refresh script to hyprland - Add python auto complete to nvim - Disable AllowShortLoopsOnASingleLine in clang_format
This commit is contained in:
1 parent
b6e779c324
commit
d187956777
7 files changed
+24
-8
No files matched your search
Executable
+14
@@ -0,0 +1,14 @@
|
||||
result=$(grep "^monitor" ~/.config/hyprland/hyprland.conf)
|
||||
for item in $result; do
|
||||
monitor=$(echo $item | cut -d '=' -f2 | cut -d ',' -f1)
|
||||
old_config=$(echo $item | cut -d '=' -f2)
|
||||
hyprctl keyword monitor "$monitor,disable"
|
||||
done
|
||||
|
||||
sleep 1
|
||||
|
||||
for item in $result; do
|
||||
monitor=$(echo $item | cut -d '=' -f2 | cut -d ',' -f1)
|
||||
old_config=$(echo $item | cut -d '=' -f2)
|
||||
hyprctl keyword monitor "$old_config"
|
||||
done
|
||||
Reference in new issue
Block a user