diff --git a/.gitignore b/.gitignore index 09ab6af..3895692 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ zsh/.local +tmux/.tmux/plugins nvim/.config/nvim/lazy-lock.json diff --git a/README.md b/README.md index 7ef8054..0631e84 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ You will need atleast following packages for it to work -`paru -S neovim alacritty plasma-meta zsh fzf stow` +`paru -S neovim alacritty plasma-meta zsh fzf stow tmux` ### Getting started @@ -15,7 +15,7 @@ For stow to restore the old state you have to run following command. `git clone https://git.snrd.eu/Spaenny/dotfiles.git && cd dotfiles` -`stow alacritty nvim plasma zsh` +`stow alacritty nvim plasma zsh tmux` If you just wanna restore one application config you can do so by executing it via package name. `stow nvim` diff --git a/nvim/.config/nvim/init.lua b/nvim/.config/nvim/init.lua index f187803..c7f470f 100644 --- a/nvim/.config/nvim/init.lua +++ b/nvim/.config/nvim/init.lua @@ -14,6 +14,3 @@ vim.opt.rtp:prepend(lazypath) require("vim-settings") require("lazy").setup("plugins") - - - diff --git a/plasma/.config/gtkrc-2.0 b/plasma/.config/gtkrc-2.0 index 6704a09..001a1f4 100644 --- a/plasma/.config/gtkrc-2.0 +++ b/plasma/.config/gtkrc-2.0 @@ -1,4 +1,4 @@ -# created by KDE Plasma, Wed Jun 26 10:00:02 2024 +# created by KDE Plasma, Thu Jun 27 10:54:18 2024 # gtk-alternative-button-order = 1 diff --git a/plasma/.config/kglobalshortcutsrc b/plasma/.config/kglobalshortcutsrc index fcf8a17..4a50ee4 100644 --- a/plasma/.config/kglobalshortcutsrc +++ b/plasma/.config/kglobalshortcutsrc @@ -32,8 +32,9 @@ mute=Volume Mute,Volume Mute,Mute [ksmserver] Halt Without Confirmation=none,,Shut Down Without Confirmation Lock Session=Meta+L\tScreensaver,Meta+L\tScreensaver,Lock Session -Log Out=Ctrl+Alt+Del,Ctrl+Alt+Del,Log Out +Log Out=Ctrl+Alt+Del,Ctrl+Alt+Del,Show Logout Prompt Log Out Without Confirmation=none,,Log Out Without Confirmation +LogOut=none,,Log Out Reboot=none,,Reboot Reboot Without Confirmation=none,,Reboot Without Confirmation Shut Down=none,,Shut Down @@ -106,7 +107,7 @@ Switch to Screen Above=none,,Switch to Screen Above Switch to Screen Below=none,,Switch to Screen Below Switch to Screen to the Left=none,,Switch to Screen to the Left Switch to Screen to the Right=none,,Switch to Screen to the Right -Toggle Night Color=none,none,Toggle Night Light +Toggle Night Color=none,none,Suspend/Resume Night Light Toggle Window Raise/Lower=none,,Toggle Window Raise/Lower Walk Through Windows=Alt+Tab,Alt+Tab,Walk Through Windows Walk Through Windows (Reverse)=Alt+Shift+Tab,Alt+Shift+Tab,Walk Through Windows (Reverse) @@ -223,6 +224,7 @@ powerProfile=Battery\tMeta+B,Battery\tMeta+B,Switch Power Profile [plasmashell] _k_friendly_name=plasmashell +activate application launcher=Meta,Meta\tAlt+F1,Activate Application Launcher activate task manager entry 1=none,Meta+1,Activate Task Manager Entry 1 activate task manager entry 10=none,Meta+0,Activate Task Manager Entry 10 activate task manager entry 2=none,Meta+2,Activate Task Manager Entry 2 diff --git a/plasma/.config/kwinoutputconfig.json b/plasma/.config/kwinoutputconfig.json index 765dd15..db21b35 100644 --- a/plasma/.config/kwinoutputconfig.json +++ b/plasma/.config/kwinoutputconfig.json @@ -3,6 +3,8 @@ "data": [ { "autoRotation": "InTabletMode", + "brightness": 1, + "colorProfileSource": "sRGB", "connectorName": "DP-1", "edidHash": "ed683a56f1976806cd9ccf23fc680f62", "edidIdentifier": "MSI 5218 1 45 2017 0", @@ -24,6 +26,8 @@ }, { "autoRotation": "InTabletMode", + "brightness": 1, + "colorProfileSource": "sRGB", "connectorName": "DP-2", "edidHash": "3f2aa370203a407bbdbfb476302c6397", "edidIdentifier": "PHL 49494 1146 46 2021 0", @@ -45,6 +49,8 @@ }, { "autoRotation": "InTabletMode", + "brightness": 1, + "colorProfileSource": "sRGB", "connectorName": "HDMI-A-2", "edidHash": "2cacc2503bfb9d8e4b67bed71c722adc", "edidIdentifier": "PHL 2279 265 16 2018 0", diff --git a/plasma/.config/kwinrc b/plasma/.config/kwinrc index ad00eb2..9f649ff 100644 --- a/plasma/.config/kwinrc +++ b/plasma/.config/kwinrc @@ -9,15 +9,24 @@ Rows=1 [Tiling] padding=4 +[Tiling][0eaf37e9-222e-51ff-a1a6-7d9ec51d0f60] +tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]} + [Tiling][1a885956-9e56-5f36-a40a-8c7d85ccd296] tiles={"layoutDirection":"horizontal","tiles":[{"layoutDirection":"vertical","tiles":[{"height":0.5},{"height":0.5}],"width":0.8493055555555543},{"layoutDirection":"vertical","tiles":[{"height":0.5},{"height":0.5}],"width":0.15069444444444569}]} [Tiling][28852940-922b-5e48-b156-e62e36e769f5] tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]} +[Tiling][5b3ba137-038d-5ba0-88f0-c30476cf7045] +tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]} + [Tiling][7eadfd0f-0ba9-5978-b6fd-527ada28bc81] tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]} +[Tiling][d509e6f8-293c-563e-8b6c-3cbf4d67756f] +tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]} + [Xwayland] Scale=1 diff --git a/plasma/.config/plasma-org.kde.plasma.desktop-appletsrc b/plasma/.config/plasma-org.kde.plasma.desktop-appletsrc index 40742b2..16290b4 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=55 +PreloadWeight=60 [Containments][10][Applets][16] immutability=1 @@ -198,7 +198,7 @@ immutability=1 plugin=org.kde.plasma.icontasks [Containments][4][Applets][7][Configuration][General] -launchers=applications:systemsettings.desktop,preferred://filemanager,applications:mercury-browser.desktop,applications:Alacritty.desktop +launchers=applications:systemsettings.desktop,preferred://filemanager,applications:librewolf.desktop,applications:Alacritty.desktop [Containments][4][Applets][8] immutability=1 @@ -217,4 +217,4 @@ AppletOrder=5;6;7;8;9;19;27 [ScreenMapping] itemsOnDisabledScreens= -screenMapping=desktop:/Fortnite.desktop,0,78ba6e6d-5dc7-4f18-a39b-c2af6d31bd8a,desktop:/Old Firefox Data,0,78ba6e6d-5dc7-4f18-a39b-c2af6d31bd8a +screenMapping=desktop:/Old Firefox Data,0,78ba6e6d-5dc7-4f18-a39b-c2af6d31bd8a,desktop:/Fortnite.desktop,0,78ba6e6d-5dc7-4f18-a39b-c2af6d31bd8a diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf new file mode 100644 index 0000000..a83c93c --- /dev/null +++ b/tmux/.tmux.conf @@ -0,0 +1,37 @@ +# Setup refresh bind +unbind r +bind r source-file ~/.tmux.conf + +# General tmux settings +set -g default-terminal "screen-256color" +set -g mouse on +set -g status-interval 5 +set -g status-position top +set -g base-index 1 +set -g set-titles on +set -g automatic-rename on +setw -g automatic-rename on +setw -g renumber-windows on + +# Setup vim keybinds +setw -g mode-keys vi +bind-key h select-pane -L +bind-key j select-pane -D +bind-key k select-pane -U +bind-key l select-pane -R + +# List of plugins +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' + +# 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 + +# Initialize TMUX plugin manager +run '~/.tmux/plugins/tpm/tpm' diff --git a/zsh/.zshrc b/zsh/.zshrc index 8068b62..3871fc2 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -108,6 +108,7 @@ alias autoclean-all='paru -Scc' alias kexec-load="sudo kexec -l /boot/vmlinuz-linux-zen --initrd=/boot/initramfs-linux-zen.img --reuse-cmdline" alias fvim='nvim $(fzf --preview="cat {}")' alias update-dotfiles='cd ~/dotfiles && git pull' +alias cd..='cd ..' # Setup better history with fzf source <(fzf --zsh)