aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Benencia <rul@kalgan.cc>2019-06-30 19:50:20 -0700
committerRaúl Benencia <rul@kalgan.cc>2019-06-30 19:55:15 -0700
commitbd82a7b8e633f9fc7163e479039397726250361d (patch)
tree0c274e25f5fa81de2f7c6d02e6cd3b009f9f3785
parent5511798208fdbc991372464b2e18a26088e009c8 (diff)
Bump desktop config
-rw-r--r--.config/compton.conf45
-rw-r--r--.config/i3/config16
-rw-r--r--.config/i3blocks/config74
-rw-r--r--.conkyrc94
4 files changed, 168 insertions, 61 deletions
diff --git a/.config/compton.conf b/.config/compton.conf
new file mode 100644
index 0000000..fceb4a2
--- /dev/null
+++ b/.config/compton.conf
@@ -0,0 +1,45 @@
+# Shadow
+shadow = false;
+no-dnd-shadow = true;
+no-dock-shadow = true;
+clear-shadow = true;
+shadow-radius = 12.0;
+shadow-offset-x = -12;
+shadow-offset-y = -12;
+shadow-opacity = 0.95;
+
+# Opacity
+menu-opacity = 1.0;
+inactive-opacity = 1.0;
+active-opacity = 1.0;
+
+# Fading
+fading = true;
+fade-delta = 5;
+fade-in-step = 0.03;
+fade-out-step = 0.04;
+
+# Other
+backend = "xrender";
+mark-wmwin-focused = true;
+mark-ovredir-focused = true;
+detect-rounded-corners = true;
+detect-client-opacity = true;
+refresh-rate = 0;
+vsync = "none";
+dbe = false;
+paint-on-overlay = true;
+detect-transient = true;
+detect-client-leader = false;
+invert-color-include = [ ];
+
+# GLX backend
+glx-copy-from-front = false;
+glx-swap-method = "undefined";
+
+# Window type settings
+wintypes:
+{
+ #tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; };
+ dock = { opacity = 0.7; };
+};
diff --git a/.config/i3/config b/.config/i3/config
index be5560a..6dd3b31 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -1,3 +1,5 @@
+# Debian packages: redshift-gtk dunst compton conky-std network-manager-gnome nitrogen xautolock
+
set $mod Mod4
set_from_resource $darkred color1 #000000
@@ -180,10 +182,22 @@ for_window [class="^.*"] border pixel 0
bar {
status_command i3blocks
position top
+
+ colors {
+ background #000000
+ statusline #eff0f1
+ focused_workspace #000000 $bg-color #000000
+ active_workspace #000000 $bg-color #$bg-color
+ inactive_workspace #000000 #666666 #ffffff
+ urgent_workspace #d33682 #d33682 #fdf6e3
+ }
}
+exec --no-startup-id xautolock -locker i3lock-wrapper -time 2 -corners -+00 -cornerdelay 5 &
+exec --no-startup-id compton -b
+exec --no-startup-id conky
+exec --no-startup-id touchpad-enable-tap
exec --no-startup-id nitrogen --restore
exec --no-startup-id redshift-gtk &
exec --no-startup-id dunst &
exec --no-startup-id nm-applet &
-
diff --git a/.config/i3blocks/config b/.config/i3blocks/config
index 0606740..7d399b0 100644
--- a/.config/i3blocks/config
+++ b/.config/i3blocks/config
@@ -3,73 +3,27 @@ command=/usr/share/i3blocks/$BLOCK_NAME
separator_block_width=15
markup=none
+# Battery indicator
+[battery]
+label=⚡
+instance=1
+interval=30
+
# Volume indicator
[volume]
-label=VOL
label=♪
instance=Master
interval=once
signal=10
-# Memory usage
-[memory]
-label=MEM
-separator=false
-interval=30
-
-[memory]
-label=SWAP
-instance=swap
-separator=false
-interval=30
-
-# Disk usage
-[disk]
-label=HOME
-interval=30
-
-# Network interface monitoring
-[iface]
-color=#00FF00
-interval=10
-separator=false
-
-[wifi]
-interval=10
-separator=false
-
-[bandwidth]
-instance=wlp1s0
-interval=5
-
-# CPU usage
-[cpu_usage]
-label=CPU
-interval=10
-min_width=CPU: 100.00%
-
-[load_average]
-interval=10
-
-# Battery indicator
-[battery]
-label=BAT
-label=⚡
-instance=1
-interval=30
-
# Date Time
+#
[time]
-command=date '+%Y-%m-%d %H:%M:%S'
-interval=5
-
-# Key indicators
-[keyindicator]
-instance=CAPS
-interval=once
-signal=11
+label=
+command=date '+%A %d-%m-%Y'
+interval=30
-[keyindicator]
-instance=NUM
-interval=once
-signal=11
+[time]
+label=⏱
+command=date "+%H:%M"
+interval=10
diff --git a/.conkyrc b/.conkyrc
new file mode 100644
index 0000000..253b7cd
--- /dev/null
+++ b/.conkyrc
@@ -0,0 +1,94 @@
+conky.config = {
+ alignment = 'top_left',
+ background = false,
+ border_width = 0,
+ cpu_avg_samples = 2,
+ default_color = 'white',
+ default_outline_color = 'white',
+ default_shade_color = 'black',
+ draw_borders = false,
+ draw_graph_borders = true,
+ draw_outline = false,
+ draw_shades = true,
+ color1 = 'd37340',
+ color2 = '95c5f6',
+ color3 = 'F80E27',
+ color4 = '20dc3e',
+ use_xft = true,
+ xftalpha = 0.9,
+ total_run_times = 0,
+ font = 'San Francisco Text:size=11:style=Regular',
+ gap_x = 12,
+ gap_y = 45,
+ minimum_height = 5,
+ minimum_width = 5,
+ net_avg_samples = 2,
+ no_buffers = true,
+ double_buffer = true,
+ out_to_console = false,
+ out_to_stderr = false,
+ extra_newline = false,
+ own_window = true,
+ own_window_class = 'Conky',
+ own_window_type = 'override',
+ own_window_transparent = 'true',
+ own_window_argb_visual = true,
+ own_window_argb_value = 0,
+ stippled_borders = 0,
+ update_interval = 1.0,
+ uppercase = false,
+ override_utf8_locale = false,
+ use_spacer = 'none',
+ show_graph_scale = false,
+ show_graph_range = false
+}
+
+
+conky.text = [[
+${color1}SYSTEM ${hr 3}${color}
+#${font OpenLogos:size=40}Q${font}
+System: $alignr${texeci 3600 lsb_release -si}/${texeci 3600 uname -s} $machine
+Kernel: $alignr${texeci 3600 uname -r}
+Uptime: $alignr$uptime
+Throtle: ${alignr}${freq} MHz
+Processes: ${alignr}$processes ($running_processes running)
+Load: ${alignr}$loadavg
+
+${color1}HARDWARE ${hr 1}${color}
+CPU1 ${alignr}${cpu cpu1}%
+${cpubar cpu1}
+CPU2 ${alignr}${cpu cpu2}%
+${cpubar cpu2}
+CPU3 ${alignr}${cpu cpu3}%
+${cpubar cpu3}
+CPU4 ${alignr}${cpu cpu4}%
+${cpubar cpu4}
+Ram ${alignr}$mem / $memmax ($memperc%)
+${membar 8}
+
+Name${alignr}CPU MEM
+${hr}
+${color1}Top 3 CPU${hr 1}${color}
+${top name 1}$alignr${top cpu 1}${top mem 1}
+${top name 2}$alignr${top cpu 2}${top mem 2}
+${top name 3}$alignr${top cpu 3}${top mem 3}
+${color1}Top 3 MEM${hr 1}${color}
+${top_mem name 1}$alignr${top_mem cpu 1}${top_mem mem 1}
+${top_mem name 2}$alignr${top_mem cpu 2}${top_mem mem 2}
+${top_mem name 3}$alignr${top_mem cpu 3}${top_mem mem 3}
+
+${color1}FILESYSTEM ${hr 1}${color}
+Read:$alignr$diskio_read
+${diskiograph_read 25,240 797979 FFFFFF}
+Write:$alignr$diskio_write
+${diskiograph_write 25,240 797979 FFFFFF}
+Root: ${alignr}${fs_used /} / ${fs_size /}
+${fs_bar 4 /}
+#SWAP${alignr}$swap / $swapmax
+#${swapbar}
+
+${color1}NETWORK ${hr 1}${color}
+Down ${downspeed eth0} ${alignr}Up ${upspeed eth0}
+${downspeedgraph eth0 25,107} ${alignr}${upspeedgraph eth0 25,107}
+Total ${totaldown eth0} ${alignr}Total ${totalup eth0}
+]]
nihil fit ex nihilo