Commit Graph

56 Commits

Author SHA1 Message Date
Linus Dierheimer 536f914f3e Refactor: move printing functions to own header 2022-07-25 13:15:01 +02:00
Linus Dierheimer 778856dd57 Refactor: move property functions to own header 2022-07-25 12:24:23 +02:00
Linus Dierheimer 23bf7a407b Fix alacritty term font size
#197
2022-07-20 20:56:02 +02:00
Linus Dierheimer e570cacbc9 Fix typos
#201
2022-07-20 20:44:16 +02:00
Linus Dierheimer 5f16394916 Add alacritty to readme 2022-07-12 16:49:39 +02:00
Péter Bohner (xzvf) 67ac7eef59 buxfix: missing fontSize/fontName would overwrite the other 2022-07-12 16:43:21 +02:00
Péter Bohner (xzvf) b95e83e9e5 Use ffStrbufAppend instead of ffStrbugInitCopy 2022-07-12 16:41:20 +02:00
Péter Bohner (xzvf) e9d9b942fa Cleanup diff 2022-07-12 16:34:35 +02:00
Péter Bohner (xzvf) c95ad74ea2 Refactor to use ffFontInitCopy and detect font size
printAlacritty now usese ffFontInitCopy instead of ffFontInitPango
and also detects font size.
2022-07-12 16:31:19 +02:00
Péter Bohner (xzvf) 85b0be5213 Add best effort terminal font detection for alacritty.
Alacritty's config files are technically YML files, so
simply looking for a prop value "family:" may break some of the time,
but is in fact better than what neofetch does and much easier
to implement then writing a YML parser :)
2022-07-12 14:38:06 +02:00
Linus Dierheimer 6e3e717224 --<module>-error options 2022-06-17 18:15:36 +02:00
Linus Dierheimer bd0c593871 Simplify packaging for termux 2022-04-10 15:07:52 +02:00
Linus Dierheimer bcf543e129 Unified WM / DE / Resolution detection 2022-01-02 16:55:26 +01:00
Linus Dierheimer cab5069be2 fix terminal / shell detection 2021-06-15 09:23:37 +02:00
Linus Dierheimer eab26149e7 rewrote shell / terminal detection 2021-06-14 23:22:14 +02:00
Linus Dierheimer bd3c236480 a bit better parsing of fonts 2021-05-23 19:40:34 +02:00
Linus Dierheimer 14932466f7 refactored usage of GSettings 2021-05-20 20:06:08 +02:00
DarN 5b69bd77a6 Terminal font refactor 2021-05-17 23:02:27 +02:00
DarN 15ed8504bf Syntax change 2021-05-17 14:32:51 +02:00
DarN 00c426c98a Added terminal font support for Gnome Terminal 2021-05-17 14:21:55 +02:00
Linus Dierheimer bbb46e7c66 better ffGetPropValue 2021-05-15 14:58:43 +02:00
Linus Dierheimer 4d7a06ac97 ffGetPropValue 2021-05-13 12:27:44 +02:00
Linus Dierheimer f8868ae3c4 ffPrintError don't print regexes 2021-05-12 20:17:16 +02:00
Linus Dierheimer 7afc27e52f small syntactic changes 2021-05-12 20:13:56 +02:00
DarN c549c7c868 Rewrote function with XFConf 2021-05-11 22:28:10 +02:00
DarN ef3f4d9fa8 Tweaks
Hopefully an improvement
2021-05-09 20:39:00 +02:00
DarN 89187e9758 Removed auto include 2021-05-09 14:07:20 +02:00
DarN cf4b3c54cf Added check for manual edits 2021-05-09 14:05:57 +02:00
DarN 719a5c999d Added system font recognition for xfce-terminal 2021-05-09 13:40:17 +02:00
Linus Dierheimer b5454c28bf unified some terminal font methods 2021-05-09 12:30:10 +02:00
DarN 70c1b477d0 Added Terminal Font for lxterminal 2021-05-09 09:02:56 +02:00
DarN 0e236c7d6a Cleanup/Note on future changes 2021-05-09 08:03:09 +02:00
DarN 099ddeea01 Tweaks
Are we there yet? :D
2021-05-08 21:26:01 +02:00
DarN eac718085e Implemented suggestions
Much better.
2021-05-08 21:17:04 +02:00
DarN 4f83dc8396 Added Terminal Font for Tilix
This adds Terminal Font recognition for Tilix's default profile. I can't find a way to detect which profile is the active one.
2021-05-08 20:31:18 +02:00
Linus Dierheimer a389b89ff0 supprt for custom / multiple config dirs 2021-05-07 14:55:43 +02:00
Linus Dierheimer 94caa86998 TTY improvements 2021-05-01 16:54:59 +02:00
Linus Dierheimer 01ada03c5c renamed calculate to detect 2021-04-28 19:53:30 +02:00
Linus Dierheimer 49e112eeae revert stupid revert 2021-04-24 13:12:40 +02:00
Linus Dierheimer e28126f40e better result handling of calculation functions 2021-04-22 21:41:42 +02:00
Linus Dierheimer 51c38a2b01 terminalfont now gives an error on unknown terminals instead of printing TTY values 2021-04-16 20:44:46 +02:00
Linus Dierheimer 7b65316483 global results are now stored in state 2021-04-16 20:22:38 +02:00
Linus Dierheimer 9bc1f2a116 much more efficient caching 2021-04-15 18:59:26 +02:00
Linus Dierheimer 53c781aa21 project structure refactoring 2021-04-09 14:07:05 +02:00
Linus Dierheimer de312adb52 better gtk detection 2021-04-05 19:25:34 +02:00
Linus Dierheimer f25bca3dab wm theme detection for kde plasma 2021-04-03 23:10:14 +02:00
Linus Dierheimer 08066a76f0 all keys can now be set! 2021-04-03 11:39:59 +02:00
Linus Dierheimer a8821cf6f0 some terminal improvements 2021-04-02 16:21:52 +02:00
Linus Dierheimer a1e90ba35c editorconfig 2021-03-27 18:14:19 +01:00
Linus Dierheimer beb2e9608c dont print line if format evaluates to an empty string 2021-03-27 15:39:56 +01:00