chore: small things
This commit is contained in:
18
README.md
18
README.md
@@ -25,6 +25,7 @@ sudo dnf install \
|
||||
kitty tmux \
|
||||
git ripgrep fd-find fzf stow \
|
||||
firefox \
|
||||
obsidian \
|
||||
nextcloud keepassxc tailscale
|
||||
```
|
||||
|
||||
@@ -42,4 +43,19 @@ sudo dnf install \
|
||||
- light-style@gnome-shell-extensions.gcampax.github.com (everything light mode)
|
||||
- rounded-window-corners@fxgn (rounded corners of all windows)
|
||||
- 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
|
||||
VISUAL=hx
|
||||
_JAVA_AWT_WM_NONREPARENTING=1
|
||||
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
|
||||
|
||||
# support jp input in gnome
|
||||
GTK_IM_MODULE=ibus
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
ca = commit -v --amend
|
||||
co = checkout
|
||||
cp = cherry-pick
|
||||
d = diff
|
||||
nuke = clean -df
|
||||
lg = log --oneline --decorate --graph
|
||||
pl = pull --rebase
|
||||
|
||||
@@ -2378,7 +2378,13 @@ term xterm-256color
|
||||
|
||||
#: }}}
|
||||
|
||||
|
||||
|
||||
# BEGIN_KITTY_THEME
|
||||
# Everforest Light Medium
|
||||
include current-theme.conf
|
||||
# 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'
|
||||
|
||||
### fzf
|
||||
alias f='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 \" \")")'
|
||||
|
||||
@@ -61,6 +60,14 @@ downimage() {
|
||||
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
|
||||
|
||||
conservation() {
|
||||
|
||||
@@ -86,7 +86,9 @@ set -g pane-border-style fg="#e3ddcc"
|
||||
|
||||
# Status
|
||||
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 ""
|
||||
setw -g window-status-format "#I:#W "
|
||||
setw -g window-status-current-format "#[fg=green]#I:#W*"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user