Compare commits
No commits in common. "e79bf4a82cc26b8c98144ff0c0b1454f0ef4c415" and "de52b649308dfce764745957a6a703a689e46fe0" have entirely different histories.
e79bf4a82c
...
de52b64930
@ -5,10 +5,8 @@ sudo ryzenadj-service &
|
|||||||
# Enable Tear Free
|
# Enable Tear Free
|
||||||
xrandr --output eDP --set TearFree on
|
xrandr --output eDP --set TearFree on
|
||||||
|
|
||||||
# Set disable screensaver and set dmps to 0
|
# Set dpms 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,9 +10,6 @@ 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
|
||||||
@ -37,7 +34,6 @@ 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
|
||||||
@ -46,12 +42,6 @@ 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,6 +26,7 @@ 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(..))
|
||||||
|
|
||||||
@ -84,9 +85,11 @@ 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")
|
||||||
@ -146,11 +149,13 @@ 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,9 +21,6 @@ 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'
|
||||||
@ -58,8 +55,3 @@ 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,7 +47,3 @@ 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…
x
Reference in New Issue
Block a user