setup.sh and installing on new system
This commit is contained in:
@@ -1,53 +0,0 @@
|
||||
# TODO:
|
||||
# - [ ] Mount /krk-pc on startup
|
||||
# - [ ] Add server SSH keys and PC ssh keys
|
||||
# - [ ] Mount /proton on startup
|
||||
# - [x] Hibernate if not using PC for 10 minutes
|
||||
#
|
||||
# - [ ] Combine apps + bin + bookmarks
|
||||
# - [x] everything relevant wmenu browser (programs and scripts without arguments, bookmarks, files)
|
||||
# - [x] plocate + wmenu > xdg-open
|
||||
# - [x] applications + bin folder
|
||||
# - [x] bookmarks
|
||||
#
|
||||
# - [x] fzf starship zoxide eza bat (only fzf seems descent)
|
||||
#
|
||||
# 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 clang cmake build-essential make tcc vim ripgrep curl git man-db plocate tmux zip unzip fzf
|
||||
sudo updatedb
|
||||
|
||||
# Standard enviroment setup
|
||||
sudo apt install xdg-desktop-portal-wlr xdg-desktop-portal-gtk xdg-user-dirs
|
||||
|
||||
# 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
|
||||
|
||||
sudo apt install sshfs
|
||||
|
||||
# Setup internet
|
||||
# sudo apt install w3m surfraw
|
||||
sudo apt install chromium
|
||||
|
||||
@@ -48,8 +48,7 @@ include /etc/sway/config-vars.d/*
|
||||
#
|
||||
exec swayidle -w \
|
||||
timeout 300 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
|
||||
timeout 600 'systemctl hibernate' \
|
||||
before-sleep 'swaylock -f -c 000000'
|
||||
timeout 600 'systemctl hibernate'
|
||||
#
|
||||
# This will lock your screen after 300 seconds of inactivity, then turn off
|
||||
# your displays after another 300 seconds, and turn your screens back on when
|
||||
|
||||
Reference in New Issue
Block a user