Commit Graph

41 Commits

Author SHA1 Message Date
eleksir
95a5033dfc Use any instead of interface{} v1.3 2025-04-07 20:50:49 +03:00
eleksir
30cb930a5e Update deps 2025-04-07 20:41:57 +03:00
eleksir
4fd0815c1d Use tickers instead of time.Sleep(), simplify main loop condition 2025-04-07 20:41:13 +03:00
eleksir
44dbaee87a Fix more golangci-lint warnings and update its config, bump required version of go compiler to 1.24.2 2025-04-07 20:14:14 +03:00
eleksir
f905ba79a3 Fix "no batt" case, when one of the batteries have dodgy driver 2025-04-07 19:52:41 +03:00
eleksir
40eaac419d Transparently set sampleConfig.Separator.{Left,Right}.FontSize to sampleConfig.FontSize if it is not defined in config 2024-09-27 21:07:23 +03:00
eleksir
e485ca02d9 Show ramaining battery charge, not drianed 2024-09-27 20:57:58 +03:00
eleksir
1e5d85bb69 Fix update condition of battery status 2024-09-23 19:14:43 +03:00
eleksir
5bb259a30c Now all indicator updates properly 2024-09-23 19:05:45 +03:00
eleksir
1a4ab136dc Fix embed path, add missing cmd/i3status-go dir 2024-09-23 00:59:43 +03:00
eleksir
7ce2d9d9ec Add test for batteries module, update deps 2024-09-23 00:22:21 +03:00
eleksir
4bff21f4c7 Change project layout to make easier debug / tests" 2024-09-23 00:10:27 +03:00
eleksir
9d3bc186cc Fix styling of LA block v1.2 2024-09-14 00:59:02 +03:00
eleksir
4c19fa2446 Update deps 2024-09-13 23:28:48 +03:00
eleksir
03926f47c4 Always setup default values even if module that uses it is disabled 2024-09-13 23:27:36 +03:00
eleksir
1485354b6c Do not try to close connection if it is not opened in VPNTCPCheck() 2024-09-13 22:02:28 +03:00
eleksir
0fd5ed87a2 Update deps v1.1 2024-04-22 23:09:48 +03:00
eleksir
b36f1fd7d7 Add sig{quit,term,int} handler that just quits application 2024-04-22 23:05:07 +03:00
eleksir
87361a4e6c Fix comment 2024-04-22 23:04:17 +03:00
eleksir
6047399fc7 Add examples of configs v1.0 2024-03-14 00:52:38 +03:00
eleksir
35ec64cbbc Update sample config 2024-03-14 00:52:38 +03:00
eleksir
bb797d75b4 More pulseaudio settings, fix formatting for indicator boxes
* Add setting that defines whether to exit pulseaudio daemon or not
* Fix styling of all indicators (use font settings instead of default box settings)
* Set defaults for battery, clock and volume indicators
2024-03-14 00:52:38 +03:00
eleksir
92bddadd9d Fix formatting issues for some indicator boxes, respect font setting for separators 2024-03-14 00:52:38 +03:00
eleksir
d47ce88c0d Use async handler instead of applying sound volume in stdin parser 2024-03-14 00:52:38 +03:00
eleksir
bf9893feba Print to i3bar asynchronously 2024-03-14 00:52:38 +03:00
eleksir
4919f74184 Try to gracefully quit pulseaudio daemon if it is not responding 2024-03-14 00:51:47 +03:00
eleksir
5770f9106e Explicitly set color and background attributes for all <span> tags 2024-01-16 21:59:04 +03:00
eleksir
95356ed547 Set block right separator size correctly, according config 2024-01-16 21:19:17 +03:00
eleksir
418216391b Set border width to 0 on all blocks except buttons 2024-01-16 20:51:55 +03:00
eleksir
69f0b215bc Set separator_block_width to 0 explicitly if value not set 2024-01-16 20:18:56 +03:00
eleksir
185b2698df Add font, font size, color, background color selection to all blocks 2024-01-13 04:49:59 +03:00
eleksir
8d278a9c4a Fix pulseaudio volume update event output for i3bar, fix error message on pulseaudio connection 2024-01-13 01:10:25 +03:00
eleksir
8c8dfcef46 Introduce separate setting for pulseaudio symbol font size 2024-01-12 01:01:08 +03:00
eleksir
104275ee6f Implement custom separators 2024-01-12 00:43:49 +03:00
eleksir
f2f6f64d11 Fix separator behaviour, add comment to sample config, remove caps_lock-related fields as this is not implemented 2024-01-11 00:25:36 +03:00
eleksir
aa55cb6a1b Fix typo in comment 2024-01-10 23:59:35 +03:00
eleksir
202f277eee Allow to set background color for each app button, fix couple comments in sample config 2024-01-10 23:49:15 +03:00
eleksir
b0b297bc56 Omit type casting, hopefully it can fix bug with swap calculation, also do not explicitly disable cgo, it can be usefull in some cases 2024-01-10 22:27:28 +03:00
eleksir
c969ac9e42 Allow to hide swap stats for mem plugin, fix swap calculation 2024-01-10 19:24:45 +03:00
eleksir
bc9b8f9106 Add pango markup from symbol config field in simple-volume-pa module 2024-01-06 19:13:10 +03:00
eleksir
d85dc5d5bb Initial commit 2024-01-06 18:33:44 +03:00