I HAVE NO IDEA!

This commit is contained in:
Chris Cochrun 2021-12-10 12:02:06 -06:00
parent 9a725dcc03
commit 5729629ba7
15 changed files with 298 additions and 206 deletions

@ -1 +1 @@
Subproject commit 0fb85341916b6de1c5cd6ddf3e8472292a93a303
Subproject commit 048cf41e0aa5a391948d62e6168d6e54279cf627

View file

@ -52,7 +52,7 @@
(local bling (require "bling"))
;; (local awestore (require "awestore"))
(set naughty.config.defaults.position "bottom_middle")
(set naughty.config.defaults.position "top_middle")
(set naughty.config.defaults.margin 10)
(set naughty.config.defaults.border_width 0)
(set naughty.config.defaults.hover_timeout 5)
@ -87,7 +87,7 @@
(if (= "syl\n" stdout)
(global laptop true)
(global laptop false))))
(local laptop true)
(local laptop false)
;; Table of layouts to cover with awful.layout.inc, order matters.
(set awful.layout.layouts [
@ -268,12 +268,12 @@
:id "background_role"
:widget wibox.container.background
}
:widget wibox.container.margin
:left (dpi 10)
:right (dpi 1)
:top (dpi 5)
:bottom (dpi 5)
}
:widget wibox.container.margin
:left (dpi 10)
:right (dpi 1)
:top (dpi 5)
:bottom (dpi 5)
}
}))
(set s.myminimizedtasklist (awful.widget.tasklist {
@ -343,14 +343,20 @@
:valign ""
:widget wibox.widget.textbox}))
(set s.temptext (awful.widget.watch "cat /sys/class/thermal/thermal_zone3/temp" 10))
(set s.tempicon (wibox.widget.textbox " "))
(set s.tempspace (wibox.widget.textbox " "))
(set s.tempwidget (wibox.widget {
1 s.tempicon
2 s.temptext
3 s.tempspace
:layout wibox.layout.fixed.horizontal}))
(set s.pingtext (awful.widget.watch "ping.sh" 15))
(set s.pingspace (wibox.widget.textbox " "))
(set s.pingwidget {1 {1 {1 (wibox.widget {
1 s.pingtext
2 s.pingspace
:layout wibox.layout.fixed.horizontal})
:widget wibox.container.margin
:left (dpi 5)}
:widget wibox.container.background
:shape gears.shape.rounded_bar
:bg beautiful.transparent
:fg beautiful.base0C}
:widget wibox.container.margin
:right (dpi 5)})
(set s.volumetext (awful.widget.watch "pamixer --get-volume-human" 0.5))
(set s.mictext (awful.widget.watch "pamixer --default-source --get-volume-human" 1))
@ -506,14 +512,15 @@
(set s.myrightwidgets {
1 {
:layout wibox.layout.fixed.horizontal
1 s.netwidget
2 s.mailwidget
3 s.memwidget
4 s.cpuwidget
5 s.volumewidget
6 (if laptop s.batterywidget s.myemptywidget)
7 (if (= s.index 1) s.mysystray)
8 s.mylayoutbox
1 s.pingwidget
2 s.netwidget
3 s.mailwidget
4 s.memwidget
5 s.cpuwidget
6 s.volumewidget
7 (if laptop s.batterywidget s.myemptywidget)
8 (if (= s.index 1) s.mysystray)
9 s.mylayoutbox
}
:widget wibox.container.margin
:top (dpi 1)

View file

@ -31,7 +31,6 @@
:dont_focus_before_close true
;; :awestore {:x anim-x :y anim-y}
}))
(fn get-volume [?callback]
(let [cb (or ?callback (fn [] nil))]
(awful.spawn.easy_async_with_shell "pamixer --get-volume-human" cb)))
@ -207,6 +206,14 @@
(awful.key [] "XF86Launch8" (fn [] (awful.spawn "pactl set-source-mute @DEFAULT_SOURCE@ toggle")
(awful.spawn "paplay /usr/share/sounds/freedesktop/stereo/audio-volume-change.oga"))
{:description "Mute microphone" :group "audio"})
(awful.key [] "F6" (fn [] (awful.spawn "playerctl play-pause"))
{:description "Play-pause playback" :group "audio"})
(awful.key [] "F5" (fn [] (awful.spawn "playerctl position 10-"))
{:description "Previous 10s playback" :group "audio"})
(awful.key [] "F7" (fn [] (awful.spawn "playerctl position 10+"))
{:description "Previous 10s playback" :group "audio"})
(awful.key [] "F8" (fn [] (awful.spawn "getplayerstatus"))
{:description "Get status audio" :group "audio"})
(awful.key [modkey] "]" (fn [] (awful.spawn "mpvc -x 0.10"))
{:description "MPV speed up by .10" :group "audio"})
(awful.key [modkey] "[" (fn [] (awful.spawn "mpvc -x -0.10"))

View file

@ -0,0 +1,4 @@
# Automatically generated by espanso migration tool
# Original file: default.yml
{}

View file

@ -4,6 +4,10 @@
# You can refer to the official documentation:
# https://espanso.org/docs/
# disable search bar
search_shortcut: OFF
search_trigger: OFF
# Matches are the substitution rules, when you type the "trigger" string
# it gets replaced by the "replace" string.
matches:

28
espanso/match/base.yml Normal file
View file

@ -0,0 +1,28 @@
# Automatically generated by espanso migration tool
# Original file: default.yml
matches:
- trigger: ":espanso"
replace: Hi there!
- trigger: ":date"
replace: "{{mydate}}"
vars:
- name: mydate
type: date
params:
format: "%m/%d/%Y"
- trigger: ":shell"
replace: "{{output}}"
vars:
- name: output
type: shell
params:
cmd: echo Hello from your shell
- trigger: ":gml"
replace: ccochrun21@gmail.com
- trigger: ":otl"
replace: chris.cochrun@outlook.com
- trigger: ":tfcml"
replace: chris@tfcconnection.org
- trigger: ":name"
replace: Chris Cochrun

View file

@ -0,0 +1,11 @@
# Automatically generated by espanso migration tool
# Original file: packages/dadjoke/package.yml
matches:
- trigger: ":dadjoke"
replace: "{{output}}"
vars:
- name: output
type: shell
params:
cmd: "curl -H 'Accept: text/plain' https://icanhazdadjoke.com/"

View file

@ -27,10 +27,10 @@ shadow-radius = 38;
shadow-opacity = 1.0;
# The left offset for shadows, in pixels. (defaults to -15)
shadow-offset-x = -28;
shadow-offset-x = -26;
# The top offset for shadows, in pixels. (defaults to -15)
shadow-offset-y = -28;
shadow-offset-y = -26;
# Avoid drawing shadows on dock/panel windows. This option is deprecated,
# you should use the *wintypes* option in your config file instead.

View file

@ -26,10 +26,12 @@ settings:
https://staff.tfcconnection.org: true
content.notifications.enabled:
https://jelly.cochrun.xyz: true
https://na.op.gg: false
https://nc.cochrun.xyz: false
https://staff.tfcconnection.org: true
https://teams.microsoft.com: true
https://toolbox.iskysoft.com: false
https://www.dailymail.co.uk: false
https://www.facebook.com: false
https://www.g2a.com: false
https://www.reddit.com: false

View file

@ -1,4 +1,9 @@
https://yewtu.be/feed/subscriptions Subscriptions - YewTube
https://portal.azure.com/#@tfcconnection.org/dashboard/private/e5f3455d-3737-47d8-852b-1847a3b4801b Dashboard - Microsoft Azure
https://asciiflow.com/#/ ASCIIFlow
<<<<<<< HEAD
https://photos.cochrun.xyz/people/new PhotoPrism: People
=======
https://staff.tfcconnection.org/apps/files/?dir=/TFC%20Documents&fileid=340 TFC Documents - Files - TFC Staff
https://www.tfcconnection.org/wp-login.php Log In Teens For Christ Connection — WordPress
>>>>>>> 03da7fa (I HAVE NO IDEA!)

View file

@ -24,5 +24,10 @@ nc https://nc.cochrun.xyz/apps/files/
oml https://outlook.live.com/mail/0/inbox
stb https://table.tfcconnection.org/
tms https://teams.microsoft.com/_#/conversations/General
<<<<<<< HEAD
n8n https://n8n.tfcconnection.org/workflow
stbdocs https://api.seatable.io/#intro
=======
svg https://icon-sets.iconify.design/
icons https://icon-sets.iconify.design/
>>>>>>> 03da7fa (I HAVE NO IDEA!)

View file

@ -0,0 +1,13 @@
/*-*- mode: css; -*-*/
configuration {
font: "VictorMono Nerd Font 14.0";
show-icons: false;
}
@import "/home/chris/.config/rofi/config.rasi"
window {
width: 70%;
}

2
scripts/getplayerstatus Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
notify-send "$(playerctl metadata xesam:title)"

3
scripts/ping.sh Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
ping=$(ping -c 4 1.1.1.1 | tail -1| awk '{print $4}' | cut -d '/' -f 2)
echo "$ping"

View file

@ -11,4 +11,5 @@ sleep 1
latte-restart
exec xcape -e 'Super_L=Super_L|Control_L|Escape'
xcape -e 'Super_L=Super_L|Control_L|Escape'