This commit is contained in:
KK
2026-06-09 18:21:38 +02:00
parent e49497b566
commit 2e5f841bb0
7 changed files with 88 additions and 5 deletions

2
bin/hibernate Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/bash
sudo systemctl hibernate

View File

@@ -0,0 +1,49 @@
# TODO:
# - [ ] Mount /krk-pc on startup
# - [ ] Add server SSH keys and PC ssh keys
# - [ ] Mount /proton on startup
#
# - [ ] everything relevant wmenu browser (programs and scripts without arguments, bookmarks, files)
# - [ ] plocate + wmenu > xdg-open
# - [ ] applications + bin folder
#
# - [ ] fzf starship zoxide eza bat
#
# Solutions in search for problems:
# - [ ] tmux automation
#
# Setup sudo for user
su root
export PATH="$PATH:/usr/sbin"
apt install sudo
usermod -aG sudo kk
exit # exit root
exit # exit user to reload config
# Basic utilities
sudo apt install binutils tcc vim ripgrep curl git man-db plocate tmux zip unzip fzf
sudo updatedb
# Standard enviroment setup
sudo apt install xdg-user-dirs
sudo apt install xdg-desktop-portal-wlr xdg-desktop-portal-gtk
# DE setup
sudo apt install sway swayidle swaybg swaylock foot wmenu brightnessctl
# Clipboard and history
sudo apt install wl-clipboard cliphist
# Issue fix
# there were issues because user was not in render group (error messages on start of sway)
sudo usermod -aG render kk
# Setup audio
sudo apt install pipewire pipewire-pulse wireplumber pavucontrol
# Setup internet
# sudo apt install w3m surfraw
sudo apt install chromium

2
bin/reboot Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/bash
sudo systemctl reboot

16
bin/sway-bindings Executable file
View File

@@ -0,0 +1,16 @@
#!/bin/sh
CONFIG="$HOME/.config/sway/config"
if [ ! -r "$CONFIG" ]; then
printf 'Cannot read %s\n' "$CONFIG" | wmenu -l 1
exit 1
fi
awk '
/^[[:space:]]*bindsym[[:space:]]+/ {
line = $0
sub(/^[[:space:]]*bindsym[[:space:]]+/, "", line)
print line
}
' "$CONFIG" | wmenu -l 20