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

View File

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

View File

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