Update documentation

This commit is contained in:
adrien 2021-01-05 10:47:42 +01:00
parent 25bef965bb
commit 0d1fa21dc7
3 changed files with 8 additions and 55 deletions

View File

@ -7,16 +7,20 @@ cp dotfiles/.xinitrc ~/.xinitrc
cp dotfiles/.fehbg ~/.fehbg
chmod +x ~/.fehbg
cp dotfiles/.bash_profile ~/.bash_profile
mkdir -p ~/.config/{spectrwm,alacritty,rofi,fish/{functions}}
mkdir -p ~/.config/{spectrwm,alacritty,rofi,fish/functions}
cp dotfiles/.config/spectrwm/spectrwm.conf ~/.config/spectrwm/spectrwm.conf
cp dotfiles/.config/spectrwm/spectrwm_fr.conf ~/.config/spectrwm/spectrwm_fr.conf
cp dotfiles/.config/spectrwm/bar ~/.config/spectrwm/bar
cp dotfiles/.config/alacritty/alcaritty.yml ~/.config/alacritty/alacritty.yml
cp dotfiles/.config/rogi/config ~/.config/rofi/config
cp dotfiles/.config/rofi/config ~/.config/rofi/config
cp dotfiles/.config/fish/config.fish ~/config/fish/config.fish
cp dotfiles/.config/fish/functions/cl.fish ~/.config/fish/functions/cl.fish
cp dotfiles/.config/fish/functions/fish_prompt.fish ~/.config/fish/functions/fish_prompt.fish
sudo sed -i "s/autospawn = no/autospawn = yes/" /etc/pulse/client.conf
sudo cp dotfiles/X11/xorg.conf /etc/X11/xorg.conf
sudo cp dotfiles/slock\@.service /etc/systemd/system/slock\@.service
sudo cp dotfiles/xorg.conf.d/20-intel.conf /etx/X11/xorg.conf.d/20-intel.conf
sudo cp dotfiles/system/mnt-data.* /etc/systemd/system/
```
## Packages
@ -48,26 +52,12 @@ sudo timedatectl set-timezone Europe/Paris
sudo timedatectl set-ntp true
```
### Permissions
```
chown $USER:users .bash_profile
chown -R $USER:users .config/
chown $USER:users .fehbg
sudo chown root:root pulse/
sudo chown root:root system/
chown $USER:users .tmux.conf
sudo chown root:root X11/
chown $USER:users .xinitrc
sudo chown root:root xorg.conf.d/
```
### Freebox share
```
sudo mkdir -p /mnt/data
sudo mkdir /etc/samba/credentials
sudo chown root:root /etc/samba/credentials
sudo mkdir -p /etc/samba/credentials
echo "username=<username>
password=<password> | sudo tee -a /etc/samba/credentials/data
password=<password>" | sudo tee -a /etc/samba/credentials/data
sudo chmod 700 /etc/samba/credentials/
sudo chmod 600 /etc/samba/credentials/data
```

View File

@ -1 +0,0 @@
Path: `/etc/pulse/`

View File

@ -1,36 +0,0 @@
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
## Configuration file for PulseAudio clients. See pulse-client.conf(5) for
## more information. Default values are commented out. Use either ; or # for
## commenting.
; default-sink =
; default-source =
; default-server =
; default-dbus-server =
autospawn = yes
; autospawn = yes
; daemon-binary = /usr/bin/pulseaudio
; extra-arguments = --log-target=syslog
; cookie-file =
; enable-shm = yes
; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB
; auto-connect-localhost = no
; auto-connect-display = no