feat: stuff

This commit is contained in:
Strix 2024-03-22 10:04:21 +01:00
parent 04d15ad27d
commit 37c7eaf334
7 changed files with 34 additions and 8 deletions

View file

@ -1,6 +1,6 @@
#!/bin/sh
pkgs="i3 i3lock i3status libpulse brightnessctl xss-lock dex maim dmenu gnome-keyring feh"
pkgs="i3 i3lock i3status libpulse brightnessctl xss-lock dex maim dmenu gnome-keyring feh picom"
super_apply() {
pacman -S --needed --noconfirm $pkgs

View file

@ -8,6 +8,7 @@ apply() {
[ -d "$HOME/.config/i3status" ] || mkdir -p $HOME/.config/i3status
[ -e "$HOME/.config/i3/config" ] || ln files/config $HOME/.config/i3/config
[ -e "$HOME/.config/i3status/config" ] || ln files/status_config $HOME/.config/i3status/config
[ -e "$HOME/.config/picom.conf" ] || ln files/picom.conf $HOME/.config/picom.conf
}
undo() {

View file

@ -1,6 +1,6 @@
#!/bin/sh
pkgs="i3 i3lock i3status pulseaudio-devel brightnessctl xss-lock dex maim dmenu gnome-keyring feh"
pkgs="i3 i3lock i3status pulseaudio-devel brightnessctl xss-lock dex maim dmenu gnome-keyring feh picom"
super_apply() {
xbps-install -y $pkgs

View file

@ -1,6 +1,7 @@
######################
#######################
## Raine's i3 config ##
## Sept 2, 2023 ##
## Mar 22, 2023 ##
## mutation: 1m ##
#######################
## Mostly similar to i3's config yet differs
@ -24,11 +25,11 @@ exec_always --no-startup-id nm-applet
exec_always --no-startup-id xss-lock --transfer-sleep-lock -- $screen_lock
exec_always --no-startup-id gnome-keyring-daemon --start --components=ssh,secrets,pkcs11
exec_always --no-startup-id feh --bg-fill ~/Pictures/wallpaper.jpg
exec_always --no-startup-id picom
# Gaps & Borders:
# ---
gaps inner 20
gaps inner 10
smart_gaps on
default_border pixel 1
@ -95,7 +96,7 @@ bindsym $mod+d exec --no-startup-id $appmenu
bindsym $mod+l exec --no-startup-id $screen_lock
# Screenshots
bindsym Print exec $screenshot
bindsym Print exec --no-startup-id $screenshot
# Audio
bindsym $audio_volume_up exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $meta_refresh_statusbar

View file

@ -0,0 +1,9 @@
inactive-opacity = 0.75;
blur: {
method = "box";
size = 10;
background = false;
background-frame = false;
background-fixed = false;
}

View file

@ -2,7 +2,7 @@
# Raine's .zshrc
if ! [ "$PROFILEINC" = "1" ]; then
if [ "$PROFILEINC" = "1" ]; then
. ~/.profile
fi
@ -46,6 +46,8 @@ container() {
ash
}
[ -f "$HOME/.config/i3/shortcuts-i3.sh" ] && . ~/.config/i3/shortcuts-i3.sh
alias q="exit"
alias vim="nvim"
alias vi="nvim"

View file

@ -0,0 +1,13 @@
#!/bin/sh
set -e
echo "Downloading newest package..."
curl -Lo /tmp/discord.deb "https://discord.com/api/download?platform=linux&format=deb"
cd /tmp
echo "Extracting package..."
xdeb discord.deb
echo "Installing package..."
sudo xbps-install -R /tmp/binpkgs discord
rm -rf /tmp/binpkgs
cd -