diff --git a/README.md b/README.md index f77fcf3..335c3af 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,10 @@ This was designed to save me some sanity in maintaining it as well as easily int ## Notes +### eww notes + +The weather widget is pretty barebones as of now. Report bugs if found. + ### Configuration notes The bare essentials of my dotfiles are located in the `config` directory. This includes `spmenu`, `picom` and `ncmpcppp`. @@ -84,6 +88,7 @@ Linux/Unix users: - slop (for riodraw) - libmpdclient(-devel or -dev) for mpdclient - yajl for ipc +- eww (optional) Termux users: - xorg @@ -127,7 +132,9 @@ Refer to patches.def.h and config.mk for additional patch-related requirements. - Additionally, a script called `startdwm` located in `desktop` could be installed in `/usr/local/bin` which could be used to launch dwm on display managers, such as GDM or SDDM. - `startdwm` could be also used as the xinitrc script by putting it under $HOME and renaming it to `.xinitrc`. 8. Install the `dwmblocks` scripts (in `scripts/dwmblocks`) to your `$PATH`. -9. Start it and done! +9. Install eww, and put the config inside `config/eww` to `$HOME/.config`. Put the scripts inside `scripts/eww` inside `$PATH`. + - (Recommended) Make a hard link of `.cache/wal/colors.scss` to `.config/eww/colors.scss`. +10. Start it and done! ## Future plans @@ -161,7 +168,8 @@ All programs are licensed under the MIT License, except for some submodules, whi ## Screenshots ![Screenshot of neofetch](/pics/neofetch.png) ![Screenshot of the desktop](/pics/desktop.png) -![Screenshot of st (in a scratchpad), Discord and Firefox](/pics/random.png) +![Screenshot of random screenshots](/pics/random.png) +![Screenshot of SM64 port](/pics/gaming.png) ## Special thanks * [Speedie](https://speedie.site) for helping me out with this and providing me with patches diff --git a/config/eww/colors.scss b/config/eww/colors.scss new file mode 100644 index 0000000..b9c2652 --- /dev/null +++ b/config/eww/colors.scss @@ -0,0 +1,26 @@ +// SCSS Variables +// Generated by 'wal' +$wallpaper: "/home/lucss21a/Pictures/Wallpapers/Jaguar Aqua Blue.jpg"; + +// Special +$background: #112245; +$foreground: #a9c3d9; +$cursor: #a9c3d9; + +// Colors +$color0: #112245; +$color1: #386CA8; +$color2: #4479B2; +$color3: #3E81B6; +$color4: #5089BB; +$color5: #648BBD; +$color6: #5C96C2; +$color7: #a9c3d9; +$color8: #768897; +$color9: #386CA8; +$color10: #4479B2; +$color11: #3E81B6; +$color12: #5089BB; +$color13: #648BBD; +$color14: #5C96C2; +$color15: #a9c3d9; diff --git a/config/eww/eww.yuck b/config/eww/eww.yuck index c50982f..da9b77e 100644 --- a/config/eww/eww.yuck +++ b/config/eww/eww.yuck @@ -12,17 +12,17 @@ (defpoll gpu :interval "1s" "printf '󰍹 : ' && glxinfo -B | grep 'OpenGL renderer string' | sed 's/OpenGL renderer string: //g' | head -c 25") (defpoll wm :interval "1s" "printf ' : ' && wmctrl -m | grep 'Name: ' | sed 's/Name: //g'") -; (defpoll weather-icon :interval "1s" "curl -s wttr.in/Gapan?format='%c'") -; (defpoll weather-location :interval "1s" "curl -s wttr.in/Gapan?format='%l'") -; (defpoll weather-temp :interval "1s" "curl -s wttr.in/Gapan?format='%t'") -(defvar weather-temp "+34°C") -(defvar weather-location "Gapan, NE") -(defvar weather-icon "☁") +(defpoll weather-icon :interval "1s" "curl -s wttr.in/?format='%c'") +(defpoll weather-location :interval "1s" "curl -s wttr.in/?format='%l'") +(defpoll weather-temp :interval "1s" "curl -s wttr.in/?format='%t'") +; (defvar weather-temp "+34°C") +; (defvar weather-location "Test") +; (defvar weather-icon "☁") (defvar notification "Notifications") (defpoll notification-history :interval "1s" "printf 'In history: ' && dunstctl count history") (defpoll notification-display :interval "1s" "printf 'Currently Displayed: ' && dunstctl count displayed") -(defpoll notification-summary :interval "1s" "printf 'Last notification:\\n' && dunstctl history | jq '.data[] | .[] | .summary | .data' | head -n 1 | sed 's/\"//g' ") +(defpoll notification-summary :interval "1s" "printf 'Last notification:\\n' && dunstctl history | jq '.data[] | .[] | .summary | .data' | head -n 1 | sed 's/\"//g' | fold -w 25") (defpoll quoter-text :interval "10s" "quoter | fold -w 30") diff --git a/pics/desktop.png b/pics/desktop.png index bb33ba2..2583e4c 100644 Binary files a/pics/desktop.png and b/pics/desktop.png differ diff --git a/pics/gaming.png b/pics/gaming.png new file mode 100644 index 0000000..8611839 Binary files /dev/null and b/pics/gaming.png differ diff --git a/pics/neofetch.png b/pics/neofetch.png index aa5508c..1b22fbe 100644 Binary files a/pics/neofetch.png and b/pics/neofetch.png differ diff --git a/random.png b/random.png new file mode 100644 index 0000000..afd505a Binary files /dev/null and b/random.png differ