Update bar with font awesome

This commit is contained in:
stephan.raabe 2023-02-13 16:28:53 +01:00
parent 8eed0a5315
commit 5bff596e3b
3 changed files with 15 additions and 10 deletions

View File

@ -24,6 +24,8 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE. # SOFTWARE.
# Icons: https://fontawesome.com/search?o=r&m=free
import os import os
import re import re
import socket import socket
@ -129,7 +131,7 @@ ColorI=(colordict['colors']['color9'])
layout_theme = { "border_width": 2, layout_theme = { "border_width": 2,
"margin": 15, "margin": 15,
"border_focus": ColorC, "border_focus": ColorC,
"border_normal": ColorZ "border_normal": ColorG
} }
layouts = [ layouts = [
@ -161,17 +163,19 @@ screens = [
top=bar.Bar( top=bar.Bar(
[ [
widget.GroupBox( widget.GroupBox(
highlight_method='line', highlight_method='block',
highlight=ColorC, highlight='ffffff',
block_border=ColorC, block_border='ffffff',
highlight_color=[ColorC,ColorE], highlight_color=['ffffff','ffffff'],
block_highlight_text_color='ffffff', block_highlight_text_color='000000',
foreground='ffffff', foreground='ffffff',
rounded=False,
this_current_screen_border='ffffff',
fontsize=14, fontsize=14,
active=ColorC active='ffffff'
), ),
widget.TextBox( widget.TextBox(
text='|', text='',
fontsize=14 fontsize=14
), ),
widget.WindowName( widget.WindowName(
@ -185,7 +189,7 @@ screens = [
# fontsize=14 # fontsize=14
# ), # ),
widget.TextBox( widget.TextBox(
text='Notes ', text='',
desc='Notes', desc='Notes',
mouse_callbacks={"Button1": lambda: qtile.cmd_spawn(terminal + ' -e vim /home/raabe/notes.txt')}, mouse_callbacks={"Button1": lambda: qtile.cmd_spawn(terminal + ' -e vim /home/raabe/notes.txt')},
fontsize=14 fontsize=14
@ -230,10 +234,11 @@ screens = [
fontsize=14 fontsize=14
), ),
widget.TextBox( widget.TextBox(
text='', text='|',
fontsize=14 fontsize=14
), ),
widget.QuickExit( widget.QuickExit(
default_text="",
countdown_start=3, countdown_start=3,
fontsize=14 fontsize=14
), ),

0
starship/starship.toml Normal file
View File