Commit Graph

414 Commits

Author SHA1 Message Date
李通洲 38e2f8cf3e LocalIp: add new module 2021-10-17 21:05:04 +08:00
Linus Dierheimer 0b3f96610b Merge pull request #93 from CarterLi/wsl2
Better support devices running without desktop environment ( and WSL2 ), fix #83
2021-10-17 14:33:24 +02:00
李通洲 3a649493ea Don't print error: XDG_RUNTIME_DIR not set in the environment. when $XDG_RUNTIME_DIR is not set
According to [the manpage](https://manpages.debian.org/experimental/libwayland-doc/wl_display_connect.3.en.html), $XDG_RUNTIME_DIR must be set before calling `wl_display_connect(NULL)`.
Otherwise `wl_display_connect` will always fail, and print the error message
2021-10-17 18:37:51 +08:00
李通洲 8d7d33882f Always assume TTY when both $XDG_SESSION_TYPE and $WAYLAND_DISPLAY are not set
$TERM can be set to value other than `linux` ( eg xterm, xterm-256color ), just assume TTY when no desktop env is found, which effectively bypasses `getWMDE`
Fix #83
2021-10-17 18:34:11 +08:00
Linus Dierheimer f265307dc4 Prefer process name in terminal output 2021-09-19 14:58:46 +02:00
Linus Dierheimer e02d81d866 Merge pull request #81 from halfhiddencode/patch-1
Update logo.c
2021-07-31 09:52:39 +02:00
halfhiddencode a2742ce60b Update logo.c
correction in garuda logo
2021-07-18 08:16:23 +00:00
Linus Dierheimer 588a68ac4c Better OS output 2021-07-12 19:01:31 +02:00
Linus Dierheimer 0f916bb492 Better ffParseSemver 2021-07-08 20:02:53 +02:00
Linus Dierheimer 9faf664320 Merge pull request #77 from BL4CKH47H4CK3R/patch-1
Beautify Arch Logo
2021-07-06 22:10:02 +02:00
BL4CKH47H4CK3R 7fa971bc86 Beautify Arch Logo 2021-07-06 19:49:27 +00:00
Linus Dierheimer b733bb628d Update README.md 2021-07-06 21:25:12 +02:00
Linus Dierheimer d7356a8323 Cleand up resolution code 2021-07-06 21:15:08 +02:00
Linus Dierheimer 26f4fac62b feature request #75: CelOS logo 2021-07-06 20:36:30 +02:00
Linus Dierheimer 273d4205b5 Xrandr: support for multiple output monitors 2021-07-05 20:59:58 +02:00
Linus Dierheimer 1717b51807 fix compiler warning about unused result of fscanf 2021-07-02 23:07:25 +02:00
Linus Dierheimer 7b5af1b133 Rewrote x11 resolution detection 2021-07-02 22:43:58 +02:00
Linus Dierheimer 45e5546c92 Don't show certain informations in TTY 2021-06-27 21:53:50 +02:00
Linus Dierheimer 8f1b067953 fix resolution in x11 / TTY 2021-06-27 21:43:09 +02:00
Linus Dierheimer ad220546ba small cleanup in cursor code 2021-06-27 21:18:43 +02:00
Linus Dierheimer 78af5cb8a8 better resolution detection 2021-06-27 21:09:18 +02:00
Linus Dierheimer dc2f45626f Merge pull request #72 from DarNCelsius/master
Clean up cursor.c
2021-06-26 19:13:39 +02:00
DarN 4d408f55fa Optimisation 2021-06-26 19:00:15 +02:00
Linus Dierheimer 3f936e084d Merge pull request #71 from DarNCelsius/master
LXQT cursor support
2021-06-26 18:35:02 +02:00
DarN 764d2b7fc9 Refactored config file cursor functions 2021-06-26 18:14:09 +02:00
DarN 11c07d6738 LXQT cursor support 2021-06-26 17:31:50 +02:00
Linus Dierheimer 262a3eb59f remove trailing - in cursor output 2021-06-26 17:08:15 +02:00
Linus Dierheimer 0d09b89016 Merge pull request #70 from DarNCelsius/master
Sanitize custom Plasma theme name
2021-06-26 16:54:49 +02:00
DarN d2156dfc1d Remove fluff 2021-06-26 16:53:43 +02:00
Linus Dierheimer 2c599b5924 prettier cursor output 2021-06-26 16:48:15 +02:00
DarN 3d3216ba91 Added flexible remove logic 2021-06-26 16:47:47 +02:00
DarN d7a8623f90 Merge branch 'LinusDierheimer:master' into master 2021-06-26 16:07:32 +02:00
Linus Dierheimer 582d5b6473 better naming of strbuf methods 2021-06-26 15:34:01 +02:00
Linus Dierheimer 19b71d9ce0 change cursor size from pt to px 2021-06-26 11:43:36 +02:00
Linus Dierheimer a88cb07dad better cursor support 2021-06-26 11:39:42 +02:00
DarN 4c02b8319b Comment edit 2021-06-26 08:40:23 +02:00
DarN ea8c68bab4 Sanitize custom Plasma theme name 2021-06-26 08:14:11 +02:00
Linus Dierheimer d4d9bc90e6 fix cursor detection in xfce 2021-06-20 22:26:06 +02:00
Linus Dierheimer c0cb55ca9a fix ffParsePropFileConfigValues 2021-06-20 22:17:18 +02:00
Linus Dierheimer 8cb3ff7c2b Cursor support 2021-06-20 21:04:55 +02:00
Linus Dierheimer ef31e08d2d Allow same GTK values in same file to overwrite each other 2021-06-17 13:59:18 +02:00
Linus Dierheimer f148dbacfb Disable linewrap and hide cursor by default 2021-06-17 13:49:25 +02:00
Linus Dierheimer 450ac7f2cd simplified host code 2021-06-16 12:20:56 +02:00
Linus Dierheimer 98f420ad3d handle cpu frequencies right 2021-06-16 11:47:32 +02:00
Linus Dierheimer 27915127a8 improved cpu detection 2021-06-16 11:28:33 +02:00
Linus Dierheimer ea2f6470d8 improved host detection 2021-06-16 10:50:16 +02:00
Linus Dierheimer 9ade52ddc0 Added "Default string" to not allowed host values 2021-06-15 18:12:33 +02:00
Linus Dierheimer 409b1f29a6 renamed calculation threads to detection threads 2021-06-15 13:12:29 +02:00
Linus Dierheimer f8c215775a better zsh and fish version detection 2021-06-15 12:35:44 +02:00
Linus Dierheimer 0bf486fa67 seperator is now always the width of the title 2021-06-15 11:04:44 +02:00