diff --git a/README.md b/README.md index 961083b..1cfc7da 100644 --- a/README.md +++ b/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) \ No newline at end of file +- 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 +``` diff --git a/files/environment/.config/environment.d/envvars.conf b/files/environment/.config/environment.d/envvars.conf index df3b13d..9c46d7f 100644 --- a/files/environment/.config/environment.d/envvars.conf +++ b/files/environment/.config/environment.d/envvars.conf @@ -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 diff --git a/files/git/.gitconfig b/files/git/.gitconfig index 3bfac79..b757c5d 100644 --- a/files/git/.gitconfig +++ b/files/git/.gitconfig @@ -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 diff --git a/files/kitty/.config/kitty/kitty.conf b/files/kitty/.config/kitty/kitty.conf index 3b45ee5..37dc116 100644 --- a/files/kitty/.config/kitty/kitty.conf +++ b/files/kitty/.config/kitty/kitty.conf @@ -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 diff --git a/files/shell/.shellrc.alias b/files/shell/.shellrc.alias index 90e9329..616d288 100644 --- a/files/shell/.shellrc.alias +++ b/files/shell/.shellrc.alias @@ -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() { diff --git a/files/tmux/.tmux.conf b/files/tmux/.tmux.conf index 25926ce..4fab86a 100644 --- a/files/tmux/.tmux.conf +++ b/files/tmux/.tmux.conf @@ -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*" +