summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
authorJoe <rrbo@proton.me>2023-02-09 11:44:37 +0100
committerJoe <rrbo@proton.me>2023-02-09 11:44:37 +0100
commit1ece3e44999e9c98e062fc8237ae398f7f041e22 (patch)
treea6f6e9043677d405187671b49f72bd5722b14167 /.config
parentup (diff)
downloaddotfiles-bsd-1ece3e44999e9c98e062fc8237ae398f7f041e22.tar.gz
dotfiles-bsd-1ece3e44999e9c98e062fc8237ae398f7f041e22.tar.bz2
dotfiles-bsd-1ece3e44999e9c98e062fc8237ae398f7f041e22.tar.xz
dotfiles-bsd-1ece3e44999e9c98e062fc8237ae398f7f041e22.tar.zst
dotfiles-bsd-1ece3e44999e9c98e062fc8237ae398f7f041e22.zip
up
Diffstat (limited to '.config')
-rw-r--r--.config/conky/conkyrc (renamed from .config/conkyrc)1
-rw-r--r--.config/conky/conkyrss58
-rwxr-xr-x.config/openbox/autostart7
3 files changed, 64 insertions, 2 deletions
diff --git a/.config/conkyrc b/.config/conky/conkyrc
index 2ec1a5e..578b7e1 100644
--- a/.config/conkyrc
+++ b/.config/conky/conkyrc
@@ -14,7 +14,6 @@ conky.config = {
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,
diff --git a/.config/conky/conkyrss b/.config/conky/conkyrss
new file mode 100644
index 0000000..8adfb40
--- /dev/null
+++ b/.config/conky/conkyrss
@@ -0,0 +1,58 @@
+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_width = 400,
+ minimum_height = 200,
+ maximum_width = 400,
+ gap_x = 420,
+ 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 = [[
+${color #ebdbb2}${font1}HACKER NEWS ${hr}${font2}${color #928374}
+${rss https://hnrss.org/frontpage 900 item_titles 10}
+
+${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}
+]]
diff --git a/.config/openbox/autostart b/.config/openbox/autostart
index 065acfa..fc6bee2 100755
--- a/.config/openbox/autostart
+++ b/.config/openbox/autostart
@@ -46,6 +46,11 @@ startif() {
pgrep "$(basename "$1")" >/dev/null || "$@" >/dev/null 2>&1 &
}
+conkies() {
+ startif conky -d -c "$HOME"/.config/conky/conkyrc
+ conky -d -c "$HOME"/.config/conky/conkyrss
+}
+
export LANG='en_US.UTF-8'
startif dunst
startif picom
@@ -61,7 +66,7 @@ xset -dpms
# else
# "$HOME"/.local/bin/dscr
# fi
-startif conky -d -c "$HOME"/.config/conkyrc
+conkies
startif tint2
startif plank
cd "$HOME"