nvim oil, shell aliases, zsh tweaks
This commit is contained in:
@@ -121,7 +121,7 @@ bindsym $mod+Shift+0 move container to workspace $ws10
|
||||
bindsym $mod+Return exec --no-startup-id "rofi -show"
|
||||
bindsym $mod+Shift+space exec --no-startup-id alacritty
|
||||
bindsym $mod+w exec --no-startup-id firefox
|
||||
bindsym $mod+Shift+w exec --no-startup-id "firefox -profile ~/.mozilla/firefox/2ustnzbw.shopping"
|
||||
# bindsym $mod+Shift+w exec --no-startup-id "firefox -profile ~/.mozilla/firefox/2ustnzbw.shopping"
|
||||
bindsym $mod+e exec --no-startup-id thunar
|
||||
bindsym --release $mod+s exec "import ~/Pictures/screenshots/$(date '+%y_%m_%d-%H_%M_%S').png"
|
||||
bindsym $mod+Shift+s exec "import -window root ~/Pictures/screenshots/$(date '+%y_%m_%d-%H_%M_%S').png"
|
||||
@@ -137,7 +137,7 @@ bindsym $mod+Shift+s exec "import -window root ~/Pictures/screenshots/$(date '+
|
||||
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
# DESKTOP STUFF
|
||||
# set background picture
|
||||
exec --no-startup-id nitrogen --set-zoom-fill $HOME/.config/i3/bg.png
|
||||
exec --no-startup-id nitrogen --set-tiled $HOME/.config/i3/eurkey.png
|
||||
|
||||
# try to start tray tools / applets manually
|
||||
exec --no-startup-id nm-applet
|
||||
|
||||
BIN
.config/i3/eurkey.png
Normal file
BIN
.config/i3/eurkey.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 47 KiB |
@@ -19,6 +19,7 @@ packer.startup(function()
|
||||
use 'neovim/nvim-lspconfig'
|
||||
use 'nvim-treesitter/nvim-treesitter'
|
||||
use 'kylechui/nvim-surround'
|
||||
use 'stevearc/oil.nvim'
|
||||
-- use nvim-leap
|
||||
end
|
||||
)
|
||||
@@ -31,4 +32,4 @@ configs.setup {
|
||||
}
|
||||
}
|
||||
]]--
|
||||
|
||||
require("oil").setup()
|
||||
|
||||
@@ -3,8 +3,8 @@ alias diff='diff -u --color'
|
||||
alias tree='eza --tree'
|
||||
alias ls='eza --group-directories-first' # make output more readable and show directories first
|
||||
alias ll='ls --long --header --git'
|
||||
alias li='ls --git-ignore'
|
||||
alias la='ls --all'
|
||||
alias li='la --git-ignore'
|
||||
alias less='less --use-color'
|
||||
alias grep='rg' # colorize grep output, set GREP_COLORS
|
||||
alias cp="cp -i" # Confirm before overwriting something
|
||||
@@ -13,8 +13,8 @@ alias vi='nvim' # Show sizes in
|
||||
alias r='R'
|
||||
alias xar="xarchiver"
|
||||
alias g="git"
|
||||
alias py="python"
|
||||
alias t="dict"
|
||||
alias u="dict"
|
||||
alias todo="rg '(TODO|FIXME|NOTE)'"
|
||||
|
||||
|
||||
# Add an "alert" alias for long running commands. Use like so: 'sleep 10; alert'
|
||||
@@ -76,3 +76,22 @@ pwd() # print path of files
|
||||
echo "$PWD/$1"
|
||||
}
|
||||
|
||||
ranger() {
|
||||
if [ -z "$RANGER_LEVEL" ]; then
|
||||
/usr/bin/ranger "$@"
|
||||
else
|
||||
exit
|
||||
fi
|
||||
}
|
||||
|
||||
py() {
|
||||
if [ $# -eq 0 ]; then
|
||||
ipython
|
||||
else
|
||||
python "$@"
|
||||
fi
|
||||
}
|
||||
|
||||
act() {
|
||||
source .venv/bin/activate
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user