def widget_stack(): gmail_config = { 'update_interval': 50, 'fmt': 'in[%s] unread(%s)', **get_gmail_config() } return [ widget.CurrentScreen(), widget.GroupBox(), widget.Prompt(), widget.TaskList(), widget.GmailChecker(**gmail_config), widget.Sep(), widget.CheckUpdates(), widget.Sep(), widget.Wlan(interface=auto_detect_interface()), widget.Sep(), widget.DF(visible_on_warn=False, format="Disk free {r:.1f}%"), widget.Sep(), widget.CPUGraph(), widget.Memory(), widget.Sep(), widget.Battery(update_interval=1, format="🔋 {char} {percent:2.0%}"), widget.Sep(), widget.Systray(), widget.Notify(), widget.Clock(), widget.CurrentLayoutIcon(), ]
def setup_screens(qtile): global screens screens.append( Screen(bottom=bar.Bar( [ widget.GroupBox(), widget.Prompt(), widget.WindowName(), widget.Clipboard(), widget.Battery(hide_threshold=99), widget.CPUGraph(graph_color='F8FF33', fill_color='FCFFAD.3'), widget.MemoryGraph(graph_color='31F500', fill_color='9DFF85.3'), widget.NetGraph(), widget.DF(warn_space=10, update_interval=300), widget.Volume(), widget.Systray(), widget.Notify(), widget.Clock(format='%Y-%m-%d %a %H:%M'), ], 30, ), ), ) if len(qtile.conn.pseudoscreens) > 1: screens.append( Screen(bottom=bar.Bar( [ widget.GroupBox(), widget.WindowName(), widget.Clock(format='%H:%M'), ], 30, ), ), )
def workspaces(): return [ separator(), widget.GroupBox(**base(fg='light'), font='UbuntuMono Nerd Font', fontsize=19, margin_y=3, margin_x=0, padding_y=8, padding_x=5, borderwidth=1, active=colors['active'], inactive=colors['inactive'], rounded=False, highlight_method='block', urgent_alert_method='block', urgent_border=colors['urgent'], this_current_screen_border=colors['focus'], this_screen_border=colors['grey'], other_current_screen_border=colors['dark'], other_screen_border=colors['dark'], disable_drag=True), separator(), widget.WindowName(**base(fg='focus'), fontsize=14, padding=5), icon(fg='color1', text=' '), # nf-fa-spotify widget.Notify(**base(fg='color2'), audiofile="spotify", padding=5), separator(), ]
def getBar(): return bar.Bar([ widget.GroupBox(margin_x=0, margin_y=3, borderwidth=0, padding_x=10, rounded=False, disable_drag=True, highlight_method="block", this_current_screen_border="a1b56c", this_screen_border="505a36", other_screen_border="888888", inactive="d0d0d0", active=foreground, background=background), widget.Prompt(), widget.WindowName( foreground=foreground, background=background, ), widget.Notify( foreground=foreground, background=background, ), widget.Battery(background="#a1b56c", low_foreground=white, low_percentage=0.15, update_delay=10, charge_char="+", discharge_char="-", format='{char} {percent:2.0%} {hour:d}:{min:02d}'), widget.Net(interface="wlo1", foreground=white, background="#a1b56c", format='{down} ↓↑ {up}'), widget.Wlan( interface="wlo1", background="#a1b56c", format='{essid} {percent:2.0%}', ), widget.Memory(background=yellow, ), widget.CPU(background=yellow, format='C: {load_percent}%'), widget.TextBox( text="V:", background=yellow, ), widget.Volume(background=yellow, ), widget.Clock( format="%a %d %b %H:%M:%S", background=blue, ), widget.YahooWeather( woeid='551801', format='{current_observation_condition_temperature}°C', background=blue, ), widget.Systray(background=blue, ), ], 20)
def init_widgets_list(): widgets_list = [ widget.Sep(linewidth=0, padding=3), widget.CurrentScreen( active_text="◉", active_color=colors[3], inactive_text="◉", inactive_color=colors[1], padding=2, ), widget.CurrentLayoutIcon(scale=0.57, padding=2), widget.GroupBox( margin_x=2, padding_y=2, padding_x=3, borderwidth=1, disable_drag=True, active=colors[5], inactive=colors[2], rounded=True, hide_unused=True, highlight_color=colors[1], highlight_method="border", this_current_screen_border=colors[2], this_screen_border=colors[4], other_current_screen_border=colors[1], other_screen_border=colors[1], ), widget.Sep(linewidth=0, padding=20), widget.WindowTabs(), widget.Sep(linewidth=0, padding=20), widget.Notify(audiofile=qtile_dir + "/.sounds/notify-sound.mp3"), widget.Sep(linewidth=0, padding=20), widget.Spacer(length=bar.STRETCH), widget.CheckUpdates(), widget.Sep(linewidth=0, padding=20), widget.Battery( discharge_char="-", charge_char="+", unknown_char="*", update_interval=30, format="{char}{percent:2.0%}", ), widget.Sep(linewidth=0), widget.Wlan( interface="wlp0s20f3", disconnected_message="W: N/A", format="{essid}", ), widget.Sep(linewidth=0), widget.Volume(), widget.Sep(linewidth=0), widget.Clock(format="%a, %H:%M (%d/%m)", update_interval=60), widget.Sep(linewidth=0), ] return widgets_list
def init_screens(): widgetSets=[] screens=[] for i in range(0, numScreen ): widgetSets.append( [ widget.CurrentScreen(), widget.GroupBox(highlight_method="block",urgent_alert_method='text'), widget.CurrentLayout(), widget.Notify(audiofile= "/usr/share/skype/sounds/ChatOutgoing.wav", foreground_urgent="EE0000", foreground_low="dddddd", default_timeout=60, foreground="FF0000", fontsize=18, font="Ubuntu"), widget.Clock(format='%Y-%m-%d %a %H:%M %p', foreground='00FF7F'), widget.TextBox(text="Dim:"), widget.Backlight(brightness_file='/sys/class/backlight/intel_backlight/brightness', max_brightness_file='/sys/class/backlight/intel_backlight/max_brightness', ), widget.TextBox(text="Bat:"), widget.Battery(), widget.BatteryIcon(), widget.TextBox(text="Vol:"), widget.Volume(), widget.TextBox(text="C"), widget.CPUGraph(samples=100, width=200), widget.TextBox(text="D"), widget.NetGraph(samples=100, width=200, interface=network), widget.TextBox(text="U"), widget.NetGraph(samples=100, width=200, interface=network, bandwidth_type="up"), widget.TextBox(text="M"), widget.MemoryGraph(samples=100, width=200), ]) # truncate the last widget, and add on the systray, if we #widgetSets[ numScreen - 1 ] = widgetSets[ numScreen - 1 ][0:3] widgetSets[ numScreen - 1 ].insert( 0, widget.Systray() ) for i in range(0, numScreen ): screens.append( Screen(top = bar.Bar( widgetSets[ i ] , 30)) ) return(screens)
def WidgetList(): return [ widget.GroupBox(font='Perfect DOS VGA 437 Win', fontsize=16, foreground=colors['white'], active=colors['white'], inactive=colors['black'], highlight_method='block', urgent_alert_method='block', block_highlight_text_color=colors['black'], this_screen_border=colors['white'], this_current_screen_border=colors['white'], rounded=False, padding=5, margin_x=0, margin_y=3, disable_drag=True, use_mouse_wheel=False), widget.CurrentScreen(font='Perfect DOS VGA 437 Win', fontsize=16, padding=7), widget.CurrentLayout(font='Perfect DOS VGA 437 Win', fontsize=16, foreground=colors['white'], padding=7), widget.Spacer(), widget.Notify(font='Perfect DOS VGA 437 Win', fontsize=16, padding=7), widget.Volume(font='Perfect DOS VGA 437 Win', fontsize=16, foreground=colors['white'], padding=7, fmt='Volume{}'), widget.Clock(font='Perfect DOS VGA 437 Win', fontsize=16, foreground=colors['white'], padding=7, format='%Y-%m-%d %a %I:%M %p') ]
widget.Net( format='說{ down}', foreground=color1, background=color3, ), widget.KeyboardLayout( foreground=color1, background=color3, ), widget.Clock( format='%Y-%m-%d %a %I:%M %p', background=color3, ), widget.Notify( foreground=color1, background=color3, audiofile=None, ), widget.Systray( background=color3, icon_size=20, padding=5, ), widget.CheckUpdates( background=color3, ), ], ), wallpaper="/home/user/.config/qtile/wallpaper.png",
padding=6, ), widget.GroupBox( fonsize=10, padding_x=5, padding_y=5, highlight_method="block", inactive=colors["bright"]["black"], rounded=False, this_current_screen_border=colors["normal"]["blue"], foreground=colors["normal"]["red"], background=colors["primary"]["background"]), widget.WindowName(foreground=colors["bright"]["magenta"], ), widget.Clock(format='%A, %b %d %H:%M'), widget.Spacer(), widget.Notify(default_timeout=2, ), widget.Systray(icon_size=24), widget.Pacman(), widget.Volume( # padding = 100, # theme_path="/usr/share/icons/Parpirus-Dark", ), # widget.CapsNumLockIndicator(), widget.CurrentLayout(padding=10, ), ], 35, ), ), ] # Drag floating layouts. mouse = [
widget_defaults = dict(font='HelveticaNeueCondensedBold', fontsize=14, padding=1, background='#073642', foreground='#586e75') screens = [ Screen( bottom=bar.Bar( [ widget.GroupBox(padding=1), widget.Prompt(), #widget.WindowName(), widget.TaskList(padding=1), widget.TextBox(' '), widget.Notify(fontsize=10), widget.TextBox(' '), widget.Systray(), widget.TextBox(' vol'), widget.Volume(), widget.TextBox(' bat'), widget.Battery(), widget.TextBox(' bk'), widget.Backlight(backlight_name="intel_backlight"), widget.Clock(format=' %Y-%m-%d %a %I:%M %p '), widget.TextBox(' cpu'), widget.CPUGraph(), widget.TextBox(' mem'), widget.MemoryGraph(), widget.TextBox(' net'), widget.NetGraph(),
) screens = [ Screen(), Screen(bottom=bar.Bar( [ widget.GroupBox( highlight_method="text", active=colors["foreground"], inactive=colors["unfocused"], this_current_screen_border=colors["focused"], urgent_text=colors["urgent"], ), widget.Prompt(foreground=colors["foreground"]), widget.WindowName(foreground=colors["foreground"]), widget.Systray(), widget.Notify(foreground=colors["foreground"]), widget.Clock(foreground=colors["foreground"], format="%Y-%m-%d %a %I:%M %p"), ], 24, background=colors["background"], foreground=colors["foreground"], ), ), ] follow_mouse_focus = False cursor_warp = True mouse = [ Drag([mod], "Button1", lazy.window.set_position_floating(),
foreground=colors2['background'], background=colors2['background']), widget.WindowName(foreground=colors2['window_name'], background=colors2['background'], padding=0), widget.Chord( chords_colors={ 'launch': ("#ff0000", "#ffffff"), }, name_transform=lambda name: name.upper(), ), widget.Sep(linewidth=0, padding=6, foreground=colors2['background'], background=colors2['background']), widget.Notify(background=colors2['background'], ), # widget.TextBox( # text='', # background=colors2['background'], # foreground=colors[4], # padding=0, # fontsize=37 # ), # get_even_powerline(), get_powerline(True), widget.CurrentLayoutIcon( scale=0.7, foreground=colors2['color1'], background=get_bg_color(), ), get_powerline(),
def init_wid_list_top(): wid_list_top = [ #### Shortcuts #### widget.TextBox( font='Font Awesome 5 Free', fontsize=15, foreground=colors[7], text="", mouse_callbacks={ 'Button1': lambda: qtile.cmd_spawn( 'rofi -theme "~/.config/rofi/launcher.rasi" -show drun') }, fontshadow=colors[3]), widget.TextBox(font='Font Awesome 5 Free', fontsize=15, foreground=colors[7], text="", mouse_callbacks={'Button1': wsearx}, fontshadow=colors[3]), widget.TextBox( font='Font Awesome 5 Free', fontsize=15, foreground=colors[7], text="", mouse_callbacks={'Button1': lambda: qtile.cmd_spawn(term)}, fontshadow=colors[3]), widget.TextBox( font='Font Awesome 5 Free', fontsize=15, foreground=colors[7], text="", mouse_callbacks={'Button1': lambda: qtile.cmd_spawn('nautilus')}, fontshadow=colors[3]), widget.TextBox(font='Font Awesome 5 Free', fontsize=15, foreground=colors[7], text="", mouse_callbacks={ 'Button1': lambda: qtile.cmd_spawn('/opt/bin/genwal') }, fontshadow=colors[3]), widget.TextBox(font='Font Awesome 5 Free', fontsize=15, foreground=colors[7], text="", mouse_callbacks={ 'Button1': lambda: qtile.cmd_spawn('/opt/bin/shortc') }, fontshadow=colors[3]), widget.TextBox(foreground=colors[1], text="◢", fontsize=45, padding=-2), #### Groups #### widget.GroupBox(font='Font Awesome 5 Free', fontsize=15, disable_drag=True, hide_unused=False, fontshadow=colors[0], margin_y=1, padding_x=5, borderwidth=0, active=colors[7], inactive=colors[1], rounded=False, highlight_method="text", this_current_screen_border=colors[0], this_screen_border=colors[3], other_current_screen_border=colors[0], other_screen_border=colors[0], foreground=colors[2], background=colors[1]), #### Notification #### widget.Prompt(prompt=prompt, foreground=colors[0], background=colors[1]), widget.TextBox(background=colors[0], foreground=colors[1], text="◤", fontsize=45, padding=-2), #### Window Name #### widget.TextBox(font='Font Awesome 5 Free', fontsize=15, foreground=colors[7], fontshadow=colors[4], text=""), widget.WindowName(foreground=colors[7], background=colors[0], padding=5, format='{name}', empty_group_string='QARSlp', max_chars=45), widget.Notify(default_timeout=15, foreground_urgent=colors[7], foreground=colors[7], background=colors[0]), #### Spacer #### widget.Spacer(length=bar.STRETCH, background=colors[0], foreground=colors[0]), #### Spotify #### widget.TextBox(text="◢", background=colors[0], foreground=colors[6], padding=-2, fontsize=45), widget.TextBox(font='Font Awesome 5 Free', fontsize=15, text="", padding=5, foreground=colors[0], background=colors[6], fontshadow=colors[7], mouse_callbacks={'Button1': ncsp}), widget.Mpris2(name='ncspot', objname='org.mpris.MediaPlayer2.ncspot', scroll_chars=25, background=colors[6], foreground=colors[0], stop_pause_text='', display_metadata=['xesam:artist', 'xesam:title'], scroll_interval=0.5, scroll_wait_intervals=1000), #### Layouts #### widget.TextBox(text="◢", background=colors[6], foreground=colors[2], padding=-2, fontsize=45), widget.TextBox(font='Font Awesome 5 Free', fontsize=15, background=colors[2], foreground=colors[0], fontshadow=colors[7], text=""), widget.CurrentLayout(background=colors[2], foreground=colors[0]), #### Pomodoro #### widget.TextBox(text='◢', background=colors[2], foreground=colors[5], padding=-2, fontsize=45), widget.TextBox(font='Font Awesome 5 Free', fontsize=15, background=colors[5], foreground=colors[0], text="", fontshadow=colors[7]), widget.Pomodoro(background=colors[5], foreground=colors[0], color_active=colors[0], color_break=colors[2], color_inactive=colors[0], length_pomodori=50, length_short_break=5, length_long_break=15, num_pomodori=3, prefix_break='Break', prefix_inactive='start', prefix_long_break='Long Break', prefix_paused=''), #### Updates #### widget.TextBox(text='◢', background=colors[5], foreground=colors[3], padding=-2, fontsize=45), widget.TextBox( font='Font Awesome 5 Free', fontsize=15, background=colors[3], foreground=colors[0], fontshadow=colors[7], text=" ", ), widget.CheckUpdates( update_interval=1800, distro='Arch_checkupdates', foreground=colors[0], mouse_callbacks={ 'Button1': lambda: qtile.cmd_spawn(term + ' -e sudo pacman -Syu') }, display_format="{updates} updates", background=colors[3], colour_have_updates=colors[0], colour_no_updates=colors[0]), #### Khal Calendar #### #widget.KhalCalendar(lookahead=15, remindertime=60, foreground=colors[0], background=colors[7]), #### Sound Control #### widget.TextBox(text='◢', background=colors[3], foreground=colors[7], padding=-2, fontsize=45), widget.TextBox(font='Font Awesome 5 Free', text=" ", foreground=colors[0], background=colors[7], padding=0, fontsize=15, mouse_callbacks={ 'Button1': lambda: qtile.cmd_spawn('pavucontrol') }, fontshadow=colors[3]), widget.Volume(channel='Master', background=colors[7], foreground=colors[0], fontshadow=colors[7]), #### Date Clock Session Control #### widget.TextBox(text='◢', background=colors[7], foreground=colors[0], padding=-2, fontsize=45), widget.TextBox(font='Font Awesome 5 Free', padding=1, text="", fontsize=15, foreground=colors[7], background=colors[0], fontshadow=colors[3]), widget.Clock(foreground=colors[7], background=colors[0], format="%b %a %d -> %H:%M", update_interval=1), #### Lock, Logout, Poweroff #### widget.TextBox(font='Font Awesome 5 Free', fontsize=15, foreground=colors[7], text="", mouse_callbacks={'Button1': wsess}, fontshadow=colors[3]), ] return wid_list_top
other_current_screen_border=colors[0], other_screen_border=colors[0], foreground=colors[2], background=colors[0]), # A prompt for spawning processes or switching groups. This will be # invisible most of the time. widget.Prompt(prompt=prompt, font="Ubuntu Mono", padding=10, foreground=colors[3], background=colors[1]), # Current window name. widget.WindowName(foreground=colors[6], background=colors[0]), widget.Notify(), widget.Systray(), widget.Volume(), widget.Battery( energy_now_file='charge_now', energy_full_file='charge_full', power_now_file='current_now', update_delay=5, ), widget.Systray(), widget.CurrentLayoutIcon(custum_icon_paths=[ os.path.expanduser(os.path.expanduser("~/.config/qtile/icons")) ], padding=0, scale=0.7), widget.CurrentLayout(padding=5),
# widget.Systray(background = '#7a3344', icon_size = 25, padding = 5), screens = [ Screen( top=bar.Bar( [ #widget.CurrentLayout(), widget.GroupBox(this_current_screen_border='#e6837b', fontsize=20, hide_unused=True, rounded=False), widget.Spacer(), widget.Clock( fontsize=21, format='%m-%d %a %I:%M %p', padding=3), widget.Spacer(), widget.Notify(fontsize=22, default_timeout=2), widget.Battery(fontsize=20, format='{char} {percent:2.0%} ', charge_char='🔌', discharge_char='🔋', empty_char='🈚', full_char='🈵', padding=3), widget.Wlan(fontsize=20, interface='wlan0', format='{essid}', padding=3), widget.Systray(icon_size=25, padding=5), ], 35, background=['#7a3344'],
widget.MemoryGraph(line_width=1), widget.NetGraph( graph_color='8CFF8C', fill_color='#8CFFC6.3', line_width=1), widget.HDDBusyGraph( graph_color='FF00FF', fill_color='#FF00FF.3', line_width=1), widget.BatteryIcon(), widget.Battery(format='{percent:2.0%}'), LockHint(), widget.Systray(), widget.Clock(format='%b %d %a %I:%M:%S %p') ], 30, background=['#333333', '#000000']), bottom=bar.Bar([ widget.WindowTabs(), widget.Notify(default_timeout=10, background="#8B0000"), widget.CurrentLayout() ], 30, background=['#000000', '#333333'])), Screen(top=bar.Bar([ widget.GroupBox(), widget.Prompt(), widget.WindowName(), CPU(), widget.CPUGraph( graph_color='FF3300', fill_color='#FF5500.3', line_width=1), Memory(), widget.MemoryGraph(line_width=1), widget.NetGraph( graph_color='8CFF8C', fill_color='#8CFFC6.3', line_width=1),
screens = [ Screen(top=bar.Bar( [ # widget.CurrentLayout(), widget.GroupBox(), widget.Prompt(), widget.WindowName(), widget.Chord( chords_colors={ 'launch': ("#ff0000", "#ffffff"), }, name_transform=lambda name: name.upper(), ), widget.Cmus(fmt="{}", font="iosevka", max_chars=25), widget.Systray(), widget.Notify(action=True, font="isoveka"), widget.Volume(fmt='vol: {}', background=backgroundOdd), widget.Clock(format='%d-%b-%Y %H:%M', background=backgroundEven), widget.Memory(background=backgroundOdd) ], 24, background="#2E2E2E", )), Screen( top=bar.Bar( [ # widget.CurrentLayout(), widget.GroupBox(), widget.Prompt(), widget.WindowName(), widget.Chord(
def notify(): return widget.Notify( foreground=theme.selection_accent, foreground_urgent=theme.alert, foreground_low=theme.foreground, )
[ widget.GroupBox( padding=3, spacing=3, font="Razer Blackwidow", fontsize=22, active="e1e1e1", highlight_method="text", this_current_screen_border="55ff55", center_aligned=True, ), widget.Sep(foreground="005500"), widget.CurrentLayout(), widget.Sep(foreground="005500"), widget.Prompt(), widget.Notify(default_timeout=5, font="Hack", fontsize=16), widget.Spacer(), widget.Memory( fmt="{MemUsed}/{MemTotal}M", update_interval=10, ), widget.Sep(foreground="005500"), widget.Battery( discharge_char=" ", charge_char=" ", format="{char}{percent:2.0%}", ), widget.Sep(foreground="005500"), widget.Clock(format='%a %b %d', ), widget.Clock( format="%I:%M %p",
def init_widgets_list(): widgets_list = [ widget.Sep( linewidth=0, padding=6, foreground=colors[2], background=colors[0] ), widget.GroupBox( fontsize=12, margin_y=4, margin_x=0, padding_y=4, padding_x=4, borderwidth=3, active=colors[2], inactive=colors[2], rounded=False, highlight_method="block", this_current_screen_border=colors[4], this_screen_border=colors[1], other_current_screen_border=colors[0], other_screen_border=colors[0], foreground=colors[2], background=colors[0] ), widget.Prompt( prompt=prompt, padding=10, foreground=colors[3], background=colors[1] ), widget.Sep( linewidth=0, padding=10, foreground=colors[2], background=colors[0] ), widget.WindowName( foreground=colors[4], background=colors[0], padding=5 ), widget.Notify( padding=5, default_timeout=5, background=colors[5], foreground=colors[2] ), widget.TextBox( text='\ue0b2', font='Hack Nerd Font', background=colors[0], foreground=colors[5], padding=0, fontsize=18 ), widget.TextBox( text=" 🖬", foreground=colors[2], background=colors[5], padding=0, fontsize=14 ), widget.Memory( foreground=colors[2], background=colors[5], padding=5 ), widget.TextBox( text='\ue0b2', font='Hack Nerd Font', background=colors[5], foreground=colors[4], padding=0, fontsize=18 ), widget.CPUGraph( background=colors[4], samples=90, ), widget.TextBox( text='\ue0b2', font='Hack Nerd Font', background=colors[4], foreground=colors[5], padding=0, fontsize=18 ), widget.TextBox( text=" ↯", foreground=colors[2], background=colors[5], padding=0, fontsize=14 ), widget.Net( foreground=colors[2], background=colors[5], padding=5 ), widget.TextBox( text='\ue0b2', font='Hack Nerd Font', background=colors[5], foreground=colors[4], padding=0, fontsize=18 ), widget.GenPollText( func=getBatteryCapacity, background=colors[4], ), widget.TextBox( text='\ue0b2', font='Hack Nerd Font', background=colors[4], foreground=colors[5], padding=0, fontsize=18 ), widget.TextBox( text=" 🔊", foreground=colors[2], background=colors[5], padding=0, fontsize=14 ), widget.PulseVolume( foreground=colors[2], background=colors[5], padding=5, limit_max_volume=True, volume_app="pavucontrol-qt" ), widget.TextBox( text='\ue0b2', font='Hack Nerd Font', background=colors[5], foreground=colors[4], padding=0, fontsize=18 ), widget.Backlight( backlight_name=backlightName, change_command='light -S {0}', fmt=' {}', foreground=colors[2], background=colors[4], padding=5, ), widget.TextBox( text='\ue0b2', font='Hack Nerd Font', background=colors[4], foreground=colors[5], padding=0, fontsize=18 ), widget.CurrentLayoutIcon( custom_icon_paths=[os.path.expanduser("~/.config/qtile/icons")], foreground=colors[2], background=colors[5], padding=0, scale=0.7 ), widget.CurrentLayout( foreground=colors[2], background=colors[5], padding=5 ), widget.TextBox( text='\ue0b2', font='Hack Nerd Font', background=colors[5], foreground=colors[4], padding=0, fontsize=18 ), widget.TextBox( text=" 🕒", foreground=colors[2], background=colors[4], padding=5, fontsize=14 ), widget.Clock( foreground=colors[2], background=colors[4], format="%a, %b %d - %H:%M" ), widget.TextBox( text='\ue0b2', font='Hack Nerd Font', background=colors[4], foreground=colors[5], padding=0, fontsize=18 ), widget.KeyboardLayout( configured_keyboards=['us', 'de'], foreground=colors[2], background=colors[5], padding=5 ), widget.Sep( linewidth=0, padding=5, foreground=colors[0], background=colors[5] ), widget.Systray( background=colors[0], padding=5 ), widget.Sep( linewidth=0, padding=7, foreground=colors[0], background=colors[0] ), ] return widgets_list
highlight_method = "line", this_current_screen_border = color['green'], this_screen_border = color['purple'], other_current_screen_border = color['light_grey'], other_screen_border = color['grey'], foreground = color['white'], ), widget.WindowName( foreground = color['green'], background = color['black'], padding = 10 ), widget.Notify( margin = 6, default_timeout = 3, font = "Source Code Pro", markup = True, foreground = '#fa2772', foreground_urgent = '#dddddd' ), widget.Prompt( prompt=prompt, font="Source Code Pro", padding=10, cursor = True, cursor_color = '#bef098', bell_style = 'None' ), widget.TextBox( foreground= color['light_blue'], text=" 🖬",
icon_size=0, background=colors["greybg"], foreground=base16_chalk["white"], highlight_method="text", border=base16_chalk["blue"], urgent_border=base16_chalk["red"], ), # Notify # We want low priority color to be also red because some # applications (not looking at you Spotify) are using that color for # highlights. widget.Spacer(length=100), widget.Notify(default_timeout=15, foreground=base16_chalk["white"], foreground_low=base16_chalk["red"], foreground_urgent=base16_chalk["red"], **style), widget.Spacer(length=100), # Emails widget.TextBox(text=icons["email"], foreground=base16_chalk["green"], **style), Mu("/home/jkadlcik/Mail", "/seznam/I/BOX", "*****@*****.**", foreground=base16_chalk["green"], **style), widget.TextBox(text=icons["gmail"], foreground=base16_chalk["green"],