diff options
-rw-r--r-- | .config/conky/conkyrss | 51 | ||||
-rwxr-xr-x | .config/openbox/autostart | 8 | ||||
-rwxr-xr-x | .local/bin/conky/rss.sh | 23 |
3 files changed, 2 insertions, 80 deletions
diff --git a/.config/conky/conkyrss b/.config/conky/conkyrss deleted file mode 100644 index b0e6e93..0000000 --- a/.config/conky/conkyrss +++ /dev/null @@ -1,51 +0,0 @@ -conky.config = { - alignment = 'left', - background = false, - own_window = true, - own_window_class = 'Desktop', - own_window_transparent = true, - own_window_type = 'desktop', - own_window_argb_visual = true, - own_window_argb_value = 255, - double_buffer = true, - use_spacer = 'none', - use_xft = true, - xftalpha = 1, - font = 'NotoSansMono Nerd Font:size=10', - font1 = 'NotoSansMono Nerd Font:bold:size=10', - font2 = 'Hack Nerd Font Mono:bold:size=10', - font3 = 'Hack Nerd Font Mono:bold:size=9', - template0 = '\\n', - if_up_strictness = address, - format_human_readable = true, - update_interval = 1.5, - uppercase = false, - override_utf8_locale = true, - stippled_borders = 0, - border_width = 2, - draw_borders = false, - draw_graph_borders = true, - draw_outline = false, - draw_shades = false, - show_graph_scale = false, - show_graph_range = false, - alignment = 'top_left', - minimum_height = 200, - minimum_width = 480, - maximum_width = 480, - gap_x = 330, - gap_y = 40, - net_avg_samples = 2, - cpu_avg_samples = 4, - short_units = true, - pad_percents = 2, - text_buffer_size = 8192, - out_to_console = false, - out_to_stderr = false, - extra_newline = false, - default_color = 'red', -} - -conky.text = [[ -${execpi 300 ~/.local/bin/conky/rss.sh} -]] diff --git a/.config/openbox/autostart b/.config/openbox/autostart index f80bc51..8a795d2 100755 --- a/.config/openbox/autostart +++ b/.config/openbox/autostart @@ -44,11 +44,6 @@ startif() { pgrep "$(basename "$1")" >/dev/null || "$@" >/dev/null 2>&1 & } -conkies() { - conky -d -c "$HOME"/.config/conky/conkyrc - $sleep - conky -d -c "$HOME"/.config/conky/conkyrss -} export LANG='en_US.UTF-8' startif dunst @@ -69,7 +64,8 @@ startif tint2 $sleep startif plank $sleep -conkies & +startif conky -d -c "$HOME"/.config/conky/conkyrc +$sleep cd "$HOME" xrdb "$HOME"/.config/x11/xresources notify-send -u normal 'Welcome' "$icon Welcome back, partner!" diff --git a/.local/bin/conky/rss.sh b/.local/bin/conky/rss.sh deleted file mode 100755 index 3d2e7bd..0000000 --- a/.local/bin/conky/rss.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh - -os=$(cat /tmp/os) - -case $os in - 1) ping -c1 -w1 1.1.1.1 >/dev/null 2>&1 || exit ;; - 2) ping -c1 -w1 1.1.1.1 >/dev/null 2>&1 || exit ;; - 3) ping -c1 -t1 1.1.1.1 >/dev/null 2>&1 || exit ;; -esac - -echo '${color #ebdbb2}${font1}BBC NEWS WORLD ${hr}${font2}${color #928374} -${rss https://feeds.bbci.co.uk/news/rss.xml 900 item_titles 10} - -${color #ebdbb2}${font1}BBC NEWS EUROPE ${hr}${font2}${color #928374} -${rss http://feeds.bbci.co.uk/news/world/europe/rss.xml 900 item_titles 10} - -${color #ebdbb2}${font1}HACKER NEWS ${hr}${font2}${color #928374} -${rss https://hnrss.org/frontpage 900 item_titles 10} - -${color #ebdbb2}${font1}LOBSTE.RS ${hr}${font2}${color #928374} -${rss https://lobste.rs/rss 900 item_titles 10}' - - |