feat: cleanup bar

This commit is contained in:
ineanto 2023-07-16 10:58:24 +02:00
parent 30708ecc1f
commit f72ba5ca9d
3 changed files with 17 additions and 48 deletions

View file

@ -212,13 +212,17 @@ assign [class="(?i)firefox"] $ws3
# autostart applications/services on login: # # autostart applications/services on login: #
############################################# #############################################
# Display setup
exec xrandr --auto
exec autorandr -c
exec --no-startup-id gnome-keyring-daemon exec --no-startup-id gnome-keyring-daemon
# num lock activated # num lock activated
exec --no-startup-id numlockx on exec --no-startup-id numlockx on
# start conky: # start conky:
exec_always --no-startup-id conky # exec_always --no-startup-id conky
# start blueberry app for managing bluetooth devices from tray: # start blueberry app for managing bluetooth devices from tray:
#exec --no-startup-id blueberry-tray #exec --no-startup-id blueberry-tray
@ -230,7 +234,7 @@ exec --no-startup-id picom -b
exec --no-startup-id nm-applet exec --no-startup-id nm-applet
# set wallpaper # set wallpaper
exec --no-startup-id nitrogen --restore exec --no-startup-id feh --bg-fill /home/aro/Pictures/Background/Waves.png
# set powersavings for display: # set powersavings for display:
exec --no-startup-id xset s 480 dpms 600 600 600 exec --no-startup-id xset s 480 dpms 600 600 600
@ -281,6 +285,7 @@ set $surface0 #313244
set $base #1e1e2e set $base #1e1e2e
set $mantle #181825 set $mantle #181825
set $crust #11111b set $crust #11111b
set $white #ffffff
# define colors for windows: # define colors for windows:
# target title bg text indicator border # target title bg text indicator border

View file

@ -1,12 +1,6 @@
# i3blocks config file changed for EndeavourOS-i3 setup # i3blocks config file changed for EndeavourOS-i3 setup
# cheatsheet for icon fonts used on the block-bar:
# https://fontawesome.com/v4.7/cheatsheet/
# --> to update this run the following command:
# wget --backups=1 https://raw.githubusercontent.com/endeavouros-team/endeavouros-i3wm-setup/main/.config/i3/i3blocks.conf -P ~/.config/i3/
# List of valid properties: # List of valid properties:
#
# align # align
# color # color
# command # command
@ -28,44 +22,14 @@
separator=false separator=false
markup=pango markup=pango
# Spotify icon \uF1BC
[spotify]
label=
command=.local/bin/i3blocks-mpris -p spotify
color=#fffff
[simple]
full_text=<big><b>/</b></big>
color=#bdae93
# Memory usage
#
# The type defaults to "mem" if the instance is not specified.
[memory]
label=
command=~/.config/i3/scripts/memory
interval=15
[cpu_usage]
label=
command=~/.config/i3/scripts/cpu_usage
interval=15
# Retiré lorsque sur batterie.
#[bandwidth]
#command=~/.config/i3/scripts/bandwidth
#interval=persist
[simple-2]
full_text=<big><b>/</b></big>
color=#bdae93
# Battery indicator
[battery] [battery]
command=~/.config/i3/scripts/battery2 command=~/.config/i3/scripts/battery2
interval=60 interval=60
[simple]
fulltext=" "
interval=persist
[pavucontrol] [pavucontrol]
full_text= full_text=
command=pavucontrol command=pavucontrol
@ -75,15 +39,15 @@ command=~/.config/i3/scripts/volume
instance=Master instance=Master
interval=1 interval=1
[simple-2] [simple2]
full_text=<big><b>/</b></big> full_text=<big><b>/</b></big>
color=#bdae93 color=#bdae93
[time] [time]
#label= full_text=" "
command=date '+%a %d %b %H:%M' command=date '+%a %d %b %H:%M'
interval=60 interval=60
[shutdown_menu] [shutdown_menu]
full_text= full_text=""
command=~/.config/i3/scripts/powermenu command=~/.config/i3/scripts/powermenu

View file

@ -82,5 +82,5 @@ else:
display = display.format(color, battery, percentleft) display = display.format(color, battery, percentleft)
print(display) print(display)
if percentleft < 15 if percentleft < 15:
exit(33) exit(33)