Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Dots
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CALIN Alexis
Dots
Commits
38497263
Commit
38497263
authored
2 years ago
by
CALIN Alexis
Browse files
Options
Downloads
Patches
Plain Diff
update for arch compatibility and added sway to debian as well
parent
ade06ab2
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
install-sway.sh
+3
-0
3 additions, 0 deletions
install-sway.sh
setup.sh
+58
-3
58 additions, 3 deletions
setup.sh
with
61 additions
and
3 deletions
install-sway.sh
0 → 100644
+
3
−
0
View file @
38497263
mkdir
~/.config/sway
&&
mkdir
~/.config/foot
cp
sway/config ~/.config/sway/
&&
cp
foot/foot.ini ~/.config/foot/
\ No newline at end of file
This diff is collapsed.
Click to expand it.
setup.sh
+
58
−
3
View file @
38497263
...
...
@@ -14,17 +14,28 @@ if [ "$distro" == "Debian" ]; then
if
[
"
$yn
"
==
'y'
]
;
then
# dwm depedencies
sudo
apt
install
build-essential libx11-dev libxft-dev libxinerama-dev libfreetype6-dev libfontconfig1-dev
\
xbacklight alsa-utils
xbacklight alsa-utils
xss-lock slock
./install-dwm.sh
./fix-screen-tearing.sh
fi
echo
'Install and setup Sway ? y or n'
read
yn
if
[
"
$yn
"
==
'y'
]
;
then
# dwm depedencies
apt
install
sway brightnessctl
#install bemenu
git clone https://github.com/Cloudef/bemenu
&&
cd
bemenu
&&
make
&&
make
install
&&
cd
..
&&
rm
bemenu
./install-sway.sh
fi
echo
'Install recommended programs ? y or n'
read
yn
if
[
"
$yn
"
==
'y'
]
;
then
# programs
sudo
apt
install
network-manager chromium newsboat thunderbird libreoffice pandoc texlive-full xss-lock slock xbacklight neofetch ranger htop
sudo
apt
install
network-manager chromium newsboat thunderbird libreoffice pandoc texlive-full neofetch htop
sudo
apt purge gnome-games
sudo
systemctl
enable
--now
NetworkManager
&&
echo
'Enabled Network Manager'
echo
'Install VScode ? (y or n)'
...
...
@@ -47,7 +58,51 @@ if [ "$distro" == "Debian" ]; then
elif
[
"
$distro
"
==
"Arch"
]
;
then
sudo
pacman
-Sy
sudo
pacman
-S
base-devel libx11 libxft libxinerama freetype2 fontconfig
echo
'Install and setup DWM ? y or n'
read
yn
if
[
"
$yn
"
==
'y'
]
;
then
# dwm depedencies
sudo
pacman
-S
base-devel libx11 libxft libxinerama freetype2 fontconfig
xorg-xbacklight alsa-utils
./install-dwm.sh
./fix-screen-tearing.sh
fi
echo
'Install and setup Sway ? y or n'
read
yn
if
[
"
$yn
"
==
'y'
]
;
then
# dwm depedencies
sudo
pacman
-S
sway bemenu brightnessctl
./install-sway.sh
fi
echo
'Install recommended programs ? y or n'
read
yn
if
[
"
$yn
"
==
'y'
]
;
then
# programs
pacman
-S
networkmanager chromium newsboat thunderbird libreoffice pandoc texlive-most neofetch htop
sudo
systemctl
enable
--now
NetworkManager
&&
echo
'Enabled Network Manager'
echo
'Install VScode ? (y or n)'
read
yn
if
[
"
$yn
"
==
'y'
]
;
then
# vscode
yay
-S
visual-studio-code-bin
fi
echo
'Install Mullvad vpn ? (y or n)'
read
yn
if
[
"
$yn
"
==
'y'
]
;
then
# vscode
yay
-S
mullvad-vpn
&&
sudo
systemctl
enable
--now
mullvad-daemon.service
fi
fi
else
echo
'Non recognized distribution'
echo
'Quitting'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment