diff --git a/.gkrellm2/data/net/eth0 b/.gkrellm2/data/net/eth0 new file mode 100644 index 0000000..7331187 --- /dev/null +++ b/.gkrellm2/data/net/eth0 @@ -0,0 +1,75 @@ +2 +wday mday month yday year +6 16 4 136 120 +[daily] +"2020-05-16" 60 0 0 +"2020-05-15" 218678565 72976934 0 +"2020-05-14" 3540994473 1592565355 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +[weekly] +"2020-05-16" 3759673098 1665542289 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +[monthly] +"May" 3759673098 1665542289 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 diff --git a/.gkrellm2/data/net/ppp0 b/.gkrellm2/data/net/ppp0 new file mode 100644 index 0000000..1daa7d7 --- /dev/null +++ b/.gkrellm2/data/net/ppp0 @@ -0,0 +1,75 @@ +2 +wday mday month yday year +4 14 4 134 120 +[daily] +"2020-05-14" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +[weekly] +"2020-05-16" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +[monthly] +"May" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 diff --git a/.gkrellm2/data/net/proton0 b/.gkrellm2/data/net/proton0 new file mode 100644 index 0000000..7a30a13 --- /dev/null +++ b/.gkrellm2/data/net/proton0 @@ -0,0 +1,75 @@ +2 +wday mday month yday year +6 16 4 136 120 +[daily] +"2020-05-16" 0 0 0 +"2020-05-14" 915689422 84835263 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +[weekly] +"2020-05-16" 915689422 84835263 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +[monthly] +"May" 915689422 84835263 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 diff --git a/.gkrellm2/data/net/wlan0 b/.gkrellm2/data/net/wlan0 new file mode 100644 index 0000000..b73d899 --- /dev/null +++ b/.gkrellm2/data/net/wlan0 @@ -0,0 +1,75 @@ +2 +wday mday month yday year +6 16 4 136 120 +[daily] +"2020-05-14" 333 1390 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +[weekly] +"2020-05-16" 333 1390 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +[monthly] +"May" 333 1390 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 +"---" 0 0 0 diff --git a/.gkrellm2/data/startup_position b/.gkrellm2/data/startup_position new file mode 100644 index 0000000..a12cdbd --- /dev/null +++ b/.gkrellm2/data/startup_position @@ -0,0 +1 @@ +3705 150 diff --git a/.gkrellm2/plugin_enable b/.gkrellm2/plugin_enable new file mode 100644 index 0000000..67170d8 --- /dev/null +++ b/.gkrellm2/plugin_enable @@ -0,0 +1 @@ +gkrellweather.so diff --git a/.gkrellm2/sensor-config b/.gkrellm2/sensor-config new file mode 100644 index 0000000..8b20873 --- /dev/null +++ b/.gkrellm2/sensor-config @@ -0,0 +1,15 @@ +sensor sensor_config_version 1 +sensor sensor_sysdep_private 1 +sensor sensor_float_factor 10000 +sensor gkrellm_float_factor 1000 +sensor "temp1" "coretemp-hwmon2/temp1" 10000 0 1 0 +sensor "temp2" "coretemp-hwmon2/temp2" 10000 0 0 0 +sensor "temp3" "coretemp-hwmon2/temp3" 10000 0 0 0 +sensor "temp4" "coretemp-hwmon2/temp4" 10000 0 0 0 +sensor "temp5" "coretemp-hwmon2/temp5" 10000 0 0 0 +sensor "GPU C" "nVidia GPU Core" 10000 0 1 0 +sensor "temp" "thermal_zone0" 10000 0 0 0 +sensor "Vcor1" "bat0-hwmon1/in0" 10000 0 0 0 +sensor units_fahrenheit 0 +sensor show_units 1 +sensor volt_display_mode 0 diff --git a/.gkrellm2/theme_config b/.gkrellm2/theme_config new file mode 100644 index 0000000..289703b --- /dev/null +++ b/.gkrellm2/theme_config @@ -0,0 +1,6 @@ + +0 +Sans 14 +Sans 14 +Sans 14 +80 diff --git a/.gkrellm2/themes/145483-invisible_HC.tar.gz b/.gkrellm2/themes/145483-invisible_HC.tar.gz new file mode 100644 index 0000000..9426816 Binary files /dev/null and b/.gkrellm2/themes/145483-invisible_HC.tar.gz differ diff --git a/.gkrellm2/themes/invisible HC/bg_grid.png b/.gkrellm2/themes/invisible HC/bg_grid.png new file mode 100755 index 0000000..630327d Binary files /dev/null and b/.gkrellm2/themes/invisible HC/bg_grid.png differ diff --git a/.gkrellm2/themes/invisible HC/decal_misc.png b/.gkrellm2/themes/invisible HC/decal_misc.png new file mode 100755 index 0000000..3098495 Binary files /dev/null and b/.gkrellm2/themes/invisible HC/decal_misc.png differ diff --git a/.gkrellm2/themes/invisible HC/frame_bottom.png b/.gkrellm2/themes/invisible HC/frame_bottom.png new file mode 100755 index 0000000..68c83a4 Binary files /dev/null and b/.gkrellm2/themes/invisible HC/frame_bottom.png differ diff --git a/.gkrellm2/themes/invisible HC/frame_left.png b/.gkrellm2/themes/invisible HC/frame_left.png new file mode 100755 index 0000000..4dad36d Binary files /dev/null and b/.gkrellm2/themes/invisible HC/frame_left.png differ diff --git a/.gkrellm2/themes/invisible HC/frame_right.png b/.gkrellm2/themes/invisible HC/frame_right.png new file mode 100755 index 0000000..d5d3455 Binary files /dev/null and b/.gkrellm2/themes/invisible HC/frame_right.png differ diff --git a/.gkrellm2/themes/invisible HC/frame_top.png b/.gkrellm2/themes/invisible HC/frame_top.png new file mode 100755 index 0000000..26a1100 Binary files /dev/null and b/.gkrellm2/themes/invisible HC/frame_top.png differ diff --git a/.gkrellm2/themes/invisible HC/gkrellmrc b/.gkrellm2/themes/invisible HC/gkrellmrc new file mode 100755 index 0000000..a9fac47 --- /dev/null +++ b/.gkrellm2/themes/invisible HC/gkrellmrc @@ -0,0 +1,91 @@ +# invisible. + +author = "Jkx , color remix by Shawn Jeffcoat " + +chart_width_min = 58 +chart_width_max = 58 +chart_width_ref = 58 +allow_scaling = true +frame_top_height = 0 +frame_bottom_height = 0 +frame_left_width = 0 +frame_right_width = 0 +frame_top_border = 0,0,0,0 +frame_bottom_border = 0,0,0,0 +frame_left_border = 0,0,0,0 +frame_right_border = 0,0,0,0 + +chart_in_color = #01FF19 +chart_in_color_grid = #FAFD00 +chart_out_color = #FE0101 +chart_out_color_grid = #FAFD00 + +bg_grid_mode = 1 + +rx_led_x = -14 +rx_led_y = 11 +tx_led_x = -1 +tx_led_y = 11 + +timer_time_x = 1 +timer_button_x = -4 + +bg_timer_border = 2,2,2,2 + +button_panel_border = 2,2,2,2 +button_meter_border = 2,2,2,2 + +large_font = "-adobe-helvetica-medium-r-normal-*-*-100-*-*-p-*-*-*" +normal_font = "-adobe-helvetica-medium-r-normal-*-*-80-*-*-p-*-*-*" +small_font = "-adobe-helvetica-medium-r-normal-*-*-80-*-*-p-*-*-*" + +bg_slider_panel_border = 1,1,1,1 +bg_slider_meter_border = 1,1,1,1 + +StyleChart *.border = 5,5,5,5 +StyleChart *.font = normal_font +StyleChart *.alt_font = small_font +StyleChart *.textcolor = #FFFFFF #000000 shadow +StyleChart *.alt_textcolor = #FFFFFF #000000 shadow +StyleChart *.transparency = 1 + +StylePanel *.border = 0,0,11,2 +StylePanel *.font = normal_font +StylePanel *.alt_font = normal_font +StylePanel *.textcolor = #FFFFFF #000000 shadow +StylePanel *.alt_textcolor = #FFFFFF #000000 shadow +StylePanel *.label_position = 50 +StylePanel *.margin = 1 +StylePanel *.krell_x_hot = 63 +StylePanel *.krell_depth = 65 +StylePanel *.krell_yoff = 3 +StylePanel *.transparency = 1 + +StyleMeter *.border = 0,0,12,4 +StyleMeter *.font = normal_font +StyleMeter *.alt_font = small_font +StyleMeter *.textcolor = #FFFFFF #000000 shadow +StyleMeter *.alt_textcolor = #FFFFFF #000000 shadow +StyleMeter *.label_position = 50 +StyleMeter *.margin = 1 +StyleMeter *.krell_x_hot = 63 +StyleMeter *.krell_depth = 65 +StyleMeter *.krell_yoff = 4 +StyleMeter *.transparency = 1 + +StylePanel net.label_position = 0 +StyleMeter mem.label_position = 0 +StyleMeter mem.border = 0,0,12,4 +StyleMeter swap.label_position = 0 +StyleMeter swap.border = 0,0,12,2 +StyleMeter cal.font = med_font +StyleMeter cal.alt_font = large_font +StyleMeter clock.font = large_font +StyleMeter fs.border = 0,0,12,4 +StyleMeter timer.border = 0,0,0,0 +StyleMeter host.border = 0,0,0,3 +StyleMeter cal.border = 0,0,0,4 +StyleMeter clock.border = 0,0,0,4 +StyleMeter uptime.border = 0,0,0,2 +StyleMeter fs.label_position = 0 +StyleMeter fs.alt_font = normal_font diff --git a/.gkrellm2/themes/invisible HC/krell_meter.png b/.gkrellm2/themes/invisible HC/krell_meter.png new file mode 100755 index 0000000..76ea032 Binary files /dev/null and b/.gkrellm2/themes/invisible HC/krell_meter.png differ diff --git a/.gkrellm2/themes/invisible HC/krell_panel.png b/.gkrellm2/themes/invisible HC/krell_panel.png new file mode 100755 index 0000000..76ea032 Binary files /dev/null and b/.gkrellm2/themes/invisible HC/krell_panel.png differ diff --git a/.gkrellm2/themes/invisible HC/net/decal_net_leds.png b/.gkrellm2/themes/invisible HC/net/decal_net_leds.png new file mode 100755 index 0000000..fc473fc Binary files /dev/null and b/.gkrellm2/themes/invisible HC/net/decal_net_leds.png differ diff --git a/.gkrellm2/user-config b/.gkrellm2/user-config new file mode 100644 index 0000000..b5e205d --- /dev/null +++ b/.gkrellm2/user-config @@ -0,0 +1,164 @@ +### GKrellM user config. Auto written, do not edit (usually) ### +### Version 2.3.11 ### +enable_hostname 1 +hostname_short 0 +enable_sysname 1 +mbmon_port 0 +sticky_state 0 +dock_type 0 +decorated 1 +skip_taskbar 1 +skip_pager 1 +above 0 +below 1 +track_gtk_theme_name 0 +default_track_theme "Default" +save_position 1 +chart_width 135 +update_HZ 9 +allow_multiple_instances 1 +float_factor 1000 +hostname sysname_mode 1 +clock_cal clock_launch +clock_cal clock_tooltip +clock_cal cal_launch +clock_cal cal_tooltip +clock_cal hour_chime_command +clock_cal quarter_chime_command +clock_cal loop_chime_enable 0 +clock_cal clock_options 1 +clock_cal cal_options 1 +clock_cal cal_format %a %e %b +clock_cal clock_format %l:%M %S +gkrellweather chart_visible 0 +gkrellweather panel_visible 1 +gkrellweather metric 1 +gkrellweather update_interval 15 +gkrellweather switch_interval 0 +gkrellweather wind_chill 0 +gkrellweather windspeed_unit 1 +gkrellweather pressure_unit 3 +gkrellweather station EPPO +gkrellweather command /usr/libexec/gkrellweather/GrabWeather EPPO +gkrellweather filename /home/yorune/.wmWeatherReports/EPPO.dat +cpu enable 0 +cpu smp_mode 0 +cpu enabled cpu 0 +cpu extra_info cpu 1 +cpu chart_config cpu 40 20 0 0 0 0 : 0 0 0 0 500 : 0 0 0 0 500 : 0 0 0 0 500 +cpu enabled cpu0 1 +cpu extra_info cpu0 0 +cpu chart_config cpu0 40 20 0 0 0 0 : 0 0 0 0 500 : 0 0 0 0 500 : 0 0 0 0 500 +cpu enabled cpu1 1 +cpu extra_info cpu1 1 +cpu chart_config cpu1 40 20 0 0 0 0 : 0 0 0 0 500 : 0 0 0 0 500 : 0 0 0 0 500 +cpu enabled cpu2 1 +cpu extra_info cpu2 0 +cpu chart_config cpu2 40 20 0 0 0 0 : 0 0 0 0 500 : 0 0 0 0 500 : 0 0 0 0 500 +cpu enabled cpu3 1 +cpu extra_info cpu3 1 +cpu chart_config cpu3 40 20 0 0 0 0 : 0 0 0 0 500 : 0 0 0 0 500 : 0 0 0 0 500 +cpu enabled cpu4 1 +cpu extra_info cpu4 1 +cpu chart_config cpu4 40 20 0 0 0 0 : 0 0 0 0 500 : 0 0 0 0 500 : 0 0 0 0 500 +cpu enabled cpu5 1 +cpu extra_info cpu5 1 +cpu chart_config cpu5 40 20 0 0 0 0 : 0 0 0 0 500 : 0 0 0 0 500 : 0 0 0 0 500 +cpu enabled cpu6 1 +cpu extra_info cpu6 1 +cpu chart_config cpu6 40 20 0 0 0 0 : 0 0 0 0 500 : 0 0 0 0 500 : 0 0 0 0 500 +cpu enabled cpu7 1 +cpu extra_info cpu7 1 +cpu chart_config cpu7 40 20 0 0 0 0 : 0 0 0 0 500 : 0 0 0 0 500 : 0 0 0 0 500 +cpu show_panel_labels 1 +cpu omit_nice_mode 0 +cpu config_tracking 0 +cpu sensor_mode 0 +cpu text_format $T +proc enable 1 1 +proc launch +proc tooltip_comment +proc sensor_mode 0 +proc text_format \w88\a$p\f procs\n\e$u\f users +proc chart_config 40 100 0 0 0 0 : 1 0 0 0 500 : 0 0 0 0 500 +disk assign_method 2 +disk device Disk 0 0 0 1 1 0 0 Disk +disk chart_config Disk 40 2000000 0 1 0 0 : 0 0 0 0 500 : 0 0 0 0 500 +disk device sda 0 0 45 0 1 -1 0 sda +disk device sda1 0 0 45 0 1 1 0 sda1 +disk device sda2 0 0 45 0 1 2 0 sda2 +disk device sda3 0 0 45 0 1 3 0 sda3 +disk device sda4 0 0 45 0 1 4 0 sda4 +disk device sda5 0 0 45 0 1 5 0 sda5 +disk device sda6 0 0 45 0 1 6 0 sda6 +disk device sda7 0 0 45 0 1 7 0 sda7 +disk device sda8 0 0 45 0 1 8 0 sda8 +disk device sda9 0 0 45 0 1 9 0 sda9 +disk device sr0 0 0 96 0 1 -1 0 sr0 +disk text_format $T +inet text_format all \t$a\f $l\N$A\f $L +inet update_interval all 1 +net enables eth0 1 1 0 +net chart_config eth0 40 150000 0 1 0 0 : 0 0 0 0 500 : 0 0 0 0 500 +net enables lo 0 1 0 +net enables proton0 1 1 0 +net chart_config proton0 40 150000 0 1 0 0 : 0 0 0 0 500 : 0 0 0 0 500 +net enables wlan0 1 1 0 +net chart_config wlan0 40 5 0 1 0 0 : 0 0 0 0 500 : 0 0 0 0 500 +net timer_enabled 1 +net timer_seconds 1 +net timer_iface none +net timer_on +net timer_off +net text_format $T\b\c\f$L +net reset_mday 1 +net net_enabled_as_default 1 +net net_stats_window_height 200 +meminfo mem_meter 1 0 0 +meminfo swap_meter 0 0 +meminfo swap_chart 0 1 +meminfo chart_config 20 20 0 1 0 0 : 0 0 0 0 500 : 0 0 0 0 500 +meminfo mem_launch $T +meminfo mem_tooltip +meminfo mem_data_format $t - $f free +meminfo swap_launch +meminfo swap_tooltip +meminfo swap_data_format $t - $f free +meminfo text_format $T +fs fs_check_timeout 2 +fs nfs_check_timeout 16 +fs auto_eject 0 +fs binary_units 0 +fs data_format $t - $f free +mail mailbox-local mbox /var/mail/yorune +mail mua +mail notify +mail fetch_command +mail remote_check_timeout 5 +mail local_check_timeout 4 +mail fetch_check_is_local 0 +mail msg_count_mode 0 +mail animation_select_mode 3 +mail fetch_check_only_mode 0 +mail reset_remote_mode 0 +mail unseen_is_new 0 +mail enable 0 0 0 0 +mail animation_continuous 0 +mail show_tooltip 1 +mail mh_seq_ignore 0 +battery enable 1 +battery enable_composite 1 +battery estimate_time 0 +battery estimate_time_discharge 1500 +battery estimate_time_charge 3000 +battery estimate_time_charge_model 0 +battery full_cap_fallback 5000 +battery poll_interval 5 +battery launch1 +battery tooltip_comment +battery alert_units_percent 0 +battery display_mode 0 0 +battery display_mode 0 1 +uptime enable 1 +uptime launch +uptime tooltip diff --git a/.local/bin/browser-x b/.local/bin/browser-x index 4afead2..eea5f4a 100755 --- a/.local/bin/browser-x +++ b/.local/bin/browser-x @@ -1,3 +1,3 @@ #!/bin/bash -GDK_DPI_SCALE="1.25" firefox -#google-chrome-stable --force-device-scale-factor=1.25& +#GDK_DPI_SCALE="1.25" firefox +google-chrome-stable --force-device-scale-factor=1.25& diff --git a/.local/bin/dwmstatusbar b/.local/bin/dwmstatusbar index d76bd38..d5bef3f 100755 --- a/.local/bin/dwmstatusbar +++ b/.local/bin/dwmstatusbar @@ -74,5 +74,5 @@ usageData() { while true do - xsetroot -name "$(print_temp) | $(print_mem) | $(print_wifi) | $(testweather) | $(batLevel) | $(print_volume) | $(print_date)" + xsetroot -name "$(print_temp) | $(print_mem) | $(print_wifi) | $(batLevel) | $(print_volume) | $(print_date)" done diff --git a/.local/bin/mailsync b/.local/bin/mailsync index 87f823f..bcd0707 100755 --- a/.local/bin/mailsync +++ b/.local/bin/mailsync @@ -1,25 +1,37 @@ #!/bin/sh -set -x + +# Sync mail and give notification if there is new mail. + +# Run only if user logged in (prevent cron errors) pgrep -u "${USER:=$LOGNAME}" >/dev/null || { echo "$USER not logged in; sync will not run."; exit ;} +# Run only if not already running in other instance pgrep -x mbsync >/dev/null && { echo "mbsync is already running." ; exit ;} +# Checks for internet connection and set notification script. ping -q -c 1 1.1.1.1 > /dev/null || { echo "No internet connection detected."; exit ;} command -v notify-send >/dev/null || echo "Note that \`libnotify\` or \`libnotify-send\` should be installed for pop-up mail notifications with this script." +# Required to display notifications if run as a cronjob: DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u)/bus +# For individual configurations: [ -d "$HOME/.local/share/password-store" ] && export PASSWORD_STORE_DIR="$HOME/.local/share/password-store" -notify() { notify-send --app-name="mutt-wizard" "mutt-wizard" "📬 $2 new mail(s) in \`$1\` account." ;} -messageinfo() { notify-send --app-name="mutt-wizard" "📧$from:" "$subject" ;} +# Settings are different for MacOS (Darwin) systems. +if [ "$(uname)" = "Darwin" ]; then + notify() { osascript -e "display notification \"$2 in $1\" with title \"You've got Mail\" subtitle \"Account: $account\"" && sleep 2 ;} + messageinfo() { osascript "display notification with title \"📧 $from\" subtitle \"$subject\"" ;} +else + notify() { notify-send --app-name="mutt-wizard" "mutt-wizard" "📬 $2 new mail(s) in \`$1\` account." ;} + messageinfo() { notify-send --app-name="mutt-wizard" "📧$from:" "$subject" ;} +fi +# Check account for new mail. Notify if there is new content. syncandnotify() { acc="$(echo "$account" | sed "s/.*\///")" mbsync $opts "$acc" new=$(find $(ls $HOME/.local/share/mail/$acc/* | grep -i inbox | sed 's/\://')/new -type f -newer "$HOME/.config/mutt/.mailsynclastrun" 2> /dev/null) newcount=$(echo "$new" | sed '/^\s*$/d' | wc -l) - echo $acc - echo $newcount if [ "$newcount" -gt "0" ]; then notify "$acc" "$newcount" & for file in $new; do @@ -31,6 +43,7 @@ syncandnotify() { fi } +# Sync accounts passed as argument or all. if [ "$#" -eq "0" ]; then accounts="$(awk '/^Channel/ {print $2}' "$HOME/.mbsyncrc")" else @@ -43,6 +56,7 @@ fi echo " 🔃" > /tmp/imapsyncicon_"$USER" ( pkill -RTMIN+12 "${STATUSBAR:-blocks}" >/dev/null 2>&1 ) 2>/dev/null +# Parallelize multiple accounts for account in $accounts do syncandnotify & diff --git a/.wmWeatherReports/EPPO.TXT b/.wmWeatherReports/EPPO.TXT new file mode 100644 index 0000000..8dd49ca --- /dev/null +++ b/.wmWeatherReports/EPPO.TXT @@ -0,0 +1,10 @@ +Poznan, Poland (EPPO) 52-25N 016-50E 92M +May 16, 2020 - 10:00 AM EDT / 2020.05.16 1400 UTC +Wind: from the W (280 degrees) at 15 MPH (13 KT):0 +Visibility: greater than 7 mile(s):0 +Temperature: 57 F (14 C) +Dew Point: 33 F (1 C) +Relative Humidity: 41% +Pressure (altimeter): 30.09 in. Hg (1019 hPa) +ob: EPPO 161400Z 28013KT CAVOK 14/01 Q1019 +cycle: 14 diff --git a/.wmWeatherReports/EPPO.dat b/.wmWeatherReports/EPPO.dat new file mode 100644 index 0000000..29c36dd --- /dev/null +++ b/.wmWeatherReports/EPPO.dat @@ -0,0 +1,11 @@ +Poznan, Poland (EPPO) 52-25N 016-50E 92M +May 16, 2020 - 10:00 AM EDT / 2020.05.16 1400 UTC + +14:00 +57 +33 +-99 +30.09 +41 +280 +14.97015 diff --git a/.xinitrc b/.xinitrc index b38267c..87f3f39 100644 --- a/.xinitrc +++ b/.xinitrc @@ -9,7 +9,8 @@ compton& feh --bg-fill $HOME/.wall.jpg & redshift -l 53.2327:18.3036 -t 6500:3200& nm-applet --sm-disable& -/usr/local/bin/st -e /bin/sh -c "tmux new-session -s BASE -n HOME '/bin/zsh'\; split-window 'htop'\; new-window -n NEWSBOAT 'newsboat'\; new-window -n MUSIC 'cmus'"& +/usr/local/bin/st -e /bin/sh -c "tmux new-session -s BASE -n HOME '/bin/zsh'\; split-window 'htop'\; new-window -n MAIL 'neomutt'\; new-window -n DISCORD 'sh /home/yorune/git/cordless/cordless'\; new-window -n IRC 'irssi'\; new-window -n NEWSBOAT 'newsboat'\; new-window -n MUSIC 'cmus'"& +DISPLAY=:0 gkrellm& sudo /root/.local/bin/protonvpn c -f& browser-x& password-manager& diff --git a/.zshrc b/.zshrc index 00a2ead..c3446f0 100644 --- a/.zshrc +++ b/.zshrc @@ -77,7 +77,7 @@ alias code="vscodium" alias vpn="sudo /root/.local/bin/protonvpn c -f" alias vpnch="sudo /root/.local/bin/protonvpn c --cc CH" alias vpnd="sudo /root/.local/bin/protonvpn d" -alias vpnstatus="sudo /root/.local/bin/protonvpn status" +alias vpns="sudo /root/.local/bin/protonvpn status" alias prolog="swipl" # Cleaning-up