Move graphical stuff into seperate file

This commit is contained in:
Leon Grünewald 2021-02-14 18:22:27 +01:00
parent 363400aa05
commit f211b03e46
4 changed files with 36 additions and 50 deletions

View file

@ -61,15 +61,6 @@ local function run_once(cmd_arr)
end
end
awful.spawn.with_shell(
'if (xrdb -query | grep -q "^awesome\\.started:\\s*true$"); then exit; fi;' ..
'xrdb -merge <<< "awesome.started:true";' ..
'picom -b --config ~/.config/picom.conf' ..
'dex-autostart --environment Awesome --autostart --search-paths "~/.config/autostart:~/autostart"' ..
'pipewire' ..
'pipewire-pulse'
)
-- {{{ Variable definitions
local chosen_theme = "copland"

26
install-graphical.sh Executable file
View file

@ -0,0 +1,26 @@
#!/usr/bin/env bash
echo 'Enable ly'
sudo dnf copr enable dhalucario/ly
echo 'Install my desktop stuff...'
sudo dnf install -y \
@base-x ly awesome picom slock imv ibus dbus-x11 pipewire pipewire-pulseaudio dex-autostart pavucontrol alsa-utils
echo 'Installing graphical applications...'
sudo dnf install -y \
guake firefox keepassxc nextcloud-client
echo 'Installing extended graphical applications...'
sudo dnf install -y \
emacs gparted thunderbird filezilla telegram-desktop libreoffice \
flameshot ibus-uniemoji xsel mpv xt7-player-mpv
git clone --depth 1 https://github.com/hlissner/doom-emacs ~/.emacs.d
~/.emacs.d/bin/doom install
# Install gaming
#sudo dnf install -y \
# steam lutris gamemode
sudo systemctl set-default graphical.target

View file

@ -13,4 +13,5 @@ cp ./.ideavimrc ~
cp ./.profile ~
cp ./.gitconfig ~
vim +PlugInstall +qall
echo "Done installing configs."

View file

@ -1,5 +1,5 @@
#!/usr/bin/env bash
set -e
#set -e
echo 'Starting installation'
echo 'Installing Depending Repositories...'
@ -23,53 +23,21 @@ echo 'Installing fonts'
sudo dnf install -y \
twitter-twemoji-fonts fontawesome-fonts powerline-fonts
#echo 'Install fancy programming stuff...'
#sudo dnf install -y \
# podman \
# tig \
# php-cli php-json php-mysqli php-zip php-xml php-mbstring php-xdebug mysql wp-cli composer java
echo 'Install locale...'
sudo dnf install -y \
langpacks-de langpacks-en
echo 'Install my desktop stuff...'
sudo dnf install -y \
@base-x awesome picom slock imv ibus dbus-x11 pipewire pipewire-pulseaudio dex-autostart pavucontrol alsa-utils
echo 'Installing graphical applications...'
sudo dnf install -y \
guake firefox keepassxc nextcloud-client
echo 'Installing extended graphical applications...'
sudo dnf install -y \
emacs gparted thunderbird filezilla telegram-desktop libreoffice \
flameshot ibus-uniemoji xsel mpv xt7-player-mpv
#echo 'Install work packages'
#sudo dnf install -y \
# apache-ant pedit \
# Docker and Teamviewer are still a problem on Fedora 32
# sudo dnf install -y \
# docker-ce docker-compose \
# teamviewer
# Install gaming
#sudo dnf install -y \
# steam lutris gamemode
cd ~
mkdir workspace
cd workspace
mkdir $HOME/workspace
mkdir $HOME/bin
cd $HOME/workspace
git clone https://git.doggoat.de/dhalucario/devconf.git
git submodule update --init --recusive
cd devconf
./install-light.sh
mkdir ~/bin/
cd $HOME/devconf
./install-light.sh
./install-graphical.sh
sudo usermod -aG audio,input $(whoami)
vim +PlugInstall +qall
echo 'Done'
clear
echo 'Installation Done'