I DONLT KNOW ANYMORE!!

This commit is contained in:
Chris Cochrun 2022-01-03 12:27:41 -06:00
parent 5729629ba7
commit ed8d575d18
18 changed files with 88 additions and 55 deletions

View file

@ -170,7 +170,7 @@
{:description "select pass" :group "apps" }) {:description "select pass" :group "apps" })
(awful.key [ modkey shift ] "w" (fn [] (awful.spawn "libreoffice --writer")) (awful.key [ modkey shift ] "w" (fn [] (awful.spawn "libreoffice --writer"))
{:description "Open Writer" :group "apps" }) {:description "Open Writer" :group "apps" })
(awful.key [modkey] "b" (fn [] (awful.spawn "qblof")) (awful.key [modkey] "b" (fn [] (awful.spawn "fflof"))
{:description "launch browser" :group "apps"}) {:description "launch browser" :group "apps"})
;; rofi ;; rofi
(awful.key [] "Menu" (fn [] (awful.spawn "/home/chris/.config/rofi/launchers-git/launcher.sh")) (awful.key [] "Menu" (fn [] (awful.spawn "/home/chris/.config/rofi/launchers-git/launcher.sh"))

View file

@ -2,8 +2,8 @@
osc=no osc=no
vo=gpu vo=gpu
af=scaletempo2 af=scaletempo2
autofit=80% autofit=90%
geometry=80%:80% geometry=90%:90%
# input-ipc-server="/tmp/mpvsocket" # input-ipc-server="/tmp/mpvsocket"
hwdec=auto hwdec=auto
rtsp-transport=udp rtsp-transport=udp

View file

@ -34,6 +34,7 @@ settings:
https://www.dailymail.co.uk: false https://www.dailymail.co.uk: false
https://www.facebook.com: false https://www.facebook.com: false
https://www.g2a.com: false https://www.g2a.com: false
https://www.pocket-lint.com: false
https://www.reddit.com: false https://www.reddit.com: false
https://www.websitebuilderexpert.com: false https://www.websitebuilderexpert.com: false
https://www.youtube.com: false https://www.youtube.com: false

View file

@ -1,9 +1,6 @@
https://yewtu.be/feed/subscriptions Subscriptions - YewTube https://yewtu.be/feed/subscriptions Subscriptions - YewTube
https://portal.azure.com/#@tfcconnection.org/dashboard/private/e5f3455d-3737-47d8-852b-1847a3b4801b Dashboard - Microsoft Azure https://portal.azure.com/#@tfcconnection.org/dashboard/private/e5f3455d-3737-47d8-852b-1847a3b4801b Dashboard - Microsoft Azure
https://asciiflow.com/#/ ASCIIFlow https://asciiflow.com/#/ ASCIIFlow
<<<<<<< HEAD
https://photos.cochrun.xyz/people/new PhotoPrism: People 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://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 https://www.tfcconnection.org/wp-login.php Log In Teens For Christ Connection — WordPress
>>>>>>> 03da7fa (I HAVE NO IDEA!)

View file

@ -2162,7 +2162,7 @@ c.url.searchengines = {
## Default zoom level. ## Default zoom level.
## Type: Perc ## Type: Perc
# c.zoom.default = '100%' c.zoom.default = '100%'
## Available zoom levels. ## Available zoom levels.
## Type: List of Perc ## Type: List of Perc
@ -2494,6 +2494,8 @@ config.bind(
"hint links spawn alacritty -e yt-dlp -x --audio-format mp3 --audio-quality 0 --embed-thumbnail --add-metadata -o ~/Music/%(title)s.%(ext)s {hint-url}", "hint links spawn alacritty -e yt-dlp -x --audio-format mp3 --audio-quality 0 --embed-thumbnail --add-metadata -o ~/Music/%(title)s.%(ext)s {hint-url}",
) )
config.bind("gt", 'hint links spawn --detach transadd "{hint-url}"')
config.bind('d', 'tab-close') config.bind('d', 'tab-close')
config.bind('b', 'set-cmd-text -s :tab-select ') config.bind('b', 'set-cmd-text -s :tab-select ')

View file

@ -1,6 +1,6 @@
[FileDialog] [FileDialog]
history=@Invalid() history=@Invalid()
lastVisited=file:///home/chris/ lastVisited=file:///home/chris/nextcloud/tfc/website/
qtVersion=5.15.2 qtVersion=5.15.2
shortcuts=file:, file:///home/chris, file:///home/chris/storage/tfc shortcuts=file:, file:///home/chris, file:///home/chris/storage/tfc
sidebarWidth=116 sidebarWidth=116

View file

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

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
if [ $(hostname) = "syl" ]; then if [ $(hostname) = "syl" ]; then
style="laptop" style="laptop-wayland"
#echo "this is hidpi" #echo "this is hidpi"
else else
style="desktop" style="desktop"

View file

@ -6,10 +6,10 @@ if [ $(pgrep -c emacsclient) -gt 0 ]; then
if [ $XDG_SESSION_TYPE = "x11" ]; then if [ $XDG_SESSION_TYPE = "x11" ]; then
#X11 #X11
emacsrg=$(wmctrl -lx | rg emacs | rg -v org-agenda | awk '{print $1}') emacsrg=$(wmctrl -lx | rg emacs | rg -v org-agenda | awk '{print $1}')
echo $emacsrg # echo $emacsrg
if [ -z $emacsrg ]; then if [ -z $emacsrg ]; then
emacsclient -c emacsclient -c &
exit exit
else else
wmctrl -ia $emacsrg wmctrl -ia $emacsrg
@ -17,16 +17,21 @@ if [ $(pgrep -c emacsclient) -gt 0 ]; then
fi fi
else else
# WAYLAND if [ $KDE_FULL_SESSION = "true" ]; then
emacsrg=$(wlrctl window list | rg -v 'emacs:\sorg-agenda' | rg 'emacs:') ww -f emacs -c emacsclient
exit
else
# WAYLAND
emacsrg=$(wlrctl window list | rg -v 'emacs:\sorg-agenda' | rg 'emacs:')
emacswin=$(echo $emacsrg | sed 's/.*\: //') emacswin=$(echo $emacsrg | sed 's/.*\: //')
echo $emacswin # echo $emacswin
wlrctl toplevel focus title:"$emacswin" wlrctl toplevel focus title:"$emacswin"
exit exit
fi
fi fi
else else
emacsclient -c emacsclient -c &
fi fi

View file

@ -1,4 +1,6 @@
#!/bin/sh #!/bin/sh
export MOZ_ENABLE_WAYLAND=1
echo $MOZ_ENABLE_WAYLAND
# Check to see if firefox is running # Check to see if firefox is running
if [ $(pgrep -c GeckoMain) -gt 0 ]; then if [ $(pgrep -c GeckoMain) -gt 0 ]; then
@ -16,14 +18,19 @@ if [ $(pgrep -c GeckoMain) -gt 0 ]; then
exit exit
fi fi
else else
# WAYLAND if [ $KDE_FULL_SESSION = "true" ]; then
ffrg=$(wlrctl window list | rg firefox) ww -f firefox -c firefox
exit
else
# WAYLAND
ffrg=$(wlrctl window list | rg firefox)
ffwin=$(echo $ffrg | sed 's/.*\: //') ffwin=$(echo $ffrg | sed 's/.*\: //')
# echo $ffwin # echo $ffwin
wlrctl toplevel focus title:"$ffwin" wlrctl toplevel focus title:"$ffwin"
exit exit
fi
fi fi
else else
firefox firefox

View file

@ -1,8 +1,13 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Very basic interface for rbw using rofi # Very basic interface for rbw using rofi
if [ $(hostname) = "syl" ]; then if [ $(hostname) = "syl" ]; then
style="laptop-rbw-wayland" if [ $XDG_SESSION_TYPE = "x11" ]; then
#echo "this is hidpi" style="laptop-rbw"
echo "this is x11"
else
style="laptop-rbw-wayland"
echo "this is wayland"
fi
else else
style="desktop-rbw" style="desktop-rbw"
#echo "this is not hidpi" #echo "this is not hidpi"

View file

@ -18,14 +18,19 @@ if pgrep -x nyxt > /dev/null; then
fi fi
else else
echo wayland echo wayland
# WAYLAND if [ $KDE_FULL_SESSION = "true" ]; then
nyxtrg=$(wlrctl window list | rg nyxt:) ww -f nyxt -c nyxt
exit
else
# WAYLAND
nyxtrg=$(wlrctl window list | rg nyxt:)
nyxtwin=$(echo $nyxtrg | sed 's/.*\: //') nyxtwin=$(echo $nyxtrg | sed 's/.*\: //')
# echo $nyxtwin # echo $nyxtwin
wlrctl toplevel focus nyxt wlrctl toplevel focus nyxt
exit exit
fi
fi fi
else else
echo not running echo not running

View file

@ -1,15 +1,7 @@
#!/bin/sh #!/bin/sh
exec ydotoold & exec ydotoold &
exec libinput-gestures-setup start service & exec systemctl enable --user --now libinput-gestures &
sleep 2
killall mako
sleep 1
latte-restart
xcape -e 'Super_L=Super_L|Control_L|Escape' xcape -e 'Super_L=Super_L|Control_L|Escape'

View file

@ -3,8 +3,11 @@
# Check to see if firefox is running # Check to see if firefox is running
if pgrep -x qutebrowser > /dev/null; then if pgrep -x qutebrowser > /dev/null; then
echo "qb running"
if [ $XDG_SESSION_TYPE = "x11" ]; then if [ $XDG_SESSION_TYPE = "x11" ]; then
#X11 #X11
echo "X11"
qbrg=$(wmctrl -lx | rg qutebrowser | awk '{print $1}') qbrg=$(wmctrl -lx | rg qutebrowser | awk '{print $1}')
# echo $emacsrg # echo $emacsrg
@ -16,14 +19,19 @@ if pgrep -x qutebrowser > /dev/null; then
exit exit
fi fi
else else
# WAYLAND if [ $KDE_FULL_SESSION = "true" ]; then
qbrg=$(wlrctl window list | rg qutebrowser) ww -f org.qutebrowser.qutebrowser -c qutebrowser
exit
else
# WAYLAND
qbrg=$(wlrctl window list | rg qutebrowser)
qbwin=$(echo $qbrg | sed 's/.*\: //') qbwin=$(echo $qbrg | sed 's/.*\: //')
# echo $ffwin # echo $ffwin
wlrctl toplevel focus title:"$qbwin" wlrctl toplevel focus title:"$qbwin"
exit exit
fi
fi fi
else else
qutebrowser qutebrowser

2
scripts/study-off.sh Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
curl -X POST -F 'name=value' https://home.cochrun.xyz/api/webhook/study-off

2
scripts/study-on.sh Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
curl -X POST -F 'name=value' https://home.cochrun.xyz/api/webhook/study-on

View file

@ -54,10 +54,10 @@ gaps inner 10
default_border none default_border none
border_images.focused /home/chris/.config/sway/rounded_and_shadows_custom.png # border_images.focused /home/chris/.config/sway/rounded_and_shadows_custom.png
border_images.focused_inactive /home/chris/.config/sway/rounded_and_shadows_custom.png # border_images.focused_inactive /home/chris/.config/sway/rounded_and_shadows_custom.png
border_images.unfocused /home/chris/.config/sway/rounded_and_shadows_custom.png # border_images.unfocused /home/chris/.config/sway/rounded_and_shadows_custom.png
border_images.urgent /home/chris/.config/sway/rounded_and_shadows_custom.png # border_images.urgent /home/chris/.config/sway/rounded_and_shadows_custom.png
font pango: VictorMono Nerd Font 10 font pango: VictorMono Nerd Font 10
show_marks yes show_marks yes

View file

@ -52,17 +52,26 @@ command org-capture composite get_current_url | js -p tri.excmds.exclaim_quiet('
" MPV " MPV
command mpv js -p tri.excmds.shellescape(JS_ARG).then(url => tri.excmds.exclaim_quiet('mpv --profile=fast ' + url)) command mpv js -p tri.excmds.shellescape(JS_ARG).then(url => tri.excmds.exclaim_quiet('mpv --profile=fast ' + url))
unbind v
command torrent js -p tri.excmds.shellescape(JS_ARG).then(url => tri.excmds.exclaim_quiet('transadd ' + url))
"" Adding my own bindings "" Adding my own bindings
bind v hint -W mpv bind v hint -W mpv
bind gt hint -W torrent
bind gv current_url mpv bind gv current_url mpv
bind F hint -w bind F hint -w
bind gy hint -y bind gy hint -y
bind gc org-capture bind gc org-capture
bind gC hint -W org-capture bind gC hint -W org-capture
bind m fillcmdline quickmark bind m fillcmdline quickmark
bind O fillcmdline tabopen
"" buffers show as windows "" buffers show as windows
bind b fillcmdline taball bind b fillcmdline taball
"" Smoothscroll "" Smoothscroll
set smoothscroll false set smoothscroll true
bind --mode=ex <C-j> ex.next_completion
bind --mode=ex <C-k> ex.prev_completion