Updated scripts
This commit is contained in:
parent
d617804bad
commit
36951cbe91
42
README.md
42
README.md
@ -1,25 +1,12 @@
|
||||
# linuxbox
|
||||
|
||||
## WSL Ubuntu
|
||||
Script and dotfiles for setting up complete dev environment based on Ubuntu 22.04 (and 24.04)
|
||||
|
||||
If Win11 is used as main terminal/client then pleas configure following:
|
||||
* Windows Terminal (Preview)
|
||||
* Font: CodeNewRoman Nerd Font
|
||||
|
||||
## Option 1: Set up VM containing SSH code server
|
||||
Configure new VM with following resources:
|
||||
* 2GB RAM
|
||||
* 16GB vDisk
|
||||
* Ubuntu server 22.04 boot iso
|
||||
|
||||
### Install VM (in hypervisor)
|
||||
* Minimal installation
|
||||
* Install openssh server
|
||||
|
||||
## Option 2: Install Ubuntu 22.04 or 24.04 locally
|
||||
* Install Ubuntu 22.04 or 24.04 desktop
|
||||
|
||||
## Deploy script
|
||||
* Log in via SSH (or open desktop terminal)
|
||||
* Install git
|
||||
```bash
|
||||
@ -31,3 +18,30 @@ curl https://git.cmtec.se/cm/linuxbox/-/raw/main/update_wrapper.sh?ref_type=head
|
||||
```
|
||||
* exit session
|
||||
* Log in via SSH (or open desktop terminal)
|
||||
|
||||
## Arch linux
|
||||
Script and dotfiles for setting up complete dev environment based on Arch linux
|
||||
|
||||
* Install Arch via archinstaller
|
||||
* Reboot
|
||||
* Install git
|
||||
```bash
|
||||
sudo pacman -S git
|
||||
```
|
||||
* Install linuxbox
|
||||
```bash
|
||||
cd~
|
||||
git clone https://git.cmtec.se/cm/linuxbox.git
|
||||
linuxbox/update_arch.sh
|
||||
```
|
||||
### Set theme for flatpak
|
||||
Open flatseal and add following global ENV:
|
||||
```
|
||||
GTK_THEME=Adwaita:dark
|
||||
```
|
||||
|
||||
### Configure sunlight
|
||||
Open sunlight config (application->desktop) and enter following to desktop app:
|
||||
```
|
||||
sh -c "hyprctl dispatch dpms on"
|
||||
```
|
||||
|
||||
@ -20,7 +20,6 @@ exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
exec-once = /home/cm/linuxbox/set-xr18-2ch.sh
|
||||
exec-once = udiskie
|
||||
exec-once = waybar
|
||||
exec-once = hypridle
|
||||
exec-once = systemctl --user start sunshine
|
||||
exec-once = org.remmina.Remmina -i
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
################
|
||||
### MONITORS ###
|
||||
################
|
||||
monitor=,2560x1440,auto,1
|
||||
monitor=,preferred,auto,1
|
||||
|
||||
###################
|
||||
### MY PROGRAMS ###
|
||||
@ -169,7 +169,7 @@ bind = , PRINT, exec, hyprshot -m region
|
||||
|
||||
# Set monitor resolution
|
||||
bind = $mainMod, R, exec, hyprctl keyword monitor ",1920x1200,auto,1"
|
||||
bind = $mainMod CTRL, R, exec, hyprctl keyword monitor ",2560x1440,auto,1"
|
||||
bind = $mainMod CTRL, R, exec, hyprctl keyword monitor ",preferred,auto,1"
|
||||
bind = $mainMod CTRL, P, exec, hyprctl keyword monitor ",preferred,auto,1"
|
||||
|
||||
# Special workspace (scratchpad)
|
||||
|
||||
@ -20,10 +20,10 @@ exec-once = /home/cm/linuxbox/set-xr18-2ch.sh
|
||||
exec-once = udiskie
|
||||
exec-once = sudo udisksctl mount -b /dev/sda1
|
||||
exec-once = waybar
|
||||
exec-once = hypridle
|
||||
exec-once = systemctl --user start sunshine
|
||||
|
||||
exec-once = [workspace 3] steam
|
||||
exec-once = [workspace 1] ~/Games/star-citizen/sc-launch.sh
|
||||
exec-once = [workspace 2] steam
|
||||
|
||||
#############################
|
||||
### ENVIRONMENT VARIABLES ###
|
||||
|
||||
2
config/hypr/hyprpaper.conf
Normal file
2
config/hypr/hyprpaper.conf
Normal file
@ -0,0 +1,2 @@
|
||||
preload = $HOME/linuxbox/wallpaper/wallpaper1.jpg
|
||||
wallpaper = , $HOME/linuxbox/wallpaper/wallpaper1.jpg
|
||||
@ -203,7 +203,7 @@ sudo localectl set-locale LANG=en_US.UTF-8
|
||||
# Install hyprland
|
||||
if [ "$HYPERLAND" == "yes" ]; then
|
||||
printf -- '\033[33m Installing hyprland\n\033[37m'
|
||||
sudo pacman --noconfirm --needed -S usbutils plymouth dracut dunst hypridle hyprland hyprlock xdg-desktop-portal-hyprland polkit-gnome xorg-xhost gnome-keyring qt5ct qt6ct gnome-themes-extra qt5-wayland qt6-wayland lxappearance
|
||||
sudo pacman --noconfirm --needed -S usbutils plymouth dracut dunst hyprpaper hypridle hyprland hyprlock xdg-desktop-portal-hyprland polkit-gnome xorg-xhost gnome-keyring qt5ct qt6ct gnome-themes-extra qt5-wayland qt6-wayland lxappearance qt5-tools
|
||||
|
||||
yay --noconfirm -S --needed --aur adwaita-qt5-git
|
||||
yay --noconfirm -S --needed --aur adwaita-qt6-git
|
||||
@ -224,6 +224,7 @@ if [ "$HYPERLAND" == "yes" ]; then
|
||||
|
||||
ln -sf ~/linuxbox/wrappedhl ~/.local/bin/wrappedhl
|
||||
ln -sf ~/linuxbox/config/hypr/hypridle.conf ~/.config/hypr/hypridle.conf
|
||||
ln -sf ~/linuxbox/config/hypr/hyprpaper.conf ~/.config/hypr/hyprpaper.conf
|
||||
ln -sf ~/linuxbox/config/gtk-3.0/settings.ini ~/.config/gtk-3.0/settings.ini
|
||||
ln -sf ~/linuxbox/config/qt5ct/qt5ct.conf ~/.config/qt5ct/qt5ct.conf
|
||||
ln -sf ~/linuxbox/config/qt6ct/qt6ct.conf ~/.config/qt6ct/qt6ct.conf
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user