diff --git a/README.md b/README.md index fb8fd0d..fd50751 100644 --- a/README.md +++ b/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" +``` diff --git a/config/hypr/hyprland_CMBOX.conf b/config/hypr/hyprland_CMBOX.conf index c0fc871..fd22f9b 100644 --- a/config/hypr/hyprland_CMBOX.conf +++ b/config/hypr/hyprland_CMBOX.conf @@ -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 diff --git a/config/hypr/hyprland_LABBOX.conf b/config/hypr/hyprland_LABBOX.conf index 058b1ca..2659cba 100644 --- a/config/hypr/hyprland_LABBOX.conf +++ b/config/hypr/hyprland_LABBOX.conf @@ -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) diff --git a/config/hypr/hyprland_STEAMBOX.conf b/config/hypr/hyprland_STEAMBOX.conf index b83b4ca..6431b5d 100644 --- a/config/hypr/hyprland_STEAMBOX.conf +++ b/config/hypr/hyprland_STEAMBOX.conf @@ -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 ### diff --git a/config/hypr/hyprpaper.conf b/config/hypr/hyprpaper.conf new file mode 100644 index 0000000..9d4bb93 --- /dev/null +++ b/config/hypr/hyprpaper.conf @@ -0,0 +1,2 @@ +preload = $HOME/linuxbox/wallpaper/wallpaper1.jpg +wallpaper = , $HOME/linuxbox/wallpaper/wallpaper1.jpg diff --git a/update_arch.sh b/update_arch.sh index a2d2bc8..6e0193f 100755 --- a/update_arch.sh +++ b/update_arch.sh @@ -199,7 +199,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 @@ -220,6 +220,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