diff --git a/dot_config/i3/config b/dot_config/i3/config
index 7088714..5ab0d45 100644
--- a/dot_config/i3/config
+++ b/dot_config/i3/config
@@ -212,13 +212,17 @@ assign [class="(?i)firefox"] $ws3
# autostart applications/services on login: #
#############################################
+# Display setup
+exec xrandr --auto
+exec autorandr -c
+
exec --no-startup-id gnome-keyring-daemon
# num lock activated
exec --no-startup-id numlockx on
# start conky:
-exec_always --no-startup-id conky
+# exec_always --no-startup-id conky
# start blueberry app for managing bluetooth devices from tray:
#exec --no-startup-id blueberry-tray
@@ -230,7 +234,7 @@ exec --no-startup-id picom -b
exec --no-startup-id nm-applet
# 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:
exec --no-startup-id xset s 480 dpms 600 600 600
@@ -281,6 +285,7 @@ set $surface0 #313244
set $base #1e1e2e
set $mantle #181825
set $crust #11111b
+set $white #ffffff
# define colors for windows:
# target title bg text indicator border
diff --git a/dot_config/i3/i3blocks.conf b/dot_config/i3/i3blocks.conf
index c65838a..8dff9d9 100644
--- a/dot_config/i3/i3blocks.conf
+++ b/dot_config/i3/i3blocks.conf
@@ -1,12 +1,6 @@
# 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:
-#
# align
# color
# command
@@ -28,44 +22,14 @@
separator=false
markup=pango
-
-# Spotify icon \uF1BC
-[spotify]
-label=
-command=.local/bin/i3blocks-mpris -p spotify
-color=#fffff
-
-[simple]
-full_text=/
-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=/
-color=#bdae93
-
-# Battery indicator
[battery]
command=~/.config/i3/scripts/battery2
interval=60
+[simple]
+fulltext=" "
+interval=persist
+
[pavucontrol]
full_text=
command=pavucontrol
@@ -75,15 +39,15 @@ command=~/.config/i3/scripts/volume
instance=Master
interval=1
-[simple-2]
+[simple2]
full_text=/
color=#bdae93
[time]
-#label=
+full_text=" "
command=date '+%a %d %b %H:%M'
interval=60
[shutdown_menu]
-full_text=
+full_text=" "
command=~/.config/i3/scripts/powermenu
diff --git a/dot_config/i3/scripts/executable_battery2 b/dot_config/i3/scripts/executable_battery2
index 5fe0d3b..9fd3a5d 100644
--- a/dot_config/i3/scripts/executable_battery2
+++ b/dot_config/i3/scripts/executable_battery2
@@ -64,7 +64,7 @@ else:
'high': '#d4e157'
}
- display = "{} {}%"
+ display = "{}{}%"
battery = ""
color = color(percentleft)
@@ -73,7 +73,7 @@ else:
elif state == "Full":
battery = B_FULL + " "
elif state == "Charging":
- battery = B_CHARGING + " "
+ battery = B_CHARGING + " "
elif state == "Unknown":
battery = B_UNKNOWN + " " + B_FULL + " "
else:
@@ -82,5 +82,5 @@ else:
display = display.format(color, battery, percentleft)
print(display)
-if percentleft < 15
+if percentleft < 15:
exit(33)