fix: sway config, bin/{epitest,wine,virt}...

This commit is contained in:
AngeD 2023-03-06 07:49:40 +01:00
parent ab196ca49e
commit dbf9c6a329
17 changed files with 40 additions and 13 deletions

@ -1 +1 @@
Subproject commit f0d9150fe8486d0f74757ed9d8987bfc33c7ff44
Subproject commit 6a9f922eb6e7412a4e940e20f4d76fd4e0e3feec

@ -1 +1 @@
Subproject commit f40e3e2304c633411ddf266075f7db5184b1db02
Subproject commit a3f17d3baf70df58b9d3544ea30abe52a7a832c2

@ -1 +1 @@
Subproject commit 8b6f08165bca8545405ce86eedb1d5be882cd5f7
Subproject commit 5a87bc98dabd0d38152a6fa774005f7ecbd40f1b

View File

@ -15,8 +15,8 @@ input type:touchpad {
}
output {
eDP-1 position 0 0 mode --custom 1920x1080@120Hz
DP-3 position 1920 0
DP-2 position 3840 0
eDP-1 position 0 0
DP-2 position 1920 0
DP-3 position 3840 0
* bg $wallpapers/landscape.png fill
}

View File

@ -16,4 +16,3 @@ bar swaybar_command waybar
exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec gammastep
exec blueman-applet
exec nm-applet --indicator

View File

@ -72,8 +72,8 @@
"format": "{name}",
},
"custom/crypto": {
"exec": "crypto.sh",
"interval": 600,
"exec": "crypto",
"interval": 3600,
}
}

View File

@ -1,3 +1,6 @@
#!/bin/sh
[ "$XDG_VTNR" = 1 ] && exec startx > "$HOME/.gui.log" 2>&1
[ "$XDG_VTNR" = 1 ] && select SESSION in startx sway; do
[ "$SESSION" = sway ] && export XDG_CURRENT_DESKTOP=sway
exec $SESSION > "$HOME/.gui.log" 2>&1
done

View File

@ -11,7 +11,6 @@ alias wconf='(cd "$XDG_CONFIG_HOME/suckless/dwm-6.4" && $EDITOR .)'
alias zconf='(cd "$ZDOTDIR/" && $EDITOR .) && . "$ZDOTDIR/.zshrc"'
# dev
alias epitest='docker run -it --rm --user $UID:$GID -v "$PWD:/usr/app/" epitechcontent/epitest-docker bash'
alias make='make -j8'
# compatibility

@ -1 +1 @@
Subproject commit a30145b0f82d06770e924e9eac064ed223a94e6b
Subproject commit 2aa16c54314f175e4f34fdd7fa1bdb03f1797c6a

@ -1 +1 @@
Subproject commit cc73a929f637899407d7a17648f89c63b71cc1ff
Subproject commit 6f3304f442afde6e1cf3e7e8641a405d29d2e73d

View File

@ -19,3 +19,6 @@ export EDITOR='nvim'
export XDG_CURRENT_DESKTOP=Unity
export QT_STYLE_OVERRIDE=Materia-dark
# Wayland
export WLR_EGL_NO_MODIFIERS=1

BIN
bin/crypto Executable file

Binary file not shown.

3
bin/epitest Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
sudo docker run -it --rm --user "$UID:$GID" -v "$PWD:/usr/app/" epitechcontent/epitest-docker bash "$@"

3
bin/moonlight Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
$HOME/Applications/Moonlight-4.3.1-x86_64.AppImage

3
bin/repitest Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
sudo docker run -it --rm -v "$PWD:/usr/app/" epitechcontent/epitest-docker bash "$@"

4
bin/virt-manager Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
systemctl is-active libvirtd | grep -q inactive && pkexec systemctl start libvirtd
/usr/bin/virt-manager

10
bin/wine Executable file
View File

@ -0,0 +1,10 @@
#!/bin/bash
sudo docker run -it --rm \
--network host \
-e DISPLAY="$DISPLAY" \
-v "$PWD:/app/" \
-v "$XAUTHORITY:/home/app/.Xauthority:ro" \
-v '/tmp/.X11-unix/:/tmp/.X11-unix/' \
wine \
"$@"