diff --git a/nvim/.config/nvim/lua/vim-settings.lua b/nvim/.config/nvim/lua/vim-settings.lua index 37ab5d6..b7cd6cb 100644 --- a/nvim/.config/nvim/lua/vim-settings.lua +++ b/nvim/.config/nvim/lua/vim-settings.lua @@ -2,12 +2,27 @@ vim.cmd("set expandtab") vim.cmd("set tabstop=2") vim.cmd("set softtabstop=2") vim.cmd("set shiftwidth=2") +vim.cmd("set number") vim.cmd("set clipboard+=unnamedplus") vim.g.mapleader = " " +-- Enable saving undo history +vim.o.undofile = true + +-- Decreate update time +vim.o.updatetime = 250 +vim.o.timeoutlen = 300 + +-- Set terminal gui colors to true +vim.o.termguicolors = true + +-- Sync clipboard between OS and neovim +vim.o.clipboard = "unnamedplus" + -- Setup custom keybinds vim.keymap.set("n", "", "Neotree toggle") -- Open Neotree fs with CTRL - n vim.keymap.set("n", "ca", vim.lsp.buf.code_action) -- Open Code actions with Space - ca vim.keymap.set("n", "K", vim.lsp.buf.hover) -- Open information with captial K vim.keymap.set("n", "gp", "Gitsigns preview_hunk") -- Open tab with changes with Space - gp vim.keymap.set("n", "gt", "Gitsigns toggle_current_line_blame") -- Shows when and who changed with Space - gt +vim.keymap.set("i", "jj", "") -- Sometimes we are a bit afk, we can work arround that diff --git a/plasma/.config/gtkrc-2.0 b/plasma/.config/gtkrc-2.0 index 001a1f4..d2255c7 100644 --- a/plasma/.config/gtkrc-2.0 +++ b/plasma/.config/gtkrc-2.0 @@ -1,4 +1,4 @@ -# created by KDE Plasma, Thu Jun 27 10:54:18 2024 +# created by KDE Plasma, Tue Jul 9 22:03:54 2024 # gtk-alternative-button-order = 1 diff --git a/plasma/.config/kdeglobals b/plasma/.config/kdeglobals index 08f00df..7482a3f 100644 --- a/plasma/.config/kdeglobals +++ b/plasma/.config/kdeglobals @@ -23,8 +23,8 @@ IntensityEffect=0 [Colors:Button] BackgroundAlternate=64,69,82 BackgroundNormal=40,42,54 -DecorationFocus=68,71,90 -DecorationHover=68,71,90 +DecorationFocus=124,96,163 +DecorationHover=124,96,163 ForegroundActive=61,174,233 ForegroundInactive=102,106,115 ForegroundLink=41,128,185 @@ -34,11 +34,53 @@ ForegroundNormal=248,248,242 ForegroundPositive=80,250,122 ForegroundVisited=82,148,226 +[Colors:Complementary] +BackgroundAlternate[$d] +BackgroundNormal[$d] +DecorationFocus[$d] +DecorationHover[$d] +ForegroundActive[$d] +ForegroundInactive[$d] +ForegroundLink[$d] +ForegroundNegative[$d] +ForegroundNeutral[$d] +ForegroundNormal[$d] +ForegroundPositive[$d] +ForegroundVisited[$d] + +[Colors:Header] +BackgroundAlternate[$d] +BackgroundNormal[$d] +DecorationFocus[$d] +DecorationHover[$d] +ForegroundActive[$d] +ForegroundInactive[$d] +ForegroundLink[$d] +ForegroundNegative[$d] +ForegroundNeutral[$d] +ForegroundNormal[$d] +ForegroundPositive[$d] +ForegroundVisited[$d] + +[Colors:Header][Inactive] +BackgroundAlternate[$d] +BackgroundNormal[$d] +DecorationFocus[$d] +DecorationHover[$d] +ForegroundActive[$d] +ForegroundInactive[$d] +ForegroundLink[$d] +ForegroundNegative[$d] +ForegroundNeutral[$d] +ForegroundNormal[$d] +ForegroundPositive[$d] +ForegroundVisited[$d] + [Colors:Selection] BackgroundAlternate=29,153,243 -BackgroundNormal=68,71,90 -DecorationFocus=68,71,90 -DecorationHover=68,71,90 +BackgroundNormal=124,96,163 +DecorationFocus=124,96,163 +DecorationHover=124,96,163 ForegroundActive=252,252,252 ForegroundInactive=211,218,227 ForegroundLink=253,188,75 @@ -51,8 +93,8 @@ ForegroundVisited=189,195,199 [Colors:Tooltip] BackgroundAlternate=47,52,63 BackgroundNormal=53,57,69 -DecorationFocus=68,71,90 -DecorationHover=68,71,90 +DecorationFocus=124,96,163 +DecorationHover=124,96,163 ForegroundActive=61,174,233 ForegroundInactive=102,106,115 ForegroundLink=41,128,185 @@ -65,8 +107,8 @@ ForegroundVisited=82,148,226 [Colors:View] BackgroundAlternate=43,45,59 BackgroundNormal=30,31,41 -DecorationFocus=68,71,90 -DecorationHover=68,71,90 +DecorationFocus=124,96,163 +DecorationHover=124,96,163 ForegroundActive=139,233,253 ForegroundInactive=102,106,115 ForegroundLink=82,148,226 @@ -79,8 +121,8 @@ ForegroundVisited=124,183,255 [Colors:Window] BackgroundAlternate=47,52,63 BackgroundNormal=40,42,54 -DecorationFocus=68,71,90 -DecorationHover=68,71,90 +DecorationFocus=124,96,163 +DecorationHover=124,96,163 ForegroundActive=139,233,253 ForegroundInactive=102,106,115 ForegroundLink=41,128,185 @@ -90,8 +132,12 @@ ForegroundNormal=248,248,242 ForegroundPositive=80,250,122 ForegroundVisited=68,71,90 +[DirSelect Dialog] +DirSelectDialog Size=820,584 +History Items[$e]=file:$HOME,file:$HOME/.blink,file:$HOME/.var/app/io.gitlab.librewolf-community/.librewolf/q2q5b8ee.default-default-1,file:$HOME/.local/share/chatterino/,file:$HOME/.local/share/,file:$HOME/.local/ + [General] -ColorSchemeHash=154cb4d8d3e569860cc378f981d35f572c5b9e1d +ColorSchemeHash=e44c8d483c47a28c7d0e32e6b41dd227803affe5 [KDE] LookAndFeelPackage=org.kde.breezedark.desktop @@ -99,7 +145,7 @@ LookAndFeelPackage=org.kde.breezedark.desktop [KFileDialog Settings] Allow Expansion=false Automatically select filename extension=true -Breadcrumb Navigation=true +Breadcrumb Navigation=false Decoration position=2 LocationCombo Completionmode=5 PathCombo Completionmode=5 diff --git a/plasma/.config/kwinrc b/plasma/.config/kwinrc index 9f649ff..8da4668 100644 --- a/plasma/.config/kwinrc +++ b/plasma/.config/kwinrc @@ -31,5 +31,5 @@ tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"wi Scale=1 [org.kde.kdecoration2] -library=org.kde.breeze -theme=Breeze +library=org.kde.kwin.aurorae +theme=__aurorae__svg__Dracula diff --git a/plasma/.config/plasma-org.kde.plasma.desktop-appletsrc b/plasma/.config/plasma-org.kde.plasma.desktop-appletsrc index 16290b4..312e630 100644 --- a/plasma/.config/plasma-org.kde.plasma.desktop-appletsrc +++ b/plasma/.config/plasma-org.kde.plasma.desktop-appletsrc @@ -50,7 +50,7 @@ immutability=1 plugin=org.kde.plasma.notifications [Containments][10][Applets][15][Configuration] -PreloadWeight=60 +PreloadWeight=65 [Containments][10][Applets][16] immutability=1 @@ -170,8 +170,8 @@ plugin=org.kde.plasma.kickoff [Containments][4][Applets][5][Configuration] PreloadWeight=100 -popupHeight=510 -popupWidth=647 +popupHeight=516 +popupWidth=651 [Containments][4][Applets][5][Configuration][General] favoritesPortedToKAstats=true @@ -197,8 +197,12 @@ showWindowIcons=true immutability=1 plugin=org.kde.plasma.icontasks +[Containments][4][Applets][7][Configuration][ConfigDialog] +DialogHeight=540 +DialogWidth=720 + [Containments][4][Applets][7][Configuration][General] -launchers=applications:systemsettings.desktop,preferred://filemanager,applications:librewolf.desktop,applications:Alacritty.desktop +launchers=applications:systemsettings.desktop,applications:io.gitlab.librewolf-community.desktop,preferred://filemanager,applications:Alacritty.desktop [Containments][4][Applets][8] immutability=1 diff --git a/plasma/.config/plasmanotifyrc b/plasma/.config/plasmanotifyrc index f9b4f7c..6ad1f1a 100644 --- a/plasma/.config/plasmanotifyrc +++ b/plasma/.config/plasmanotifyrc @@ -3,3 +3,7 @@ Seen=true [Applications][fr.handbrake.ghb] Seen=true + +[Applications][in.cinny.Cinny] +Seen=true +ShowInHistory=false diff --git a/plasma/.config/plasmashellrc b/plasma/.config/plasmashellrc index 10dc59d..1f5a518 100644 --- a/plasma/.config/plasmashellrc +++ b/plasma/.config/plasmashellrc @@ -1,9 +1,10 @@ [PlasmaViews][Panel 4] floating=1 +panelLengthMode=0 panelOpacity=2 [PlasmaViews][Panel 4][Defaults] -thickness=36 +thickness=34 [Updates] performed=/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/containmentactions_middlebutton.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/digitalclock_migrate_font_settings.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/digitalclock_migrate_showseconds_setting.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/digitalclock_rename_timezonedisplay_key.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/folderview_fix_recursive_screenmapping.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/keyboardlayout_migrateiconsetting.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/keyboardlayout_remove_shortcut.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/klipper_clear_config.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/maintain_existing_desktop_icon_sizes.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/mediaframe_migrate_useBackground_setting.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/migrate_font_weights.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/move_desktop_layout_config.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/no_middle_click_paste_on_panels.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/systemloadviewer_systemmonitor.js,/usr/share/plasma/shells/org.kde.plasma.desktop/contents/updates/unlock_widgets.js diff --git a/plasma/.config/spectaclerc b/plasma/.config/spectaclerc index d2df791..235c1a8 100644 --- a/plasma/.config/spectaclerc +++ b/plasma/.config/spectaclerc @@ -1,11 +1,9 @@ -[Annotations] -annotationToolType=2 - [General] +autoSaveImage=true clipboardGroup=PostScreenshotCopyImage [ImageSave] -lastImageSaveLocation=file:///home/philipp/Pictures/Screenshots/Screenshot_20240309_011444.png +lastImageSaveLocation=file:///home/philipp/Pictures/Screenshots/Screenshot_20240706_151134.png translatedScreenshotsFolder=Screenshots [VideoSave] diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index a83c93c..a972704 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -2,8 +2,11 @@ unbind r bind r source-file ~/.tmux.conf -# General tmux settings +# Setup 256bit color for all terminal emulators set -g default-terminal "screen-256color" +set -ag terminal-overrides ",alacritty:RGB,xterm-256color:RGB,gnome*:RGB" + +# General tmux settings set -g mouse on set -g status-interval 5 set -g status-position top @@ -25,13 +28,15 @@ set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-sensible' set -g @plugin 'dracula/tmux' set -g @plugin 'christoomey/vim-tmux-navigator' +set -g @plugin "janoamaral/tokyo-night-tmux" -# Dracula customizations -set -g @dracula-show-powerline true -set -g @dracula-plugins "ssh-session cpu-usage ram-usage time" -set -g @dracula-show-flags true -set -g @dracula-show-empty-plugins false -set -g @dracula-show-left-icon window +# Tokyo Night Customize +set -g @tokyo-night-tmux_window_id_style digital +set -g @tokyo-night-tmux_pane_id_style hsquare +set -g @tokyo-night-tmux_zoom_id_style dsquare +set -g @tokyo-night-tmux_show_datetime 1 +set -g @tokyo-night-tmux_date_format DMY +set -g @tokyo-night-tmux_time_format 24H # Initialize TMUX plugin manager run '~/.tmux/plugins/tpm/tpm' diff --git a/zsh/.zshrc b/zsh/.zshrc index 3871fc2..07ace62 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -70,7 +70,12 @@ ZSH_THEME="obraun" # Custom plugins may be added to $ZSH_CUSTOM/plugins/ # Example format: plugins=(rails git textmate ruby lighthouse) # Add wisely, as too many plugins slow down shell startup. -plugins=(git) +plugins=(git tmux) + +# Spawn tmux shell if its my pc +if [ $HOST = "bodenheizung" ]; then + ZSH_TMUX_AUTOSTART=true +fi source $ZSH/oh-my-zsh.sh