Compare commits

...

2 Commits

Author SHA1 Message Date
fuzzy ffaee848cf updates tehe 2022-10-23 22:02:26 -05:00
fuzzy 6cfbd351f0 asdf 2022-10-23 00:31:20 -05:00
17 changed files with 30 additions and 11 deletions

View File

@ -45,6 +45,7 @@ mpd &
keepassxc & keepassxc &
redshift & redshift &
sxhkd & sxhkd &
xcmenu --daemon &
xrandr --output DP-2 --left-of DP-0 & xrandr --output DP-2 --left-of DP-0 &
xwallpaper --output DP-2 --zoom ~/Pictures/wallpapers/vaporwavebluekeyboardmousecablescd.png --output DP-0 --zoom ~/Pictures/wallpapers/oldscifigridtunnelspacestarspso2loadingscreen.jpg xwallpaper --output DP-2 --zoom ~/Pictures/wallpapers/vaporwavebluekeyboardmousecablescd.png --output DP-0 --zoom ~/Pictures/wallpapers/oldscifigridtunnelspacestarspso2loadingscreen.jpg
exec dbus-launch --exit-with-session dwm exec dbus-launch --exit-with-session dwm

View File

@ -1,12 +1,8 @@
plugins: chroma fromfilename mbsync scrub fish duplicates bpm discogs fetchart missing lyrics plugins: chroma fromfilename mbsync scrub fish duplicates bpm discogs fetchart missing lyrics
#badfiles: asciify-paths: yes
#check_on_import: yes threaded: yes
#commands: languages: en
# mp3: mp3val -f
# flac: flac --test --warnings-as-errors
# ogg: oggz validate
# m4a: mp3val -f
import: import:
hardlink: yes hardlink: yes
@ -15,13 +11,12 @@ import:
write: no write: no
copy: no copy: no
scrub: no scrub: no
incremental_skip_later: yes
missing: missing:
count: yes count: yes
total: yes total: yes
chroma: chroma:
auto: yes auto: yes
asciify_paths: yes
threaded: yes
languages: en

Binary file not shown.

Binary file not shown.

View File

@ -4,6 +4,7 @@
static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */ static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */
static int centered = 1; /* -c option; centers dmenu on screen */ static int centered = 1; /* -c option; centers dmenu on screen */
static int min_width = 650; /* minimum width when centered */ static int min_width = 650; /* minimum width when centered */
static int max_width = 650;
/* -fn option overrides fonts[0]; default X11 font or font set */ /* -fn option overrides fonts[0]; default X11 font or font set */
static const char *fonts[] = { static const char *fonts[] = {
"SF Pro Sans:size=13" "SF Pro Sans:size=13"

BIN
dmenu/.local/share/dmenu/dmenu Normal file → Executable file

Binary file not shown.

View File

@ -95,6 +95,11 @@ max_textw(void)
int len = 0; int len = 0;
for (struct item *item = items; item && item->text; item++) for (struct item *item = items; item && item->text; item++)
len = MAX(TEXTW(item->text), len); len = MAX(TEXTW(item->text), len);
/* if len is larger than max_width simply set it to max_width */
if (len > max_width)
len = max_width;
return len; return len;
} }

Binary file not shown.

0
dmenu/.local/share/dmenu/stest Normal file → Executable file
View File

View File

@ -13,6 +13,7 @@ alias hima="himalaya"
alias disroot="himalaya -a disroot" alias disroot="himalaya -a disroot"
alias maim="maim ~/Pictures/screenshots/(date +%s).png" alias maim="maim ~/Pictures/screenshots/(date +%s).png"
alias sxiv="nsxiv -af -e (xdotool getwindowfocus) -g (/home/fuzzy/Documents/scripts/getWindowGeometry.sh)" alias sxiv="nsxiv -af -e (xdotool getwindowfocus) -g (/home/fuzzy/Documents/scripts/getWindowGeometry.sh)"
alias nnnp="NNN_FIFO=/tmp/nnn.fifo NNN_PLUG="p:preview-tabbed" nnn"
fish_add_path -g /bin /usr/bin /usr/local/bin /home/fuzzy/.cargo/bin /home/fuzzy/.local/bin /home/fuzzy/.local/bin fish_add_path -g /bin /usr/bin /usr/local/bin /home/fuzzy/.cargo/bin /home/fuzzy/.local/bin /home/fuzzy/.local/bin

