gh0stzk / dotfiles

BSPWM environment with 18 themes. With a theme selector to change on the fly.
GNU General Public License v3.0
3.03k stars 228 forks source link

Trying to add a new widget to replace the calendar, without success #214

Closed AzhamProdLive closed 8 months ago

AzhamProdLive commented 8 months ago

Hello there, as the title states, I am trying to add a new widget I found, but everytime I do the changes, I just can't pull it up, and it always pulls up the calendar widget from this repo, what should I do to change it ? (I tried modifying OpenApps, changing the line in Modules.ini, and trying to start it from the command line)

If you need to see, I have the new widget on my repo with the files that i've took from this repo

gh0stzk commented 8 months ago

Its imposible to know what you are doing, and where but, where you create this new widget?? in .config/eww/ or in .config/bspwm/eww ? remember my conf, launch the eww daemon in .config/bspwm/eww.

AzhamProdLive commented 8 months ago

Its imposible to know what you are doing, and where but, where you create this new widget??

I added the files in .config/bspwm/eww , in a folder named date

launch the eww daemon in .config/bspwm/eww.

I did that, but it starts the calendar included in this rice instead of the new one I added

AzhamProdLive commented 8 months ago

The command I've used to launch the daemon image

My eww.scss & eww.yuck image image

File tree : image

gh0stzk commented 8 months ago

check if the window name is not the same.... my windows widget name is :

;; Windows ;;
(defwindow date
  :geometry (geometry :x "40%"
                      :y "8%"
                      :anchor "center top")
  :wm-ignore true
(cal))

is "date"

AzhamProdLive commented 8 months ago

Okay, I figured why it wasn't working now

It was because of the name of the window widget, and also because eww doesn't sync changes without restarting the daemon lmao

Now it's fixed and I can progress thru it lmaoo, thanks