<commit_before># -*- coding: utf-8 -*-
"""
Display the currently logged in user.

Configuration parameters:
    cache_timeout: how often we refresh this module in seconds
        (default 1800)

Inspired by i3 FAQ:
        https://faq.i3wm.org/question/1618/add-user-name-to-status-bar/
"""

from getpass import getuser


class Py3status:
    """
    """
    # available configuration parameters
    cache_timeout = 1800

    def whoami(self):
        """
        We use the getpass module to get the current user.
        """
        # here you can change the format of the output<commit_msg>whoami: Fix '404 Page Not Found' url<commit_after># -*- coding: utf-8 -*-
"""
Display the currently logged in user.

Configuration parameters:
    cache_timeout: how often we refresh this module in seconds
        (default 1800)

Inspired by i3 FAQ:
        https://faq.i3wm.org/question/1618/add-user-name-to-status-bar.1.html
"""

from getpass import getuser


class Py3status:
    """
    """
    # available configuration parameters
    cache_timeout = 1800

    def whoami(self):
        """
        We use the getpass module to get the current user.
        """
        # here you can change the format of the output
{'fraction_non_alphanumeric': 0.09876543209876543, 'fraction_numerical': 0.02962962962962963, 'mean_word_length': 2.5555555555555554, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2983754', 'n_tokens_mistral': 376, 'n_tokens_neox': 347, 'n_words': 123}