mirror of
https://github.com/Mastermindzh/dotfiles.git
synced 2025-08-13 04:37:43 +02:00
new work display setup
This commit is contained in:
@@ -101,7 +101,7 @@ function install_gtk {
|
||||
|
||||
function install_docker {
|
||||
sudo systemctl enable docker
|
||||
sudo usermod -aG docker $USER
|
||||
sudo usermod -aG docker "$USER"
|
||||
|
||||
}
|
||||
|
||||
@@ -169,6 +169,7 @@ function install_config {
|
||||
mkdir -p ~/Pictures/Screenshots
|
||||
|
||||
setDateTimeConfig
|
||||
setup_groups mastermindzh
|
||||
}
|
||||
|
||||
# Installs the dependencies on Arch Linux
|
||||
@@ -197,6 +198,12 @@ function setup_pass {
|
||||
pass init info@rickvanlieshout.com
|
||||
}
|
||||
|
||||
# set up groups for specific user
|
||||
function setup_groups {
|
||||
local user=${1:-mastermindzh}
|
||||
sudo usermod -a -G video "$user"
|
||||
}
|
||||
|
||||
# =======================================
|
||||
# User output functions
|
||||
# =======================================
|
||||
|
Reference in New Issue
Block a user