ciao
This commit is contained in:
parent
4ed5f2fd12
commit
77fc1c35c7
5
.zshrc
5
.zshrc
@ -18,6 +18,7 @@ plug "romkatv/powerlevel10k"
|
||||
|
||||
# Load and initialise completion system
|
||||
autoload -Uz compinit
|
||||
fpath+=~/.zfunc
|
||||
compinit
|
||||
|
||||
# # nvm initialization
|
||||
@ -49,3 +50,7 @@ export EDITOR="nvim"
|
||||
|
||||
|
||||
source ~/.cargo/env
|
||||
|
||||
export GOROOT="$HOME/.local/bin/go"
|
||||
export GOPATH="$HOME/.go"
|
||||
export PATH="$GOROOT/bin:$GOPATH/bin:$PATH"
|
||||
|
||||
@ -3,17 +3,17 @@
|
||||
W gruvbox :)
|
||||
|
||||
## NODE
|
||||
|
||||
Usare un custom path per node globale:
|
||||
|
||||
```bash
|
||||
mkdir ~/.npm-global
|
||||
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
|
||||
|
||||
10
ghostty/config
Normal file
10
ghostty/config
Normal file
@ -0,0 +1,10 @@
|
||||
font-family = Iosevka NF
|
||||
font-size = 18
|
||||
|
||||
window-decoration = false
|
||||
mouse-hide-while-typing = true
|
||||
|
||||
|
||||
theme = Gruvbox Dark
|
||||
shell-integration = zsh
|
||||
|
||||
@ -4,7 +4,7 @@ set $left h
|
||||
set $down j
|
||||
set $up k
|
||||
set $right l
|
||||
set $term foot
|
||||
set $term ghostty
|
||||
# Launcher: wofi (sostituisce wmenu-run)
|
||||
set $menu wofi -S drun -p Search -I -b -i
|
||||
|
||||
@ -319,5 +319,12 @@ for_window [app_id="firefox" title="Firefox — Sharing Indicator"] kill
|
||||
# assign [app_id="configs"] workspace configs
|
||||
assign [class="Spotify"] workspace 10
|
||||
|
||||
for_window [app_id="keymapp"] floating enable
|
||||
for_window [app_id="keymapp"] resize set width 800 px height 600 px
|
||||
for_window [app_id="keymapp"] move position 100%-800px 100%-600px
|
||||
for_window [app_id="keymapp"] mark pin-keymapp
|
||||
no_focus [app_id="keymapp"]
|
||||
exec_always ~/.config/sway/scripts/pin-keymapp.sh
|
||||
|
||||
# Includi eventuali configurazioni aggiuntive
|
||||
# include /etc/sway/config.d/*
|
||||
|
||||
18
sway/scripts/pin-keymapp.sh
Executable file
18
sway/scripts/pin-keymapp.sh
Executable file
@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
# Follow current workspace and place bottom-right at 800x600.
|
||||
# Requires the window to be marked "pin-keymapp" and floating.
|
||||
|
||||
# Subscribe to workspace changes
|
||||
swaymsg -t subscribe '["workspace"]' | while read -r _; do
|
||||
# Ensure the window exists before issuing moves
|
||||
if swaymsg -t get_tree | jq -e '.. | objects | select(.marks? and (index("pin-keymapp"))) ' >/dev/null; then
|
||||
# Move to current workspace
|
||||
swaymsg '[con_mark="pin-keymapp"] move container to workspace current'
|
||||
# Ensure size, then place. Order matters: floating -> resize -> move.
|
||||
swaymsg '[con_mark="pin-keymapp"] floating enable'
|
||||
swaymsg '[con_mark="pin-keymapp"] resize set width 800 px height 600 px'
|
||||
swaymsg '[con_mark="pin-keymapp"] move position 100%-800px 100%-600px'
|
||||
# If needed (multi-output absolute coords), use:
|
||||
# swaymsg '[con_mark="pin-keymapp"] move absolute position 100%-800px 100%-600px'
|
||||
fi
|
||||
done
|
||||
Loading…
x
Reference in New Issue
Block a user