fix: setup.sh

This commit is contained in:
Fabio Lenherr / DashieTM 2023-10-04 20:08:07 +02:00
parent 188d0b8ba0
commit e03b1b9997
5 changed files with 15 additions and 11 deletions

View file

@ -2,6 +2,7 @@
bind=SUPER,S,exec,grim -g "$(slurp)" - | wl-copy bind=SUPER,S,exec,grim -g "$(slurp)" - | wl-copy
bind=SUPERSHIFTALT,S,exec, grim -g "$(slurp)" $HOME/gits/ost-5semester/Screenshots/$(date +'%Y_%m_%d_%I_%M_%S.png') && (date +'%Y_%m_%d_%I_%M_%S.png') | wl-copy bind=SUPERSHIFTALT,S,exec, grim -g "$(slurp)" $HOME/gits/ost-5semester/Screenshots/$(date +'%Y_%m_%d_%I_%M_%S.png') && (date +'%Y_%m_%d_%I_%M_%S.png') | wl-copy
bind=SUPERSHIFT,S,exec,grim -g "$(slurp)" - | swappy -f - bind=SUPERSHIFT,S,exec,grim -g "$(slurp)" - | swappy -f -
bind=SUPERCONTROLSHIFT,S,exec,grim -g "0,0 3440x1440" - | wl-copy
bind=SUPER,F,exec,firefox bind=SUPER,F,exec,firefox
bind=SUPER,T,exec,kitty -1 bind=SUPER,T,exec,kitty -1
bind=SUPER,Q,killactive, bind=SUPER,Q,killactive,

View file

@ -28,7 +28,6 @@ org.freedesktop.Platform.GL.default
(Extra) (Extra)
org.freedesktop.Platform.GL32.default org.freedesktop.Platform.GL32.default
org.freedesktop.Platform.GL32.default org.freedesktop.Platform.GL32.default
(Extra)
org.freedesktop.Platform.GStreamer.gstreamer-vaapi org.freedesktop.Platform.GStreamer.gstreamer-vaapi
org.freedesktop.Platform.ffmpeg-full org.freedesktop.Platform.ffmpeg-full
org.freedesktop.Platform.ffmpeg_full.i386 org.freedesktop.Platform.ffmpeg_full.i386

View file

@ -31,7 +31,7 @@ install() {
if [ "$PKG" == '' ]; then if [ "$PKG" == '' ]; then
CHOICE="F" CHOICE="F"
read -p "Flatpak, cargo or aur? [F/c/a] " CHOICE read -p "Flatpak, cargo or aur? [F/c/a] " CHOICE
if [ "$CHOICE" == 'F' ]; then if [ "$CHOICE" == 'F' ] || [ "$CHOICE" == '' ]; then
flatpak install "$1" flatpak install "$1"
elif [ "$CHOICE" == 'c' ]; then elif [ "$CHOICE" == 'c' ]; then
mkdir -p $HOME/.local/bin/cargo/ mkdir -p $HOME/.local/bin/cargo/

View file

@ -75,6 +75,8 @@ aws-crt-cpp
aws-sdk-cpp aws-sdk-cpp
ayatana-ido ayatana-ido
babl babl
baloo-widgets
baloo5
base base
bash bash
bat bat
@ -188,6 +190,7 @@ docbook-xml
docbook-xsl docbook-xsl
docker docker
docker-compose docker-compose
dolphin
dosfstools dosfstools
dotnet-host dotnet-host
dotnet-runtime dotnet-runtime
@ -289,6 +292,7 @@ ghc-libs
ghostscript ghostscript
giflib giflib
gimp gimp
girara
git git
gitoxide gitoxide
gitui gitui
@ -2147,6 +2151,7 @@ yasm
yay yay
youtube-dl youtube-dl
yt-dlp yt-dlp
zathura
zbar zbar
zenith zenith
zenity zenity

View file

@ -1,20 +1,19 @@
find $PWD -maxdepth 1 -mindepth 0 -exec ln -s '{}' $HOME/.config/ \; find $PWD -maxdepth 1 -mindepth 0 -exec ln -s '{}' $HOME/.config/ \;
mv $HOME/.config/.zshrc ../.zshrc mv $HOME/.config/.zshrc ../.zshrc
unlink $HOME/.config/.git unlink $HOME/.config/.git
unlink $HOME/.config/.gitignore unlink $HOME/.config/.gitignore
unlink $HOME/.config/README.md unlink $HOME/.config/README.md
unlink $HOME/.config/eww_desktop
unlink $HOME/.config/hypr_desktop unlink $HOME/.config/hypr_desktop
unlink $HOME/.config/eww_laptop
unlink $HOME/.config/hypr_laptop unlink $HOME/.config/hypr_laptop
unlink $HOME/.config/setup.sh unlink $HOME/.config/setup.sh
unlink $HOME/.config/dotFiles unlink $HOME/.config/dotFiles
gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
gsettings set org.gnome.desktop.interface gtk-theme 'adw-gtk3' && gsettings set org.gnome.desktop.interface color-scheme 'default'
sh ./pac load
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
if [ "$1" = "laptop" ]; then if [ "$1" = "laptop" ]; then
ln -s $PWD/eww_laptop $HOME/.config/eww ln -s $PWD/hypr_laptop $HOME/.config/hypr
ln -s $PWD/hypr_laptop $HOME/.config/hypr elif [ "$1" = "desktop" ]; then
elif [ "$1" = "desktop" ]; then ln -s $PWD/hypr_desktop $HOME/.config/hypr
ln -s $PWD/eww_desktop $HOME/.config/eww
ln -s $PWD/hypr_desktop $HOME/.config/hypr
fi fi