removed unused stuff
This commit is contained in:
parent
1b7077d75b
commit
39b78f3b43
35
.zshrc
35
.zshrc
@ -13,32 +13,21 @@ plug "zap-zsh/completions"
|
|||||||
plug "zsh-users/zsh-syntax-highlighting"
|
plug "zsh-users/zsh-syntax-highlighting"
|
||||||
plug "wintermi/zsh-lsd"
|
plug "wintermi/zsh-lsd"
|
||||||
plug "romkatv/powerlevel10k"
|
plug "romkatv/powerlevel10k"
|
||||||
# plug "zap-zsh/nvm"
|
plug "zap-zsh/nvm"
|
||||||
|
#
|
||||||
|
#
|
||||||
# Load and initialise completion system
|
# # Load and initialise completion system
|
||||||
autoload -Uz compinit
|
# autoload -Uz compinit
|
||||||
fpath+=~/.zfunc
|
# fpath+=~/.zfunc
|
||||||
compinit
|
# compinit
|
||||||
|
|
||||||
# # nvm initialization
|
# # nvm initialization
|
||||||
# source /usr/share/nvm/init-nvm.sh
|
source /usr/share/nvm/init-nvm.sh
|
||||||
|
|
||||||
alias v="nvim"
|
alias v="nvim"
|
||||||
# alias conservation-on="sudo ectool chargecontrol normal 80 80"
|
alias conservation-on="sudo ectool chargecontrol normal 80 80"
|
||||||
# alias conservation-off="sudo ectool chargecontrol normal"
|
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"
|
|
||||||
# EXTERNAL_MONITOR="DP-2"
|
|
||||||
#
|
|
||||||
# # Alias to disable laptop screen (only if external is connected)
|
|
||||||
# alias laptop-screen-off='if xrandr | grep "$EXTERNAL_MONITOR connected"; then swaymsg output $LAPTOP_MONITOR disable; echo "Laptop screen disabled."; else echo "External monitor not connected. Keeping laptop screen on."; fi'
|
|
||||||
#
|
|
||||||
# # Alias to enable laptop screen
|
|
||||||
# alias laptop-screen-on='swaymsg output $LAPTOP_MONITOR enable; echo "Laptop screen enabled."'
|
|
||||||
|
|
||||||
|
|
||||||
alias space="du -hsx * | sort -rh | head -10"
|
alias space="du -hsx * | sort -rh | head -10"
|
||||||
|
|
||||||
@ -47,3 +36,5 @@ export GPG_TTY=$(tty)
|
|||||||
export EDITOR="nvim"
|
export EDITOR="nvim"
|
||||||
|
|
||||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||||
|
export NVM_DIR="$HOME/.nvm"
|
||||||
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
||||||
|
|||||||
2
link.sh
2
link.sh
@ -1,4 +1,4 @@
|
|||||||
#!bash
|
#!/bin/bash
|
||||||
|
|
||||||
# ln -s ~/Documents/dotfiles/alacritty ~/.config/
|
# ln -s ~/Documents/dotfiles/alacritty ~/.config/
|
||||||
ln -s ~/Documents/dotfiles/foot ~/.config/
|
ln -s ~/Documents/dotfiles/foot ~/.config/
|
||||||
|
|||||||
@ -116,8 +116,8 @@ return {
|
|||||||
local servers = {
|
local servers = {
|
||||||
texlab = {},
|
texlab = {},
|
||||||
-- clangd = {},
|
-- clangd = {},
|
||||||
gopls = {},
|
-- gopls = {},
|
||||||
nil_ls = {},
|
-- nil_ls = {},
|
||||||
ts_ls = {},
|
ts_ls = {},
|
||||||
lua_ls = {
|
lua_ls = {
|
||||||
settings = {
|
settings = {
|
||||||
@ -148,7 +148,6 @@ return {
|
|||||||
local ensure_installed = vim.tbl_keys(servers or {})
|
local ensure_installed = vim.tbl_keys(servers or {})
|
||||||
vim.list_extend(ensure_installed, {
|
vim.list_extend(ensure_installed, {
|
||||||
"stylua", -- Used to format Lua code
|
"stylua", -- Used to format Lua code
|
||||||
"nixfmt"
|
|
||||||
})
|
})
|
||||||
require("mason-tool-installer").setup({ ensure_installed = ensure_installed })
|
require("mason-tool-installer").setup({ ensure_installed = ensure_installed })
|
||||||
|
|
||||||
|
|||||||
@ -1 +0,0 @@
|
|||||||
\subsection{}
|
|
||||||
12
nvim/main.ts
12
nvim/main.ts
@ -1,12 +0,0 @@
|
|||||||
const Page = () => {
|
|
||||||
const a: number[] = []
|
|
||||||
a.fill(1)
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
rafce
|
|
||||||
26
sway/config
26
sway/config
@ -4,7 +4,7 @@ set $left h
|
|||||||
set $down j
|
set $down j
|
||||||
set $up k
|
set $up k
|
||||||
set $right l
|
set $right l
|
||||||
set $term ghostty
|
set $term foot
|
||||||
# Launcher: wofi (sostituisce wmenu-run)
|
# Launcher: wofi (sostituisce wmenu-run)
|
||||||
set $menu wofi -S drun -p Search -I -b -i
|
set $menu wofi -S drun -p Search -I -b -i
|
||||||
|
|
||||||
@ -264,15 +264,15 @@ exec_always {
|
|||||||
}
|
}
|
||||||
|
|
||||||
### Applicazioni in autostart
|
### Applicazioni in autostart
|
||||||
# exec keepassxc
|
exec keepassxc
|
||||||
exec flatpak run org.keepassxc.KeePassXC
|
# exec flatpak run org.keepassxc.KeePassXC
|
||||||
# exec nextcloud
|
exec nextcloud
|
||||||
exec flatpak run com.nextcloud.desktopclient.nextcloud
|
# exec flatpak run com.nextcloud.desktopclient.nextcloud
|
||||||
exec wlsunset -S 08:00 -s 18:00
|
exec wlsunset -S 08:00 -s 18:00
|
||||||
exec blueman-applet
|
exec blueman-applet
|
||||||
exec xss-lock -- swaylock -f -i $wallpaper
|
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 flatpak run com.github.wwmm.easyeffects --gapplication-service
|
||||||
exec --no-startup-id wluma
|
exec --no-startup-id wluma
|
||||||
|
|
||||||
# Avvio del polkit agent GNOME
|
# Avvio del polkit agent GNOME
|
||||||
@ -316,15 +316,3 @@ for_window [title="Picture in picture"] floating enable, sticky enable
|
|||||||
for_window [title="Save File"] floating enable
|
for_window [title="Save File"] floating enable
|
||||||
for_window [app_id="firefox" title="Firefox — Sharing Indicator"] kill
|
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/*
|
|
||||||
|
|||||||
@ -1,18 +0,0 @@
|
|||||||
#!/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