This commit is contained in:
Lian Drake 2024-08-03 07:27:29 -04:00
parent 03f276da64
commit c96976fc08
5 changed files with 8 additions and 1 deletions

View file

@ -148,6 +148,7 @@ polkit
dbus
xorg-server
xf86-input-libinput
xss-lock
pipewire
wireplumber
alsa-pipewire

View file

@ -19,6 +19,7 @@ static const unsigned int baralpha = 0xd0;
static const unsigned int borderalpha = OPAQUE;
static const XPoint stickyicon[] = { {0,0}, {4,0}, {4,8}, {2,6}, {0,8}, {0,0} }; /* represents the icon as an array of vertices */
static const XPoint stickyiconbb = {4,8}; /* defines the bottom right corner of the polygon's bounding box (speeds up scaling) */
static const char start_script[] = "$HOME/.config/suckless/dwm/scripts/autostart";
#define ICONSIZE 16 /* window icon size */
#define ICONSPACING 5 /* space between window icon and title (only when text is truncated) */

View file

@ -1890,7 +1890,7 @@ void run(void) {
}
void runAutostart(void) {
system("$HOME/.config/suckless/dwm/autostart");
system(start_script);
}
void scan(void) {

View file

@ -12,6 +12,7 @@ pidof dwmblocks || dwmblocks &
pidof unclutter || unclutter --hide-on-touch &
pidof dunst || dunst --config $HOME/.config/dunst/dunstrc &
pidof picom || picom &
pidof xss-lock || xss-lock $HOME/.config/suckless/dwm/scripts/lock &
gsettings set org.gnome.desktop.interface cursor-theme 'Simp1e-Gruvbox-Dark'
gsettings set org.gnome.desktop.interface cursor-size 16

4
source/dwm/scripts/lock Executable file
View file

@ -0,0 +1,4 @@
#!/usr/bin/env bash
currwall=$(tail --lines=1 "$HOME/.fehbg" | awk '{print $4}' | sed "s/'//g")
slock -b "$currwall"