Binary file not shown.

View File

@ -1361,3 +1361,8 @@
2022-10-19 02:16:43 CRITICAL plugin moyaisubs Unable to download the RSS for task moyaisubs (https://nyaa.si/?page=rss&u=MoyaiSubs): HTTPSConnectionPool(host='nyaa.si', port=443): Max retries exceeded with url: /?page=rss&u=MoyaiSubs (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f4ab03ab730>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) 2022-10-19 02:16:43 CRITICAL plugin moyaisubs Unable to download the RSS for task moyaisubs (https://nyaa.si/?page=rss&u=MoyaiSubs): HTTPSConnectionPool(host='nyaa.si', port=443): Max retries exceeded with url: /?page=rss&u=MoyaiSubs (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f4ab03ab730>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
2022-10-19 02:16:43 WARNING task moyaisubs Aborting task (plugin: rss) 2022-10-19 02:16:43 WARNING task moyaisubs Aborting task (plugin: rss)
2022-10-19 12:15:08 INFO transmission subsplease "[SubsPlease] Do It Yourself!! - 03 (1080p) [EADE5D39].mkv" torrent added to transmission 2022-10-19 12:15:08 INFO transmission subsplease "[SubsPlease] Do It Yourself!! - 03 (1080p) [EADE5D39].mkv" torrent added to transmission
2022-10-21 19:15:09 INFO download moyaisubs Downloading: [MoyaiSubs] Reiwa no Di Gi Charat - 03 [CF58332B].mkv
2022-10-21 19:15:10 INFO transmission moyaisubs "[MoyaiSubs] Reiwa no Di Gi Charat - 03 [CF58332B].mkv" torrent added to transmission
2022-10-22 12:15:07 INFO transmission subsplease "[SubsPlease] Bocchi the Rock! - 03 (1080p) [1F17BE65].mkv" torrent added to transmission
2022-10-23 16:15:03 INFO manager judas Running database cleanup.
2022-10-23 16:15:03 INFO db_analyze judas Running ANALYZE on database to improve performance.

View File

@ -53,7 +53,7 @@ font-3 = Source Han Sans JP VF:pixelsize=13;3
modules-left = title modules-left = title
modules-center = swatch modules-center = swatch
modules-right = network soundSwitch soundIcon pulseaudio newpower modules-right = network clipboard soundSwitch soundIcon pulseaudio newpower
tray-position = right tray-position = right
tray-padding = 3 tray-padding = 3
@ -79,6 +79,12 @@ label = %output%
click-left = ~/Documents/scripts/dcaltoggle.sh click-left = ~/Documents/scripts/dcaltoggle.sh
[module/clipboard]
type=custom/text
content=" "
click-left = ~/Documents/scripts/xclipmenu.sh
[module/soundSwitch] [module/soundSwitch]
type=custom/text type=custom/text

View File

@ -12,6 +12,7 @@ static struct Config config = {
/* sizes in pixels */ /* sizes in pixels */
.width_pixels = 130, /* minimum width of a menu */ .width_pixels = 130, /* minimum width of a menu */
.max_width = 325, /* maximum width of a menu */
.height_pixels = 30, /* height of a single menu item */ .height_pixels = 30, /* height of a single menu item */
.border_pixels = 0, /* menu border */ .border_pixels = 0, /* menu border */
.separator_pixels = 3, /* space around separator */ .separator_pixels = 3, /* space around separator */

Binary file not shown.

View File

@ -62,6 +62,7 @@ struct Config {
const char *separator_color; const char *separator_color;
const char *border_color; const char *border_color;
int width_pixels; int width_pixels;
int max_width;
int height_pixels; int height_pixels;
int border_pixels; int border_pixels;
int max_items; int max_items;
@ -835,6 +836,9 @@ drawtext(XftDraw *draw, XftColor *color, int x, int y, unsigned h, const char *t
XftTextExtentsUtf8(dpy, currfont, (XftChar8 *)text, len, &ext); XftTextExtentsUtf8(dpy, currfont, (XftChar8 *)text, len, &ext);
textwidth += ext.xOff; textwidth += ext.xOff;
if ( textwidth > config.max_width )
textwidth = config.max_width;
if (draw) { if (draw) {
int texty; int texty;

Binary file not shown.