This commit is contained in:
Dmitri 2025-09-12 11:05:06 +02:00
parent 384fee7d36
commit 94ae6363ba
Signed by: kanopo
GPG Key ID: 759ADD40E3132AC7
4 changed files with 23 additions and 43 deletions

37
.zshrc
View File

@ -21,12 +21,12 @@ autoload -Uz compinit
compinit
# # nvm initialization
source /usr/share/nvm/init-nvm.sh
# source /usr/share/nvm/init-nvm.sh
alias v="nvim"
alias conservation-on="sudo ectool chargecontrol normal 80 80"
alias conservation-off="sudo ectool chargecontrol normal"
alias orphans="sudo pacman -Qtdq | sudo pacman -Rns -"
# alias orphans="sudo pacman -Qtdq | sudo pacman -Rns -"
# Define variables for monitor names
LAPTOP_MONITOR="eDP-1"
@ -43,38 +43,9 @@ alias space="du -hsx * | sort -rh | head -10"
# Enable GPG support
export GPG_TTY=$(tty)
export PATH="/home/user/.bun/bin:$PATH"
export EDITOR="nvim"
# set -o vi
# bindkey "^A" vi-beginning-of-line
# bindkey '^[[1;5C' forward-word # Ctrl+Right (usually)
# bindkey '^[[1;5D' backward-word # Ctrl+Left (usually)
#
# # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
# [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
#
#
# # export PATH="/opt/miniconda3/bin:$PATH"
# #THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
# export SDKMAN_DIR="$HOME/.sdkman"
# [[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"
#
# # bun completions
# [ -s "/home/user/.bun/_bun" ] && source "/home/user/.bun/_bun"
#
# # bun
# export BUN_INSTALL="$HOME/.bun"
# export PATH="$BUN_INSTALL/bin:$PATH"
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
# Android SDK
export ANDROID_HOME=$HOME/Android/Sdk
export PATH=$PATH:$ANDROID_HOME/emulator
export PATH=$PATH:$ANDROID_HOME/platform-tools
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/tools/bin
# Java
export JAVA_HOME=/usr/lib/jvm/java-24-openjdk
source ~/.cargo/env

View File

@ -12,3 +12,8 @@ npm config set prefix '~/.npm-global'
## fprintd - finger print for linux
- [articolo per usare l'impronta](https://mentat.za.net/blog/2024/01/31/linux-fingerprint-reader/?utm_source=atom_feed)
FONT
https://github.com/ryanoasis/nerd-fonts/releases/download/v3.4.0/Inconsolata.zip

View File

@ -19,10 +19,6 @@ local tools = {
-- DAP adapters that will be auto-installed based on your LSP servers
local dap_adapters = {
-- "js-debug-adapter", -- for ts_ls
-- "codelldb", -- for clangd, rust_analyzer
-- "debugpy", -- if you add python later
"delve"
}
local on_attach = function(_, bufnr)

View File

@ -264,12 +264,15 @@ exec_always {
}
### Applicazioni in autostart
exec keepassxc
exec nextcloud
# exec keepassxc
exec flatpak run org.keepassxc.KeePassXC
# exec nextcloud
exec flatpak run com.nextcloud.desktopclient.nextcloud
exec wlsunset -S 08:00 -s 18:00
exec blueman-applet
exec xss-lock -- swaylock -f -i $wallpaper
exec --no-startup-id easyeffects --gapplication-service
# exec --no-startup-id easyeffects --gapplication-service
exec flatpak run com.github.wwmm.easyeffects --gapplication-service
exec --no-startup-id wluma
# Avvio del polkit agent GNOME
@ -293,14 +296,16 @@ exec nm-applet --indicator
# comando per capire come si chiama l'id della app per le regole delle finestre
# swaymsg -t get_tree
### Regole personalizzate per le finestre
for_window [app_id="blueman-manager"] floating enable, resize set width 40 ppt height 30 ppt
for_window [app_id="blueman-manager"] floating enable, resize set width 70 ppt height 60 ppt
for_window [app_id="org.keepassxc.KeePassXC"] floating enable, resize set width 70 ppt height 60 ppt
for_window [instance="keepassxc"] floating enable, resize set width 70 ppt height 60 ppt
for_window [app_id="pavucontrol"] floating enable, resize set width 60 ppt height 50 ppt
for_window [app_id="pavucontrol"] floating enable, resize set width 70 ppt height 60 ppt
for_window [app_id="org.gnome.Nautilus"] floating enable, resize set width 60 ppt height 50 ppt
for_window [app_id="thunar"] floating enable, resize set width 60 ppt height 50 ppt
for_window [window_role="pop-up"] floating enable
for_window [window_role="bubble"] floating enable
for_window [window_role="task_dialog"] floating enable
for_window [window_role="Preferences"] floating enable
for_window [window_type="dialog"] floating enable
for_window [window_type="menu"] floating enable
@ -311,5 +316,8 @@ for_window [title="Picture in picture"] floating enable, sticky enable
for_window [title="Save File"] floating enable
for_window [app_id="firefox" title="Firefox — Sharing Indicator"] kill
# assign [app_id="configs"] workspace configs
assign [class="Spotify"] workspace 10
# Includi eventuali configurazioni aggiuntive
# include /etc/sway/config.d/*