Compare commits
10 Commits
de52b64930
...
e79bf4a82c
Author | SHA1 | Date | |
---|---|---|---|
e79bf4a82c | |||
6c6b5b4dcc | |||
03d2a54bc9 | |||
f161c7c3e9 | |||
10b0261ac4 | |||
3dd68612c4 | |||
01700f67d3 | |||
9b60b091d6 | |||
bdc41a6a22 | |||
c20c19ca9f |
@ -5,8 +5,10 @@ sudo ryzenadj-service &
|
|||||||
# Enable Tear Free
|
# Enable Tear Free
|
||||||
xrandr --output eDP --set TearFree on
|
xrandr --output eDP --set TearFree on
|
||||||
|
|
||||||
# Set dpms to 0
|
# Set disable screensaver and set dmps to 0
|
||||||
xset dpms 0 0 0
|
xset dpms 0 0 0
|
||||||
|
xset s off
|
||||||
|
xset s noblank
|
||||||
|
|
||||||
# Load xresources
|
# Load xresources
|
||||||
xrdb $HOME/.config/X11/xresources
|
xrdb $HOME/.config/X11/xresources
|
||||||
|
@ -10,6 +10,9 @@ set -g pane-base-index 1
|
|||||||
set-window-option -g pane-base-index 1
|
set-window-option -g pane-base-index 1
|
||||||
set-option -g renumber-windows on
|
set-option -g renumber-windows on
|
||||||
|
|
||||||
|
# SPEED
|
||||||
|
set -g escape-time 0
|
||||||
|
set-option -g status-interval 1
|
||||||
|
|
||||||
# set prefix key to ctrl + space
|
# set prefix key to ctrl + space
|
||||||
unbind C-b
|
unbind C-b
|
||||||
@ -34,6 +37,7 @@ bind-key t run-shell 'tmux-popup zsh'
|
|||||||
bind-key g run-shell 'tmux-popup lazygit'
|
bind-key g run-shell 'tmux-popup lazygit'
|
||||||
bind-key f run-shell 'tmux-popup nnn'
|
bind-key f run-shell 'tmux-popup nnn'
|
||||||
bind-key h run-shell 'tmux-popup htop'
|
bind-key h run-shell 'tmux-popup htop'
|
||||||
|
bind-key g run-shell 'tmux-popup t'
|
||||||
|
|
||||||
# Vim keybindings for pane movement
|
# Vim keybindings for pane movement
|
||||||
setw -g mode-keys vi
|
setw -g mode-keys vi
|
||||||
@ -42,6 +46,12 @@ bind-key j select-pane -D
|
|||||||
bind-key k select-pane -U
|
bind-key k select-pane -U
|
||||||
bind-key l select-pane -R
|
bind-key l select-pane -R
|
||||||
|
|
||||||
|
# Skip kill pane %Number% (y/n) prompt
|
||||||
|
bind-key x kill-pane
|
||||||
|
|
||||||
|
# Don't exit from tmux when closing a session
|
||||||
|
set -g detach-on-destroy off
|
||||||
|
|
||||||
# Catppuccin settings
|
# Catppuccin settings
|
||||||
set -g @catppuccin_flavour 'frappe'
|
set -g @catppuccin_flavour 'frappe'
|
||||||
set -g @catppuccin_window_left_separator "█"
|
set -g @catppuccin_window_left_separator "█"
|
||||||
|
@ -26,7 +26,6 @@ import XMonad.Layout.NoBorders
|
|||||||
import XMonad.Layout.SimplestFloat
|
import XMonad.Layout.SimplestFloat
|
||||||
import XMonad.Layout.LayoutModifier
|
import XMonad.Layout.LayoutModifier
|
||||||
import XMonad.Layout.ResizableTile
|
import XMonad.Layout.ResizableTile
|
||||||
import XMonad.Layout.WindowNavigation
|
|
||||||
import XMonad.Layout.PerWorkspace
|
import XMonad.Layout.PerWorkspace
|
||||||
import XMonad.Layout.WindowArranger (windowArrange, WindowArrangerMsg(..))
|
import XMonad.Layout.WindowArranger (windowArrange, WindowArrangerMsg(..))
|
||||||
|
|
||||||
@ -85,11 +84,9 @@ myStartupHook = do
|
|||||||
spawnOnce "gentoo-pipewire-launcher"
|
spawnOnce "gentoo-pipewire-launcher"
|
||||||
spawnOnce "transmission-daemon"
|
spawnOnce "transmission-daemon"
|
||||||
spawnOnce "syncthing"
|
spawnOnce "syncthing"
|
||||||
spawnOnce "lxsession"
|
|
||||||
spawnOnce "picom"
|
spawnOnce "picom"
|
||||||
spawnOnce "clipmenud"
|
spawnOnce "clipmenud"
|
||||||
spawnOnce "dunst"
|
spawnOnce "dunst"
|
||||||
-- spawnOnce "discord --start-minimized"
|
|
||||||
spawnOnce "keepassxc"
|
spawnOnce "keepassxc"
|
||||||
spawnOnce "/usr/libexec/polkit-gnome-authentication-agent-1"
|
spawnOnce "/usr/libexec/polkit-gnome-authentication-agent-1"
|
||||||
spawn ("sleep 2 && trayer-srg --edge top --align right --widthtype request --padding 6 --iconspacing 7 --SetDockType true --SetPartialStrut true --expand true --monitor 1 --transparent true --alpha 0 --tint 0x303446 --height 27 -l")
|
spawn ("sleep 2 && trayer-srg --edge top --align right --widthtype request --padding 6 --iconspacing 7 --SetDockType true --SetPartialStrut true --expand true --monitor 1 --transparent true --alpha 0 --tint 0x303446 --height 27 -l")
|
||||||
@ -149,13 +146,11 @@ mySpacing' i = spacingRaw True (Border i i i i) True (Border i i i i) True
|
|||||||
-- My layouts
|
-- My layouts
|
||||||
tall = renamed [Replace "tall"]
|
tall = renamed [Replace "tall"]
|
||||||
$ withBorder myBorderWidth
|
$ withBorder myBorderWidth
|
||||||
$ windowNavigation
|
|
||||||
$ mySpacing 7
|
$ mySpacing 7
|
||||||
$ ResizableTall 1 (3/100) (1/2) []
|
$ ResizableTall 1 (3/100) (1/2) []
|
||||||
monocle = renamed [Replace "monocle"]
|
monocle = renamed [Replace "monocle"]
|
||||||
$ withBorder myBorderWidth
|
$ withBorder myBorderWidth
|
||||||
$ mySpacing 7
|
$ mySpacing 7
|
||||||
$ windowNavigation
|
|
||||||
$ Full
|
$ Full
|
||||||
floats = renamed [Replace "floats"]
|
floats = renamed [Replace "floats"]
|
||||||
$ withBorder myBorderWidth
|
$ withBorder myBorderWidth
|
||||||
|
@ -21,6 +21,9 @@ plug "zdharma-continuum/fast-syntax-highlighting"
|
|||||||
plug "zsh-users/zsh-history-substring-search"
|
plug "zsh-users/zsh-history-substring-search"
|
||||||
plug "MichaelAquilina/zsh-you-should-use"
|
plug "MichaelAquilina/zsh-you-should-use"
|
||||||
|
|
||||||
|
# Startup zoxide
|
||||||
|
eval "$(zoxide init zsh)"
|
||||||
|
|
||||||
# Substring search settings
|
# Substring search settings
|
||||||
export HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_FOUND="bg=blue,fg=black,bold"
|
export HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_FOUND="bg=blue,fg=black,bold"
|
||||||
export HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_NOT_FOUND='bg=red,fg=black,bold'
|
export HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_NOT_FOUND='bg=red,fg=black,bold'
|
||||||
@ -55,3 +58,8 @@ nnn_cd ()
|
|||||||
}
|
}
|
||||||
|
|
||||||
trap nnn_cd EXIT
|
trap nnn_cd EXIT
|
||||||
|
|
||||||
|
# Check if in tmux and if a venv directory exists activate the python environment
|
||||||
|
if [ ! -z "$TMUX" ] && [ -d "./env" ]; then
|
||||||
|
. ./env/bin/activate
|
||||||
|
fi
|
||||||
|
@ -47,3 +47,7 @@ alias sync_done='curl -u ":$(cat .config/ntfy/access_token)" -H "t: System sync"
|
|||||||
|
|
||||||
# cryptography
|
# cryptography
|
||||||
alias rot13="tr 'A-Za-z' 'N-ZA-Mn-za-m'"
|
alias rot13="tr 'A-Za-z' 'N-ZA-Mn-za-m'"
|
||||||
|
|
||||||
|
# for tmux
|
||||||
|
alias td="tmux new -s $(basename $(pwd))"
|
||||||
|
alias tu="tmux -f ~/.config/tmux/update.conf attach"
|
||||||
|
Loading…
Reference in New Issue
Block a user