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
+1
-1
@@ -81,7 +81,7 @@ AllowShortEnumsOnASingleLine: true
|
||||
AllowShortFunctionsOnASingleLine: false
|
||||
AllowShortIfStatementsOnASingleLine: Never
|
||||
AllowShortLambdasOnASingleLine: All
|
||||
AllowShortLoopsOnASingleLine: true
|
||||
AllowShortLoopsOnASingleLine: false
|
||||
AllowShortNamespacesOnASingleLine: false
|
||||
AlwaysBreakAfterDefinitionReturnType: None
|
||||
AlwaysBreakBeforeMultilineStrings: true
|
||||
|
||||
@@ -252,6 +252,7 @@ bind = $mainMod, RETURN, exec, $terminal
|
||||
bind = $mainMod SHIFT, Q, killactive,
|
||||
bind = $mainMod, M, exec, ~/Scripts/toggle_mic.sh
|
||||
bind = $mainMod, P, exec, ./Scripts/toggle_speaker.sh
|
||||
bind = $mainMod, O, exec, ./Scripts/refresh_monitors.sh
|
||||
bind = $mainMod, E, exec, $fileManager
|
||||
bind = $mainMod, Space, togglefloating,
|
||||
bind = $mainMod, F, fullscreen,
|
||||
|
||||
@@ -15,7 +15,7 @@ return {
|
||||
"shfmt", -- Shell formatter
|
||||
"checkmake", -- linter for Makefiles
|
||||
"stylua", -- lua formatter; Already installed via Mason
|
||||
-- 'ruff', -- Python linter and formatter; Already installed via Mason
|
||||
"ruff", -- Python linter and formatter; Already installed via Mason
|
||||
},
|
||||
automatic_installation = true,
|
||||
})
|
||||
|
||||
@@ -27,9 +27,9 @@ return {
|
||||
diagnostics = false,
|
||||
diagnostics_update_in_insert = false,
|
||||
color_icons = true,
|
||||
show_buffer_icons = true,
|
||||
show_buffer_close_icons = true,
|
||||
show_close_icon = true,
|
||||
show_buffer_icons = false,
|
||||
show_buffer_close_icons = false,
|
||||
show_close_icon = false,
|
||||
persist_buffer_sort = true, -- whether or not custom sorted buffers should persist
|
||||
separator_style = { "│", "│" }, -- | "thick" | "thin" | { 'any', 'any' },
|
||||
enforce_regular_tabs = true,
|
||||
@@ -40,8 +40,8 @@ return {
|
||||
style = "none", -- Options: 'icon', 'underline', 'none'
|
||||
},
|
||||
icon_pinned = "",
|
||||
minimum_padding = 1,
|
||||
maximum_padding = 5,
|
||||
minimum_padding = 0,
|
||||
maximum_padding = 0,
|
||||
maximum_length = 15,
|
||||
sort_by = "insert_at_end",
|
||||
},
|
||||
|
||||
@@ -267,7 +267,7 @@ return {
|
||||
vim.lsp.with(vim.lsp.diagnostic.on_publish_diagnostics, { update_in_insert = false })
|
||||
|
||||
require("mason-lspconfig").setup({
|
||||
ensure_installed = {}, -- explicitly set to an empty table (Kickstart populates installs via mason-tool-installer)
|
||||
ensure_installed = { "pyright" }, -- explicitly set to an empty table (Kickstart populates installs via mason-tool-installer)
|
||||
automatic_installation = false,
|
||||
handlers = {
|
||||
function(server_name)
|
||||
|
||||
@@ -18,6 +18,7 @@ return {
|
||||
"vimdoc",
|
||||
"json",
|
||||
"yaml",
|
||||
"python",
|
||||
},
|
||||
auto_install = true,
|
||||
highlight = {
|
||||
|
||||
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