summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bashrc.org2
-rw-r--r--[-rwxr-xr-x]conky.org48
-rw-r--r--conky.rc61
-rw-r--r--[-rwxr-xr-x]herbstluftwm-autostart.org29
-rw-r--r--[-rwxr-xr-x]scripts.org0
-rw-r--r--void-linux-wallpaper.pngbin0 -> 154709 bytes
6 files changed, 102 insertions, 38 deletions
diff --git a/bashrc.org b/bashrc.org
index 45cdd6d..cc0bb8b 100644
--- a/bashrc.org
+++ b/bashrc.org
@@ -59,7 +59,7 @@ This ensures ~plank~ dock doesn't complain about not finding a
session type.
#+BEGIN_SRC shell
- export XDG_SESSION_TYPE=x11
+ export XDG_SESSION_DESKTOP=x11
#+END_SRC
diff --git a/conky.org b/conky.org
index 9eab266..35eea60 100755..100644
--- a/conky.org
+++ b/conky.org
@@ -24,7 +24,7 @@
draw_outline = false,
draw_shades = false,
extra_newline = false,
- font = 'Hack:size=16',
+ font = 'Courier Prime Code:size=16',
gap_x = 60,
gap_y = 60,
minimum_height = 5,
@@ -59,27 +59,31 @@
]]
#+end_src
+#+RESULTS:
+
#+NAME: content
#+begin_src lua :tangle no :exports none
- ${font Monoid:size=40}${time %H:%M}
- $font${color grey}$color ${scroll 38 Conky $conky_version - $sysname $nodename $kernel $machine}
- $hr
- ${color grey}Uptime:$color $uptime
- ${color grey}Frequency (in MHz):$color $freq
- ${color grey}Frequency (in GHz):$color $freq_g
- ${color grey}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}
- ${color grey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4}
- ${color grey}CPU Usage:$color $cpu% ${cpubar 4}
- ${color grey}Processes:$color $processes ${color grey}Running:$color $running_processes
- $hr
- ${color grey}File systems:
- / $color${fs_used /}/${fs_size /} ${fs_bar 6 /}
- ${color grey}Networking:
- Up:$color ${upspeed} ${color grey} - Down:$color ${downspeed}
- $hr
- ${color grey}Name PID CPU% MEM%
- ${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
- ${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
- ${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
- ${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
+ ${font Monoid:size=40}${time %H:%M}
+ $font${color grey}$color ${scroll 38 Conky $conky_version - $sysname $nodename $kernel $machine}
+ $hr
+ ${color grey}Uptime:$color $uptime
+ ${color grey}Frequency (GHz):$color $freq_g
+ ${color grey}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}
+ ${color grey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4}
+ ${color grey}CPU Usage:$color $cpu% ${cpubar 4}
+ ${color grey}Processes:$color $processes | ${color grey}Running:$color $running_processes
+ $hr
+ ${color grey}File systems:
+ / $color${fs_used /}/${fs_size /} ${fs_bar 6 /}
+ ${color grey}Networking:
+ Up: ${upspeed wlp3s0}/s
+ ${upspeedgraph wlp3s0 80,500 444444 eeeeee}
+ Down: ${downspeed wlp3s0}/s
+ ${downspeedgraph wlp3s0 80,500 444444 eeeeee}
+ $hr
+ ${color grey}Name PID CPU% MEM%
+ ${color lightgrey}${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
+ ${color lightgrey}${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
+ ${color lightgrey}${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
+ ${color lightgrey}${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
#+end_src
diff --git a/conky.rc b/conky.rc
new file mode 100644
index 0000000..67e75ea
--- /dev/null
+++ b/conky.rc
@@ -0,0 +1,61 @@
+conky.config = {
+alignment= 'top_right',
+background= true,
+border_width = 1,
+cpu_avg_samples = 2,
+default_color= 'white',
+default_outline_color= 'white',
+default_shade_color= 'white',
+double_buffer= true,
+draw_borders= false,
+draw_graph_borders= true,
+draw_outline= false,
+draw_shades= false,
+font = 'Hermit-Regular:size=14',
+gap_x= 60,
+gap_y= 20,
+maximum_width= 440,
+net_avg_samples = 1,
+no_buffers= true,
+out_to_x = true,
+own_window= true,
+own_window_class= 'conky',
+own_window_type= 'override',
+own_window_transparent= true,
+own_window_argb_visual= true,
+own_window_colour= 000000,
+own_window_argb_value= 0,
+update_interval= 0.6,
+uppercase= false,
+use_xft= true,
+xftalpha= 0.8,
+}
+
+conky.text = [[
+$color
+${alignr}${font Hermit:style=Medium:pixelsize=140}${time %H:%M}${font}
+${voffset 8}
+${alignr}${font Hermit:style=Medium:pixelsize=24}${time %A %d %B %Y}${font}
+${voffset 16}
+${color grey}Info:$color ${scroll 35 Conky $conky_version - $sysname $nodename $kernel $machine}
+${color grey}Uptime:${alignr}$color $uptime
+${color grey}Disk Usage:${alignr}$color ${fs_used /}/${fs_size /}
+${fs_bar 12 /}
+$hr
+${color grey}CPU Usage:${alignr}$color ${freq}MHz
+$cpu% ${cpubar 12}
+${cpugraph cpu1 64,100 006477 ffffff}${cpugraph cpu2 64,100 006477 ffffff}${alignr}${cpugraph cpu3 64,100 006477 ffffff}${alignr}${cpugraph cpu4 64,100 006477 ffffff}
+${cpugraph cpu5 64,100 006477 ffffff}${cpugraph cpu6 64,100 006477 ffffff}${alignr}${cpugraph cpu7 64,100 006477 ffffff}${alignr}${cpugraph cpu8 64,100 006477 ffffff}
+$hr
+# ${exec nvidia-smi}
+${color grey}RAM Usage:${alignr}$color $mem/$memmax
+$memperc% ${membar 12}
+# ${color grey}Swap Usage:${alignr}$color $swap/$swapmax
+# $swapperc% ${swapbar 12}
+$hr
+${color grey}Networking:
+${color grey}Download:${alignr}$color ${downspeedf enp34s0}k/s (${totaldown enp34s0})
+${downspeedgraph enp34s0 160,440 006477 ffffff}
+${color grey}Upload: $color${alignr}${upspeedf enp34s0}k/s (${totalup enp34s0})
+${upspeedgraph enp34s0 160,440 006477 ffffff}
+]] \ No newline at end of file
diff --git a/herbstluftwm-autostart.org b/herbstluftwm-autostart.org
index 534dba0..97f8746 100755..100644
--- a/herbstluftwm-autostart.org
+++ b/herbstluftwm-autostart.org
@@ -16,7 +16,7 @@
* Introduction
This is my literate configuration for {{{hl}}} and other programs
-started at the beginning of a graphical session. {{{hl}}} is a manual
+started at the beginning of a graphical session. {{{hl}}} is a manual
tiling window manager and is configured via the ~herbstclient~
program.
@@ -64,7 +64,7 @@ We remove all existing keybindings.
hc keyunbind --all
#+END_SRC
-Choice of Modkey. =Mod1= is =Alt=, =Mod4= is =Super=.
+Choice of Modkey. =Mod1= is =Alt=, =Mod4= is =Super=.
#+BEGIN_SRC shell
Mod=Mod4
@@ -222,7 +222,7 @@ Resizing frames and floating clients.
The following cycles through the available layouts within a frame, but
skips layouts, if the layout change wouldn't affect the actual window
-positions. I.e. if there are two windows within a frame, the grid
+positions. I.e. if there are two windows within a frame, the grid
layout is skipped.
#+BEGIN_SRC shell
@@ -352,11 +352,11 @@ Copy ~inner_color~ to ~outer_color~.
Gap between windows, tiled in a frame.
#+BEGIN_SRC shell
- hc set window_gap 32
+ hc set window_gap 24
#+END_SRC
We could reserve extra room on the edges common to all the tiled
-windows. (Despite being a frame parameter, it really applies to the
+windows. (Despite being a frame parameter, it really applies to the
sum total of tiled windows in a given frame, so it belongs to this
section).
@@ -365,7 +365,7 @@ section).
#+END_SRC
If only one frame exists on a given monitor, no border gap is added to
-the unique frame. But since we set the frame gap to 0, this has no
+the unique frame. But since we set the frame gap to 0, this has no
effect.
#+BEGIN_SRC shell
@@ -415,12 +415,12 @@ First, we cancel all previously bound rules.
* Other programs
-** Panel
+** COMMENT Panel
#+begin_src shell
- xset +fp /home/blendux/.fonts/
- kill $(pgrep --full "panel.sh")
- bash ~/.config/herbstluftwm/panel.sh
+ # xset +fp /home/blendux/.fonts/
+ kill $(pgrep --full "panel.sh")
+ bash ~/.config/herbstluftwm/panel.sh
#+end_src
This panel is adapted from the one provided by default by {{{hl}}},
@@ -672,7 +672,7 @@ I'm using =lemonbar-xft=, which provides XFT support.
#+end_src
-** Dock
+** COMMENT Dock
#+BEGIN_SRC shell
if [ $(pgrep plank) ]
@@ -690,9 +690,8 @@ I'm using =lemonbar-xft=, which provides XFT support.
if [ $(pgrep conky) ]
then
pkill conky
- else
- conky &
fi
+ conky &
#+end_src
@@ -702,9 +701,9 @@ I'm using =lemonbar-xft=, which provides XFT support.
if [ $(pgrep picom) ]
then
pkill picom
- else
- picom &
fi
+ picom &
+
#+END_SRC
diff --git a/scripts.org b/scripts.org
index b179385..b179385 100755..100644
--- a/scripts.org
+++ b/scripts.org
diff --git a/void-linux-wallpaper.png b/void-linux-wallpaper.png
new file mode 100644
index 0000000..bec6859
--- /dev/null
+++ b/void-linux-wallpaper.png
Binary files differ
Copyright 2019--2025 Marius PETER