search everything, move install script

This commit is contained in:
KK
2026-06-10 10:08:39 +02:00
parent 9f00d3b06e
commit 596f73722d
8 changed files with 119 additions and 70 deletions

View File

@@ -0,0 +1,51 @@
# 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
# Setup internet
# sudo apt install w3m surfraw
sudo apt install chromium

View File

@@ -16,21 +16,17 @@ set $right l
# Your preferred terminal emulator
set $term foot
# Your preferred application launcher
set $menu /home/kk/bin/search-apps -l 10 -i
set $menu /home/kk/bin/command-list -l 20 -i
set $fontsize 10
# UI font
font pango:JetBrains Mono $fontsize
include /etc/sway/config-vars.d/*
default_border pixel 2
default_floating_border pixel 1
hide_edge_borders smart
# default_border pixel 2
# default_floating_border pixel 1
# hide_edge_borders smart
### Output configuration
#
@@ -51,8 +47,8 @@ hide_edge_borders smart
# Example configuration:
#
exec swayidle -w \
timeout 300 'swaylock -f -c 000000' \
timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
timeout 300 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
timeout 600 'systemctl hibernate' \
before-sleep 'swaylock -f -c 000000'
#
# This will lock your screen after 300 seconds of inactivity, then turn off