This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2023-08-21 15:37:28 +00:00 committed by GitHub
parent 8fef101c85
commit 1294c0d67e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 21 additions and 18 deletions

View File

@ -1,3 +1,10 @@
pika-baseos (2.4.5-99pika1.lunar) lunar; urgency=medium
* Add new gpu configs
-- Ward Nakchbandi <hotrod.master@hotmail.com> Thu, 12 Jan 2023 16:48:00 +030
pika-baseos (2.4.4-99pika1.lunar) lunar; urgency=medium pika-baseos (2.4.4-99pika1.lunar) lunar; urgency=medium
* Add new Mesas * Add new Mesas

View File

@ -66,6 +66,8 @@ Depends: ${misc:Depends},
mousetweaks, mousetweaks,
## Display and Graphics ## Display and Graphics
pika-amdgpu-core, pika-amdgpu-core,
pika-amdgpu-config,
pika-nvidia-config,
xorg, xorg,
mesa-hybrid | mesa-stable | mesa-git | mesa-custom | mesa-hybrid-no-march | mesa-stable-no-march | mesa-git-no-march | mesa-custom-no-march, mesa-hybrid | mesa-stable | mesa-git | mesa-custom | mesa-hybrid-no-march | mesa-stable-no-march | mesa-git-no-march | mesa-custom-no-march,
wayland-protocols, wayland-protocols,
@ -113,7 +115,7 @@ Depends: ${misc:Depends},
wpasupplicant, wpasupplicant,
## Audio and codecs ## Audio and codecs
pika-audio-pipewire | pika-audio-legacy pika-audio-pipewire | pika-audio-legacy
Recommends: power-profiles-daemon, network-manager-wireguard-plugin Recommends: power-profiles-daemon
Description: The backbone of PikaOS Description: The backbone of PikaOS
Suggests: Suggests:
## Make pika-gnome-desktop-minimal deps not go to autoremove ## Make pika-gnome-desktop-minimal deps not go to autoremove

View File

@ -1,5 +0,0 @@
options nvidia-drm modeset=1
options nvidia NVreg_UsePageAttributeTable=1
options nvidia NVreg_RegistryDwords="OverrideMaxPerf=0x1"
options nvidia NVreg_PreserveVideoMemoryAllocations=1
options nvidia NVreg_TemporaryFilePath=/var/tmp

View File

@ -4,17 +4,16 @@ set -e
if [[ -z $1 ]] if [[ -z $1 ]]
then then
echo 'Usage: pika-chsh shell user' echo 'Usage: pika-chsh shell user'
echo 'Example: pika-chsh fish smith' echo 'Example: pika-chsh fish smith'
else else
if [[ ! -f /usr/local/bin/"$1"login ]] if [[ ! -f /usr/local/bin/"$1"login ]]
then then
touch /usr/local/bin/"$1"login touch /usr/local/bin/"$1"login
echo '#! /bin/bash -l' > /usr/local/bin/"$1"login echo '#! /bin/bash -l' > /usr/local/bin/"$1"login
echo "exec -l $1" $(echo -e '"$@"') >> /usr/local/bin/"$1"login echo "exec -l $1" $(echo -e '"$@"') >> /usr/local/bin/"$1"login
echo "/usr/local/bin/"$1"login" | tee -a /etc/shells echo "/usr/local/bin/"$1"login" | tee -a /etc/shells
chmod -x /usr/local/bin/"$1"login chmod 755 /usr/local/bin/"$1"login
fi fi
chsh -s /usr/local/bin/"$1"login $2
chsh -s /usr/local/bin/"$1"login $2
fi fi