Compare commits

...

2 commits

Author SHA256 Message Date
b3105a1aa9
add cd.. alias 2024-06-27 13:10:57 +02:00
14a0af0cce
add tmux to configuration 2024-06-27 13:10:15 +02:00
10 changed files with 64 additions and 11 deletions

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
zsh/.local zsh/.local
tmux/.tmux/plugins
nvim/.config/nvim/lazy-lock.json nvim/.config/nvim/lazy-lock.json

View file

@ -7,7 +7,7 @@
You will need atleast following packages for it to work 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 ### 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` `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. If you just wanna restore one application config you can do so by executing it via package name.
`stow nvim` `stow nvim`

View file

@ -14,6 +14,3 @@ vim.opt.rtp:prepend(lazypath)
require("vim-settings") require("vim-settings")
require("lazy").setup("plugins") require("lazy").setup("plugins")

View file

@ -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 gtk-alternative-button-order = 1

View file

@ -32,8 +32,9 @@ mute=Volume Mute,Volume Mute,Mute
[ksmserver] [ksmserver]
Halt Without Confirmation=none,,Shut Down Without Confirmation Halt Without Confirmation=none,,Shut Down Without Confirmation
Lock Session=Meta+L\tScreensaver,Meta+L\tScreensaver,Lock Session 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 Log Out Without Confirmation=none,,Log Out Without Confirmation
LogOut=none,,Log Out
Reboot=none,,Reboot Reboot=none,,Reboot
Reboot Without Confirmation=none,,Reboot Without Confirmation Reboot Without Confirmation=none,,Reboot Without Confirmation
Shut Down=none,,Shut Down 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 Below=none,,Switch to Screen Below
Switch to Screen to the Left=none,,Switch to Screen to the Left 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 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 Toggle Window Raise/Lower=none,,Toggle Window Raise/Lower
Walk Through Windows=Alt+Tab,Alt+Tab,Walk Through Windows Walk Through Windows=Alt+Tab,Alt+Tab,Walk Through Windows
Walk Through Windows (Reverse)=Alt+Shift+Tab,Alt+Shift+Tab,Walk Through Windows (Reverse) 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] [plasmashell]
_k_friendly_name=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 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 10=none,Meta+0,Activate Task Manager Entry 10
activate task manager entry 2=none,Meta+2,Activate Task Manager Entry 2 activate task manager entry 2=none,Meta+2,Activate Task Manager Entry 2

View file

@ -3,6 +3,8 @@
"data": [ "data": [
{ {
"autoRotation": "InTabletMode", "autoRotation": "InTabletMode",
"brightness": 1,
"colorProfileSource": "sRGB",
"connectorName": "DP-1", "connectorName": "DP-1",
"edidHash": "ed683a56f1976806cd9ccf23fc680f62", "edidHash": "ed683a56f1976806cd9ccf23fc680f62",
"edidIdentifier": "MSI 5218 1 45 2017 0", "edidIdentifier": "MSI 5218 1 45 2017 0",
@ -24,6 +26,8 @@
}, },
{ {
"autoRotation": "InTabletMode", "autoRotation": "InTabletMode",
"brightness": 1,
"colorProfileSource": "sRGB",
"connectorName": "DP-2", "connectorName": "DP-2",
"edidHash": "3f2aa370203a407bbdbfb476302c6397", "edidHash": "3f2aa370203a407bbdbfb476302c6397",
"edidIdentifier": "PHL 49494 1146 46 2021 0", "edidIdentifier": "PHL 49494 1146 46 2021 0",
@ -45,6 +49,8 @@
}, },
{ {
"autoRotation": "InTabletMode", "autoRotation": "InTabletMode",
"brightness": 1,
"colorProfileSource": "sRGB",
"connectorName": "HDMI-A-2", "connectorName": "HDMI-A-2",
"edidHash": "2cacc2503bfb9d8e4b67bed71c722adc", "edidHash": "2cacc2503bfb9d8e4b67bed71c722adc",
"edidIdentifier": "PHL 2279 265 16 2018 0", "edidIdentifier": "PHL 2279 265 16 2018 0",

View file

@ -9,15 +9,24 @@ Rows=1
[Tiling] [Tiling]
padding=4 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] [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}]} 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] [Tiling][28852940-922b-5e48-b156-e62e36e769f5]
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]} 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] [Tiling][7eadfd0f-0ba9-5978-b6fd-527ada28bc81]
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]} 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] [Xwayland]
Scale=1 Scale=1

View file

@ -50,7 +50,7 @@ immutability=1
plugin=org.kde.plasma.notifications plugin=org.kde.plasma.notifications
[Containments][10][Applets][15][Configuration] [Containments][10][Applets][15][Configuration]
PreloadWeight=55 PreloadWeight=60
[Containments][10][Applets][16] [Containments][10][Applets][16]
immutability=1 immutability=1
@ -198,7 +198,7 @@ immutability=1
plugin=org.kde.plasma.icontasks plugin=org.kde.plasma.icontasks
[Containments][4][Applets][7][Configuration][General] [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] [Containments][4][Applets][8]
immutability=1 immutability=1
@ -217,4 +217,4 @@ AppletOrder=5;6;7;8;9;19;27
[ScreenMapping] [ScreenMapping]
itemsOnDisabledScreens= 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

37
tmux/.tmux.conf Normal file
View file

@ -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'

View file

@ -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 kexec-load="sudo kexec -l /boot/vmlinuz-linux-zen --initrd=/boot/initramfs-linux-zen.img --reuse-cmdline"
alias fvim='nvim $(fzf --preview="cat {}")' alias fvim='nvim $(fzf --preview="cat {}")'
alias update-dotfiles='cd ~/dotfiles && git pull' alias update-dotfiles='cd ~/dotfiles && git pull'
alias cd..='cd ..'
# Setup better history with fzf # Setup better history with fzf
source <(fzf --zsh) source <(fzf --zsh)