Compare commits

...

5 Commits

Author SHA1 Message Date
fanyx 689b9d2d3c add SSH_AUTH_SOCK 2022-10-16 12:45:06 +02:00
fanyx d71391fdb6 read correct pkgs without versions from xpkg -m 2022-10-16 12:45:06 +02:00
fanyx 7bda825c1a correct exit status handling 2022-10-16 12:45:06 +02:00
fanyx 9ae4f36397 use XDG_RUNTIME_DIR 2022-10-16 12:45:06 +02:00
fanyx 741f3c9ffb idk, changes 2022-10-16 12:45:06 +02:00
5 changed files with 37 additions and 53 deletions

View File

@ -3,21 +3,23 @@
# Set outputs
xrandr --output DP-0 --primary --mode 2560x1440 --rate 165.08 --left-of DP-4 --output DP-4 --mode 2560x1440 --rate 74.92
# Monitor description
bspc monitor DP-0 -d term browser game code misc
bspc monitor DP-4 -d browser2 comm music server mail tmp
# Restore wallpaper
~/.fehbg
# Autolaunch
~/.config/polybar/launch.sh &
pgrep -x Discord >/dev/null || Discord &
pgrep -x steam >/dev/null || steam &
# Utilities
xsetroot -cursor_name left_ptr &
setxkbmap -model evdev -layout eu
bspc monitor DP-0 -d term browser game code misc
bspc monitor DP-4 -d browser2 comm music server mail tmp
# Configuration
bspc config border_width 3
bspc config window_gap 18
bspc config normal_border_color '#21201E'
@ -41,6 +43,7 @@ bspc rule -a kitty state=tiled
#------------------------------------------------------- Firefox
bspc rule -a Firefox state=tiled
bspc rule -a "Firefox:*:Save Image" state=floating
bspc rule -a "Firefox:*:File Upload" state=floating
# ------------------------------------ Discord => Workspace Comm
bspc rule -a discord state=tiled desktop=comm

View File

@ -1,2 +1,2 @@
#!/bin/sh
exec ssh-agent -D -a "/run/user/$(id -u)/ssh-agent"
exec ssh-agent -D -a "${XDG_RUNTIME_DIR}/ssh-agent"

View File

@ -22,4 +22,10 @@ do_remove() {
SUDO=$(which_sudo)
do_remove -R "$@"
exit $?
status=$?
if [ $status -eq 16 ]; then
do_install -u xbps &&
do_install -S "$@"
else
exit $status
fi

View File

@ -1,35 +1,28 @@
ImageMagick
NetworkManager
NetworkManager-openvpn
Signal-Desktop
arandr
asunder
base-system
bash-completion
bsdtar
bspwm
curl
bind-utils
chrome-gnome-shell
dbus
dino
direnv
discord
dmenu
docker
docker-compose
easyeffects
elixir
elogind
eog
exa
execline
feh
ffmpeg
firefox
font-awesome5
font-fira-otf
font-sarasa-gothic
fontmanager
gpick
git
glib-devel
gnome
gnome-menus
grub-x86_64-efi
gvfs-smb
hplip-gui
htop
hydrus
@ -37,58 +30,37 @@ jq
keepassxc
kitty
lesspipe
libdrm
libgcc
libstdc++
libu2f-host
lightdm-mini-greeter
lua54-devel
luarocks-lua54
lutris
mesa
lxappearance
mgba-qt
nautilus
neofetch
nerd-fonts
net-tools
network-manager-applet
noto-fonts-cjk
noto-fonts-emoji
noto-fonts-ttf
noto-fonts-ttf-extra
ntfs
ntfs-3g
nvidia
nvidia-libs
obs
opendoas
nvidia-libs-32bit
openjdk8
openntpd
openvpn
pam-u2f
papirus-folders
papirus-icon-theme
pavucontrol
picom
piper
pipewire
polybar
ppsspp
proton-python-client
protontricks
pulseaudio-utils
python3-pip
qbittorrent
qrencode
qt5
rofi
schedtool
scrot
sassc
smbclient
socklog-void
srain
steam
sxhkd
sushi
syncthing
syncthing-gtk
telegram-desktop
udisks2
unzip
vim
vlc
@ -96,13 +68,13 @@ void-repo-multilib
void-repo-multilib-nonfree
void-repo-nonfree
vscode
vulkan-loader-32bit
wget
wine
wine
wine-32bit
wine-mono
winetricks
wireguard
xdg-user-dirs
xorg
xterm
xtitle
xtools

View File

@ -9,6 +9,9 @@ export EDITOR=vim
export PAGER=less
export VISUAL=vim
: ${SSH_AUTH_SOCK:=$XDG_RUNTIME_DIR/ssh-agent}
export SSH_AUTH_SOCK
for x in \
"$HOME/bin" \
"$HOME/.local/bin" \