Merge branch 'main' of https://git.cmtec.se/cm/linuxbox
This commit is contained in:
commit
7278aab6fe
@ -6,3 +6,4 @@ bind = $mainMod, D, togglespecialworkspace, discord
|
||||
bind = $mainMod, W, togglespecialworkspace, web
|
||||
bind = $mainMod, A, togglespecialworkspace, ranger
|
||||
bind = $mainMod, T, togglespecialworkspace, timer
|
||||
bind = $mainMod, G, exec, sh /media/SteamPool_2/Games/star-citizen/sc-launch.sh
|
||||
|
||||
@ -1,6 +1,9 @@
|
||||
exec-once = /home/cm/linuxbox/set-xr18-2ch.sh
|
||||
exec-once = sudo udisksctl mount -b /dev/sda1
|
||||
exec-once = systemctl --user start hypridle
|
||||
exec-once = sh ~/Games/star-citizen/sc-launch.sh
|
||||
exec-once = cameractrls -d /dev/video0 -c auto_exposure=manual_mode,white_balance_automatic=0,gain_automatic=1,exposure=255,saturation=0
|
||||
exec-once = ~/Games/opentrack/build/install/bin/opentrack -platform xcb
|
||||
env = GBM_BACKEND, nvidia-drm
|
||||
env = __GLX_VENDOR_LIBRARY_NAME, nvidia
|
||||
bind = $mainMod, W, togglespecialworkspace, web
|
||||
bind = $mainMod, G, exec, sh ~/Games/star-citizen/sc-launch.sh
|
||||
|
||||
@ -1,10 +1,13 @@
|
||||
add_newline = false
|
||||
# A minimal left prompt
|
||||
format = """$directory$git_branch$git_commit$git_status$character"""
|
||||
format = """$hosnamet$directory$git_branch$git_commit$git_status$character"""
|
||||
# # move the rest of the prompt to the right
|
||||
# right_format = """$git_branch $git_commit $git_status"""
|
||||
command_timeout = 1000
|
||||
|
||||
[hostname]
|
||||
style = "fg:#87afd7"
|
||||
|
||||
[directory]
|
||||
style = "fg:#87afd7"
|
||||
format = "[$path]($style)"
|
||||
|
||||
@ -303,7 +303,7 @@ fi
|
||||
# Install desktop utility
|
||||
if [ "${ROLES[DESKTOP_BASE]}" == "yes" ]; then
|
||||
printf -- '\033[33m Installing desktop base utilities\n\033[37m'
|
||||
sudo pacman --noconfirm --needed -S feh
|
||||
sudo pacman --noconfirm --needed -S cameractrls feh
|
||||
flatpak install -y flathub com.discordapp.Discord
|
||||
flatpak install -y flathub com.behringer.XAirEdit
|
||||
flatpak install -y flathub com.moonlight_stream.Moonlight
|
||||
@ -345,15 +345,36 @@ fi
|
||||
# Install game utility
|
||||
if [ "${ROLES[GAME]}" == "yes" ]; then
|
||||
printf -- '\033[33m Installing game utilities\n\033[37m'
|
||||
sudo pacman -S --noconfirm --needed wine-staging
|
||||
sudo pacman -S --noconfirm --needed winetricks wine-mono wine-gecko qt5-tools
|
||||
sudo pacman -S --noconfirm --needed wine
|
||||
sudo pacman -S --noconfirm --needed wine-mono wine-gecko qt5-tools
|
||||
sudo pacman -S --noconfirm --needed steam
|
||||
sudo pacman -S --noconfirm --needed gamemode gamescope
|
||||
sudo pacman -S --noconfirm --needed winetricks onnxruntime mangohud lib32-mangohud gamemode
|
||||
yay --noconfirm -S --needed --aur protonup-qt protontricks
|
||||
yay --noconfirm -S --needed --aur lug-helper
|
||||
yay --noconfirm -S --needed --aur opentrack-git
|
||||
yay --noconfirm -S --needed --aur openmpi
|
||||
|
||||
if ! -d ~/Games/opentrack; then
|
||||
mkdir -p ~/Games
|
||||
cd ~/Games
|
||||
git clone https://github.com/opentrack/opentrack
|
||||
cd opentrack/
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ..
|
||||
ccmake .
|
||||
make
|
||||
make install
|
||||
echo "[Desktop Entry]
|
||||
Version=3.1.0
|
||||
Type=Application
|
||||
Name=Opentrack
|
||||
Exec=~/Games/opentrack/build/install/bin/opentrack -platform xcb
|
||||
Icon=~/Games/opentrack/contrib/cute-octopus-vector-material_15-1831.jpg
|
||||
Terminal=false
|
||||
StartupNotify=true" | sudo tee /usr/share/applications/opentrack.desktop >/dev/null
|
||||
sudo update-desktop-database /usr/share/applications
|
||||
fi
|
||||
|
||||
if [ "$HOSTNAME" == "SIMONBOX" ]; then
|
||||
printf -- '\033[33m Installing Simon specific game utilities\n\033[37m'
|
||||
flatpak install -y flathub org.vinegarhq.Sober
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user