From e4fc8f57e88dba6ac8f27c0860053d8e52fffff0 Mon Sep 17 00:00:00 2001 From: DeveloperDurp Date: Thu, 10 Apr 2025 05:56:48 -0500 Subject: [PATCH] update --- .../v1/active-page | 2 +- .config/scripts/sessions.sh | 6 ++-- .ideavimrc | 30 ++++++++++++------- .zshrc | 2 +- ansible/roles/packages/vars/Archlinux.yml | 2 ++ 5 files changed, 26 insertions(+), 16 deletions(-) diff --git a/.config/cosmic/com.system76.CosmicSettings/v1/active-page b/.config/cosmic/com.system76.CosmicSettings/v1/active-page index a8164e7..653c08c 100644 --- a/.config/cosmic/com.system76.CosmicSettings/v1/active-page +++ b/.config/cosmic/com.system76.CosmicSettings/v1/active-page @@ -1 +1 @@ -"display" \ No newline at end of file +"bluetooth" \ No newline at end of file diff --git a/.config/scripts/sessions.sh b/.config/scripts/sessions.sh index f2cb840..d0057b3 100755 --- a/.config/scripts/sessions.sh +++ b/.config/scripts/sessions.sh @@ -20,14 +20,14 @@ new() { tmux rename-window -t "$name" "nvim" tmux new-window -t "$name" -n terminal -c "$dir" sleep 1 - tmux send-keys -t "$name:1" 'set-env; nvim' C-m + tmux send-keys -t "$name:1" 'tmux set status on; set-env; nvim' C-m tmux select-window -t "$name:1" tmux switch-client -t "$name" } switch() { - tmux list-sessions -F '#{?session_attached,,#{session_name}}' | + tmux list-sessions -F '#{session_name}' | sed '/^popup/d' | sed '/^scratch/d' | sed '/^$/d' | @@ -38,7 +38,7 @@ switch() { delete() { - tmux list-sessions -F '#{?session_attached,,#{session_name}}' | + tmux list-sessions -F '#{session_name}' | sed '/^popup/d' | sed '/^scratch/d' | sed '/^general/d' | diff --git a/.ideavimrc b/.ideavimrc index b090e37..3b8a26d 100644 --- a/.ideavimrc +++ b/.ideavimrc @@ -12,8 +12,8 @@ set smartcase set incsearch set hlsearch set notimeout -" set clipboard+=unnamedplus -set clipboard^=ideaput +set clipboard+=unnamedplus +" set clipboard^=ideaput " 3rd party set which-key @@ -58,21 +58,29 @@ nnoremap zz nnoremap zz " Navigation + +let g:WhichKeyDesc_Files = "f Files" let g:WhichKeyDesc_GoToFile = "ff Go to file" -let g:WhichKeyDesc_RecentFiles = " Recent files" +let g:WhichKeyDesc_RecentFiles = "fr Recent files" let g:WhichKeyDesc_RecentLocations = "fl Recent locations" -let g:WhichKeyDesc_NewScratchFile = "fs New scratch file" -map ff (GoToFile) -map (RecentFiles) +map ff (GotoFile) +map (GotoFile) +map fr (RecentFiles) map fl (RecentLocations) +let g:WhichKeyDesc_UIManagement = "u UI Management" +let g:WhichKeyDesc_ToggleZenMode = "uz Toggle Zen Mode" +let g:WhichKeyDesc_ToggleDistractionFreeMode = "ud Toggle Distraction Free Mode" +map uz (ToggleZenMode) +map ud (ToggleDistractionFreeMode) + " Window Management -let g:WhichKeyDesc_WindowManagement = "% Window management" -let g:WhichKeyDesc_SplitVertically = "% Split vertically" -let g:WhichKeyDesc_SplitHorizontally = "\" Split horizontally" -map % (SplitVertically) -map " (SplitHorizontally) +let g:WhichKeyDesc_WindowManagement = "w Window management" +let g:WhichKeyDesc_SplitVertically = "wv Split vertically" +let g:WhichKeyDesc_SplitHorizontally = "wh Split horizontally" +map wv (SplitVertically) +map wh (SplitHorizontally) " Buffers let g:WhichKeyDesc_Buffer = "b Buffers" diff --git a/.zshrc b/.zshrc index 4bc9324..a4acc21 100644 --- a/.zshrc +++ b/.zshrc @@ -19,7 +19,7 @@ unset conf if command -v tmux &> /dev/null && [[ "$TERMINAL_EMULATOR" == "JetBrains-JediTerm" ]] && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ]; then cwd=$(pwd) - session_name="JediTerm-$(basename "$cwd" | tr -d '.')" + session_name="zJediTerm-$(basename "$cwd" | tr -d '.')" if tmux has-session -t $session_name; then tmux attach -t $session_name diff --git a/ansible/roles/packages/vars/Archlinux.yml b/ansible/roles/packages/vars/Archlinux.yml index ea52fff..a14554d 100644 --- a/ansible/roles/packages/vars/Archlinux.yml +++ b/ansible/roles/packages/vars/Archlinux.yml @@ -96,6 +96,8 @@ required_packages_pacman: - fuse2 - libappindicator-gtk3 - webkit2gtk-4.1 + - freerdp + - remmina flatpak_remote: - { name: "flathub", url: "https://dl.flathub.org/repo/flathub.flatpakrepo" }