From b55c282a15b9982dc3d98a4a7e83f5d9c8677614 Mon Sep 17 00:00:00 2001 From: Shaun Reed Date: Mon, 20 Jan 2020 11:33:36 -0500 Subject: [PATCH] Setup conky for laptop, update keybinds --- .config/conky/shortcuts_green | 11 +++++++++-- .config/conky/sysinfo_green | 20 ++++---------------- .config/i3/config | 12 +++++++----- 3 files changed, 20 insertions(+), 23 deletions(-) diff --git a/.config/conky/shortcuts_green b/.config/conky/shortcuts_green index 9fade9e..f55abe9 100644 --- a/.config/conky/shortcuts_green +++ b/.config/conky/shortcuts_green @@ -18,14 +18,21 @@ conky.config = { use_xft = true, } conky.text = [[ - +# +# Date +${alignr}${color1} +${goto 20}${voffset 8}${color2}${font Bitstream Vera Sans:size=16}${time %A}$font\ +${goto 140}${voffset -8}${color}${font Bitstream Vera Sans:size=38}${time %e}$font +${goto 20}${color}${voffset -30}${color}${font Bitstream Vera Sans:size=18}${time %b}$font\ +${goto 60}${voffset -3} ${color}${font Bitstream Vera Sans:size=20}${time %Y}$font${color2}$hr +# ---------------Applications--------------- ${color2}open new terminal - ${color}mod+Enter ${color2}open dropdown yakuake terminal - ${color}F4 ${color2}Firefox - ${color}mod+Shift+f ---------------Screenshots---------------- -${color2}image clip tool - ${color}mod+Shift+PrintScreen +${color2}image clip tool - ${color}mod+Shift+p ---------------Menus---------------------- ${color2}audio devices - ${color}mod+Ctrl+a diff --git a/.config/conky/sysinfo_green b/.config/conky/sysinfo_green index d9be29f..a1e134c 100644 --- a/.config/conky/sysinfo_green +++ b/.config/conky/sysinfo_green @@ -19,19 +19,7 @@ conky.config = { temperature_unit = 'fahrenheit', } conky.text = [[ -# -# Date -${alignr}${color1} -${goto 120}${voffset 8}${color2}${font Bitstream Vera Sans:size=16}${time %A}$font\ -${goto 120}${voffset -8}$alignr${color}${font Bitstream Vera Sans:size=38}${time %e}$font -${goto 120}${color}${voffset -30}${color}${font Bitstream Vera Sans:size=18}${time %b}$font\ -${voffset -3} ${color}${font Bitstream Vera Sans:size=20}${time %Y}$font${color2}$hr -# CAUTION: These configs use conky to report your public IP to a remote server owned by the author -# Remove the following line or change the URL below if you are cloning or copying these configs -# Report public IP to webserver when online for remote access -# Public IP found in nginx access.log (conky-curl is the requester) -${font}${alignc}- Public IP reporting to kapp.ga -${alignc}${curl https://kapp.ga 10}${alignr} -# + # Process list, load average # 1m / 5m / 15m format for lad avg ${color2}${voffset 35}${alignr}${font Bitstream Vera Sans:size=10}Proccesses${color} @@ -83,9 +71,9 @@ ${color2}${diskiograph /dev/sda}${color} ${color2}${fs_bar 8 /}${color} # # Home Filesystem Display -${voffset 6}${font}${goto 45}/dev/sda1 - /home/${font}${alignr}Data: ${fs_used /home/} / ${fs_size /home/} -${color2}${diskiograph /dev/sda1}${color} -${color2}${fs_bar 8 /home/} ${color} +#${voffset 6}${font}${goto 45}/dev/sda1 - /home/${font}${alignr}Data: ${fs_used /home/} / ${fs_size /home/} +#${color2}${diskiograph /dev/sda1}${color} +#${color2}${fs_bar 8 /home/} ${color} # Optinal drive display, specify path to check mount #${if_mounted /run/media/thib/Data}${color}${font}${exec sudo hddtemp /dev/sdb -u F | awk '{print $NF}'}${alignr}${fs_used /run/media/thib/Data}/${fs_size /run/media/thib/Data}${else}${color}${font}${alignr}Unmounted${endif} $hr diff --git a/.config/i3/config b/.config/i3/config index efb0d8e..21e3a5c 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -191,6 +191,11 @@ bindsym $mod+0 workspace $ws10 # for_window [title="origin"] resize set width 1000 # for_window [title="origin"] move position center +bindsym $mod+Ctrl+a exec "pavucontrol" +for_window [class="Pavucontrol"] floating enable +for_window [class="Pavucontrol"] resize set height 400 +for_window [class="Pavucontrol"] resize set width 600 +for_window [class="Pavucontrol"] move position center # reload the configuration file bindsym $mod+Shift+c reload @@ -221,12 +226,9 @@ bindsym $mod+Shift+f exec firefox bindsym $mod+Ctrl+d exec blueman-manager ## Screenshot keybinds ########################################### -# Screenshot all displays -bindsym Print exec --no-startup-id i3-scrot -# Screenshot active window -bindsym $mod+Print --release exec --no-startup-id i3-scrot -w # Screenshot marquee tool -bindsym $mod+Shift+p --release exec --no-startup-id i3-scrot -s +bindsym $mod+Shift+p --release exec --no-startup-id scrot -s + # Restart, reload, kill keybinds ###########################################