chore: small things
This commit is contained in:
16
README.md
16
README.md
@@ -25,6 +25,7 @@ sudo dnf install \
|
|||||||
kitty tmux \
|
kitty tmux \
|
||||||
git ripgrep fd-find fzf stow \
|
git ripgrep fd-find fzf stow \
|
||||||
firefox \
|
firefox \
|
||||||
|
obsidian \
|
||||||
nextcloud keepassxc tailscale
|
nextcloud keepassxc tailscale
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -43,3 +44,18 @@ sudo dnf install \
|
|||||||
- rounded-window-corners@fxgn (rounded corners of all windows)
|
- rounded-window-corners@fxgn (rounded corners of all windows)
|
||||||
- tiling-assistant@leleat-on-github (2 gaps, tiling state, super+wasd)
|
- tiling-assistant@leleat-on-github (2 gaps, tiling state, super+wasd)
|
||||||
- user-theme@gnome-shell-extensions.gcampax.github.com (legacy apps adw-gtk3, icons papirus)
|
- user-theme@gnome-shell-extensions.gcampax.github.com (legacy apps adw-gtk3, icons papirus)
|
||||||
|
|
||||||
|
|
||||||
|
### Nix
|
||||||
|
|
||||||
|
```
|
||||||
|
$ sh <(curl --proto '=https' --tlsv1.2 -L https://nixos.org/nix/install) --no-daemon
|
||||||
|
$ mkdir -p ~/.config/nix/
|
||||||
|
$ echo "experimental-features = nix-command flakes" > ~/.config/nix/nix.conf
|
||||||
|
```
|
||||||
|
|
||||||
|
### Rust
|
||||||
|
|
||||||
|
```
|
||||||
|
$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
||||||
|
```
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ PATH=$HOME/.dots/scripts:$HOME/.cargo/bin:$HOME/.ghcup/bin:$HOME/.local/bin:$HOM
|
|||||||
EDITOR=hx
|
EDITOR=hx
|
||||||
VISUAL=hx
|
VISUAL=hx
|
||||||
_JAVA_AWT_WM_NONREPARENTING=1
|
_JAVA_AWT_WM_NONREPARENTING=1
|
||||||
|
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
|
||||||
|
|
||||||
# support jp input in gnome
|
# support jp input in gnome
|
||||||
GTK_IM_MODULE=ibus
|
GTK_IM_MODULE=ibus
|
||||||
|
|||||||
@@ -11,6 +11,7 @@
|
|||||||
ca = commit -v --amend
|
ca = commit -v --amend
|
||||||
co = checkout
|
co = checkout
|
||||||
cp = cherry-pick
|
cp = cherry-pick
|
||||||
|
d = diff
|
||||||
nuke = clean -df
|
nuke = clean -df
|
||||||
lg = log --oneline --decorate --graph
|
lg = log --oneline --decorate --graph
|
||||||
pl = pull --rebase
|
pl = pull --rebase
|
||||||
|
|||||||
@@ -2378,7 +2378,13 @@ term xterm-256color
|
|||||||
|
|
||||||
#: }}}
|
#: }}}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# BEGIN_KITTY_THEME
|
# BEGIN_KITTY_THEME
|
||||||
# Everforest Light Medium
|
# Everforest Light Medium
|
||||||
include current-theme.conf
|
include current-theme.conf
|
||||||
# END_KITTY_THEME
|
# END_KITTY_THEME
|
||||||
|
|
||||||
|
# Tab management
|
||||||
|
|
||||||
|
map ctrl+t launch --cwd=current --type=tab
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ alias mv='mv -i'
|
|||||||
alias rm='rm -i'
|
alias rm='rm -i'
|
||||||
|
|
||||||
### fzf
|
### fzf
|
||||||
alias f='fzf --reverse'
|
|
||||||
alias c='cd $(fd --type d | fzf --reverse)'
|
alias c='cd $(fd --type d | fzf --reverse)'
|
||||||
alias blame='git show $(git ls-files | fzf -e --reverse --bind "enter:become(git blame {1} | fzf -e --ansi --reverse | cut -f 1 -d \" \")")'
|
alias blame='git show $(git ls-files | fzf -e --reverse --bind "enter:become(git blame {1} | fzf -e --ansi --reverse | cut -f 1 -d \" \")")'
|
||||||
|
|
||||||
@@ -61,6 +60,14 @@ downimage() {
|
|||||||
exiftool -all= $filename
|
exiftool -all= $filename
|
||||||
}
|
}
|
||||||
|
|
||||||
|
setgnomebuttons() {
|
||||||
|
gsettings set org.gnome.desktop.wm.preferences button-layout 'icon:minimize,close'
|
||||||
|
}
|
||||||
|
|
||||||
|
removegnomebuttons() {
|
||||||
|
gsettings set org.gnome.desktop.wm.preferences button-layout ''
|
||||||
|
}
|
||||||
|
|
||||||
### laptop acpi magic
|
### laptop acpi magic
|
||||||
|
|
||||||
conservation() {
|
conservation() {
|
||||||
|
|||||||
@@ -86,7 +86,9 @@ set -g pane-border-style fg="#e3ddcc"
|
|||||||
|
|
||||||
# Status
|
# Status
|
||||||
set -g status-style "bg=default"
|
set -g status-style "bg=default"
|
||||||
set -g status-right "#S @ #H [%H:%M]"
|
set -g status-right "#[fg=yellow]#H @#S #[fg=blue]#{=100:pane_current_path} #[fg=red](#(cd #{pane_current_path}; git rev-parse --abbrev-ref HEAD)) #[fg=black]"
|
||||||
|
set -g status-right-length 200
|
||||||
set -g status-left ""
|
set -g status-left ""
|
||||||
setw -g window-status-format "#I:#W "
|
setw -g window-status-format "#I:#W "
|
||||||
setw -g window-status-current-format "#[fg=green]#I:#W*"
|
setw -g window-status-current-format "#[fg=green]#I:#W*"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user