Migrate repo installation from custom script to dotinstall
This commit is contained in:
parent
a8adfb8ff9
commit
4f5de50fb9
12 changed files with 9 additions and 46 deletions
|
@ -10,8 +10,13 @@ swaylock, swayidle), [mako][l_mako] and [waybar][l_waybar]. Execute
|
|||
I use a custom launcher based on fzf with a script taken from
|
||||
[FlyingWombat][l_won] with some light modifications.
|
||||
|
||||
## Installation
|
||||
|
||||
Use [dotinstall][l_dotinstall] script to install this repo.
|
||||
|
||||
[l_sway]:https://swayvm.org
|
||||
[l_mako]:https://wayland.emersion.fr/mako/
|
||||
[l_waybar]:https://github.com/Alexays/Waybar
|
||||
[l_fzf]: https://gitlab.com/FlyingWombat/my-scripts/blob/master/sway-launcher
|
||||
[l_won]: https://gitlab.com/FlyingWombat/my-scripts/blob/master/sway-launcher
|
||||
[l_fzf]:https://github.com/junegunn/fzf
|
||||
[l_won]:https://gitlab.com/FlyingWombat/my-scripts/blob/master/sway-launcher
|
||||
[l_dotinstall]:https://git.epha.se/ephase/dotinstall
|
||||
|
|
|
@ -1,8 +1,3 @@
|
|||
#/bin/bash
|
||||
export QT_AUTO_SCREEN_SCALE_FACTOR=0
|
||||
export QT_QPA_PLATFORM=wayland-egl
|
||||
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
|
||||
export MOZ_ENABLE_WAYLAND=1
|
||||
export QT_QPA_PLATFORMTHEME=gtk2
|
||||
|
||||
sway
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
LocationMode=filename-entry
|
||||
ShowHidden=false
|
||||
ShowSizeColumn=true
|
||||
GeometryX=0
|
||||
GeometryY=0
|
||||
GeometryX=282
|
||||
GeometryY=194
|
||||
GeometryWidth=876
|
||||
GeometryHeight=538
|
||||
SortColumn=name
|
37
install.sh
37
install.sh
|
@ -1,37 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
required="sway swayidle swaylock waybar fzf"
|
||||
BIN_FOLDER="$HOME/.local/bin"
|
||||
|
||||
printf "Checking required programs :\n"
|
||||
for p in $required
|
||||
do
|
||||
command -v $p >/dev/null 2>&1 || { printf "\t%s is not installed, bye\n" $p; exit 10; }
|
||||
printf "\t%s found\n" $p
|
||||
done
|
||||
|
||||
printf "Create symblinks for configurations :\n"
|
||||
cd conf
|
||||
while read d
|
||||
do
|
||||
printf "\t%s conf folder found\n" $d
|
||||
rm -rf $HOME/.config/${d%/}
|
||||
ln -s "$(pwd)/${d%/}" "$HOME/.config/${d%/}"
|
||||
done < <(ls -d -1 */)
|
||||
cd ..
|
||||
|
||||
printf "Create symblink for executables\n"
|
||||
if [ ! -d "$BIN_FOLDER" ]
|
||||
then
|
||||
printf "\tCreate $BIN_FOLDER\n"
|
||||
mkdir -p $BIN_FOLDER
|
||||
fi
|
||||
|
||||
cd bin
|
||||
while read d
|
||||
do
|
||||
printf "\t%s script found\n" "$d"
|
||||
rm -rf $BIN_FOLDER/${d}
|
||||
ln -s "$(pwd)/${d}" "$BIN_FOLDER/${d}"
|
||||
done < <(ls -1 *)
|
||||
exit 0
|
Reference in a new issue