removed unused stuff

This commit is contained in:
Dmitri 2025-10-11 16:30:14 +02:00
parent 1b7077d75b
commit 39b78f3b43
Signed by: kanopo
GPG Key ID: 759ADD40E3132AC7
7 changed files with 24 additions and 77 deletions

35
.zshrc
View File

@ -13,32 +13,21 @@ plug "zap-zsh/completions"
plug "zsh-users/zsh-syntax-highlighting"
plug "wintermi/zsh-lsd"
plug "romkatv/powerlevel10k"
# plug "zap-zsh/nvm"
# Load and initialise completion system
autoload -Uz compinit
fpath+=~/.zfunc
compinit
plug "zap-zsh/nvm"
#
#
# # Load and initialise completion system
# autoload -Uz compinit
# fpath+=~/.zfunc
# 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 -"
#
# # 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 conservation-on="sudo ectool chargecontrol normal 80 80"
alias conservation-off="sudo ectool chargecontrol normal"
alias orphans="sudo pacman -Qtdq | sudo pacman -Rns -"
alias space="du -hsx * | sort -rh | head -10"
@ -47,3 +36,5 @@ export GPG_TTY=$(tty)
export EDITOR="nvim"
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"

View File

@ -1,4 +1,4 @@
#!bash
#!/bin/bash
# ln -s ~/Documents/dotfiles/alacritty ~/.config/
ln -s ~/Documents/dotfiles/foot ~/.config/

View File

@ -116,8 +116,8 @@ return {
local servers = {
texlab = {},
-- clangd = {},
gopls = {},
nil_ls = {},
-- gopls = {},
-- nil_ls = {},
ts_ls = {},
lua_ls = {
settings = {
@ -148,7 +148,6 @@ return {
local ensure_installed = vim.tbl_keys(servers or {})
vim.list_extend(ensure_installed, {
"stylua", -- Used to format Lua code
"nixfmt"
})
require("mason-tool-installer").setup({ ensure_installed = ensure_installed })

View File

@ -1 +0,0 @@
\subsection{}

View File

@ -1,12 +0,0 @@
const Page = () => {
const a: number[] = []
a.fill(1)
}
rafce

View File

@ -4,7 +4,7 @@ set $left h
set $down j
set $up k
set $right l
set $term ghostty
set $term foot
# Launcher: wofi (sostituisce wmenu-run)
set $menu wofi -S drun -p Search -I -b -i
@ -264,15 +264,15 @@ exec_always {
}
### Applicazioni in autostart
# exec keepassxc
exec flatpak run org.keepassxc.KeePassXC
# exec nextcloud
exec flatpak run com.nextcloud.desktopclient.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 flatpak run com.github.wwmm.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
@ -316,15 +316,3 @@ 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
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/*

View File

@ -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