Compare commits
No commits in common. "0279ab9168f97e6ba2e5469debcaf53f6bc669ed" and "2130874b6e2cb8235c1c2109ec181ecced599b9b" have entirely different histories.
0279ab9168
...
2130874b6e
12 changed files with 46 additions and 9 deletions
|
@ -10,13 +10,8 @@ swaylock, swayidle), [mako][l_mako] and [waybar][l_waybar]. Execute
|
||||||
I use a custom launcher based on fzf with a script taken from
|
I use a custom launcher based on fzf with a script taken from
|
||||||
[FlyingWombat][l_won] with some light modifications.
|
[FlyingWombat][l_won] with some light modifications.
|
||||||
|
|
||||||
## Installation
|
|
||||||
|
|
||||||
Use [dotinstall][l_dotinstall] script to install this repo.
|
|
||||||
|
|
||||||
[l_sway]:https://swayvm.org
|
[l_sway]:https://swayvm.org
|
||||||
[l_mako]:https://wayland.emersion.fr/mako/
|
[l_mako]:https://wayland.emersion.fr/mako/
|
||||||
[l_waybar]:https://github.com/Alexays/Waybar
|
[l_waybar]:https://github.com/Alexays/Waybar
|
||||||
[l_fzf]:https://github.com/junegunn/fzf
|
[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_won]: https://gitlab.com/FlyingWombat/my-scripts/blob/master/sway-launcher
|
||||||
[l_dotinstall]:https://git.epha.se/ephase/dotinstall
|
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
#/bin/bash
|
#/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
|
sway
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
LocationMode=filename-entry
|
LocationMode=filename-entry
|
||||||
ShowHidden=false
|
ShowHidden=false
|
||||||
ShowSizeColumn=true
|
ShowSizeColumn=true
|
||||||
GeometryX=282
|
GeometryX=0
|
||||||
GeometryY=194
|
GeometryY=0
|
||||||
GeometryWidth=876
|
GeometryWidth=876
|
||||||
GeometryHeight=538
|
GeometryHeight=538
|
||||||
SortColumn=name
|
SortColumn=name
|
37
install.sh
Executable file
37
install.sh
Executable file
|
@ -0,0 +1,37 @@
|
||||||
|
#!/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