Updated
This commit is contained in:
parent
03f276da64
commit
c96976fc08
5 changed files with 8 additions and 1 deletions
|
@ -148,6 +148,7 @@ polkit
|
||||||
dbus
|
dbus
|
||||||
xorg-server
|
xorg-server
|
||||||
xf86-input-libinput
|
xf86-input-libinput
|
||||||
|
xss-lock
|
||||||
pipewire
|
pipewire
|
||||||
wireplumber
|
wireplumber
|
||||||
alsa-pipewire
|
alsa-pipewire
|
||||||
|
|
|
@ -19,6 +19,7 @@ static const unsigned int baralpha = 0xd0;
|
||||||
static const unsigned int borderalpha = OPAQUE;
|
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 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 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 ICONSIZE 16 /* window icon size */
|
||||||
#define ICONSPACING 5 /* space between window icon and title (only when text is truncated) */
|
#define ICONSPACING 5 /* space between window icon and title (only when text is truncated) */
|
||||||
|
|
|
@ -1890,7 +1890,7 @@ void run(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void runAutostart(void) {
|
void runAutostart(void) {
|
||||||
system("$HOME/.config/suckless/dwm/autostart");
|
system(start_script);
|
||||||
}
|
}
|
||||||
|
|
||||||
void scan(void) {
|
void scan(void) {
|
||||||
|
|
|
@ -12,6 +12,7 @@ pidof dwmblocks || dwmblocks &
|
||||||
pidof unclutter || unclutter --hide-on-touch &
|
pidof unclutter || unclutter --hide-on-touch &
|
||||||
pidof dunst || dunst --config $HOME/.config/dunst/dunstrc &
|
pidof dunst || dunst --config $HOME/.config/dunst/dunstrc &
|
||||||
pidof picom || picom &
|
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-theme 'Simp1e-Gruvbox-Dark'
|
||||||
gsettings set org.gnome.desktop.interface cursor-size 16
|
gsettings set org.gnome.desktop.interface cursor-size 16
|
4
source/dwm/scripts/lock
Executable file
4
source/dwm/scripts/lock
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
currwall=$(tail --lines=1 "$HOME/.fehbg" | awk '{print $4}' | sed "s/'//g")
|
||||||
|
slock -b "$currwall"
|
Loading…
Reference in a new issue