I DONLT KNOW ANYMORE!!
This commit is contained in:
		
							parent
							
								
									5729629ba7
								
							
						
					
					
						commit
						ed8d575d18
					
				
					 18 changed files with 88 additions and 55 deletions
				
			
		| 
						 | 
				
			
			@ -170,7 +170,7 @@
 | 
			
		|||
                                {:description "select pass" :group "apps" })
 | 
			
		||||
                     (awful.key [ modkey shift ] "w" (fn [] (awful.spawn "libreoffice --writer"))
 | 
			
		||||
                                {: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"})
 | 
			
		||||
                     ;; rofi
 | 
			
		||||
                     (awful.key [] "Menu" (fn [] (awful.spawn "/home/chris/.config/rofi/launchers-git/launcher.sh"))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -2,8 +2,8 @@
 | 
			
		|||
osc=no
 | 
			
		||||
vo=gpu
 | 
			
		||||
af=scaletempo2
 | 
			
		||||
autofit=80%
 | 
			
		||||
geometry=80%:80%
 | 
			
		||||
autofit=90%
 | 
			
		||||
geometry=90%:90%
 | 
			
		||||
# input-ipc-server="/tmp/mpvsocket"
 | 
			
		||||
hwdec=auto
 | 
			
		||||
rtsp-transport=udp
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -34,6 +34,7 @@ settings:
 | 
			
		|||
    https://www.dailymail.co.uk: false
 | 
			
		||||
    https://www.facebook.com: false
 | 
			
		||||
    https://www.g2a.com: false
 | 
			
		||||
    https://www.pocket-lint.com: false
 | 
			
		||||
    https://www.reddit.com: false
 | 
			
		||||
    https://www.websitebuilderexpert.com: false
 | 
			
		||||
    https://www.youtube.com: false
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,9 +1,6 @@
 | 
			
		|||
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!)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -2162,7 +2162,7 @@ c.url.searchengines = {
 | 
			
		|||
 | 
			
		||||
## Default zoom level.
 | 
			
		||||
## Type: Perc
 | 
			
		||||
# c.zoom.default = '100%'
 | 
			
		||||
c.zoom.default = '100%'
 | 
			
		||||
 | 
			
		||||
## Available zoom levels.
 | 
			
		||||
## 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}",
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
config.bind("gt", 'hint links spawn --detach transadd "{hint-url}"')
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
config.bind('d', 'tab-close')
 | 
			
		||||
config.bind('b', 'set-cmd-text -s :tab-select ')
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,6 +1,6 @@
 | 
			
		|||
[FileDialog]
 | 
			
		||||
history=@Invalid()
 | 
			
		||||
lastVisited=file:///home/chris/
 | 
			
		||||
lastVisited=file:///home/chris/nextcloud/tfc/website/
 | 
			
		||||
qtVersion=5.15.2
 | 
			
		||||
shortcuts=file:, file:///home/chris, file:///home/chris/storage/tfc
 | 
			
		||||
sidebarWidth=116
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -24,10 +24,8 @@ 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!)
 | 
			
		||||
ai https://mastodon.online/web/getting-started
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
#!/usr/bin/env bash
 | 
			
		||||
 | 
			
		||||
if [ $(hostname) = "syl" ]; then
 | 
			
		||||
    style="laptop"
 | 
			
		||||
    style="laptop-wayland"
 | 
			
		||||
    #echo "this is hidpi"
 | 
			
		||||
else 
 | 
			
		||||
    style="desktop"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -6,27 +6,32 @@ if [ $(pgrep -c emacsclient) -gt 0 ]; then
 | 
			
		|||
    if [ $XDG_SESSION_TYPE = "x11" ]; then
 | 
			
		||||
        #X11
 | 
			
		||||
        emacsrg=$(wmctrl -lx | rg emacs | rg -v org-agenda | awk '{print $1}')
 | 
			
		||||
        echo $emacsrg
 | 
			
		||||
        # echo $emacsrg
 | 
			
		||||
 | 
			
		||||
        if [ -z $emacsrg ]; then
 | 
			
		||||
            emacsclient -c
 | 
			
		||||
            emacsclient -c &
 | 
			
		||||
            exit
 | 
			
		||||
        else
 | 
			
		||||
            wmctrl -ia $emacsrg
 | 
			
		||||
            exit
 | 
			
		||||
        fi
 | 
			
		||||
 | 
			
		||||
    else
 | 
			
		||||
        if [ $KDE_FULL_SESSION = "true" ]; then
 | 
			
		||||
            ww -f emacs -c emacsclient
 | 
			
		||||
            exit
 | 
			
		||||
        else
 | 
			
		||||
            # WAYLAND
 | 
			
		||||
            emacsrg=$(wlrctl window list | rg -v 'emacs:\sorg-agenda' | rg 'emacs:')
 | 
			
		||||
 | 
			
		||||
            emacswin=$(echo $emacsrg | sed 's/.*\: //')
 | 
			
		||||
        echo $emacswin
 | 
			
		||||
            # echo $emacswin
 | 
			
		||||
 | 
			
		||||
            wlrctl toplevel focus title:"$emacswin"
 | 
			
		||||
            exit
 | 
			
		||||
        fi
 | 
			
		||||
    fi
 | 
			
		||||
 | 
			
		||||
else
 | 
			
		||||
    emacsclient -c
 | 
			
		||||
    emacsclient -c &
 | 
			
		||||
fi
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,6 @@
 | 
			
		|||
#!/bin/sh
 | 
			
		||||
export MOZ_ENABLE_WAYLAND=1
 | 
			
		||||
echo $MOZ_ENABLE_WAYLAND
 | 
			
		||||
 | 
			
		||||
# Check to see if firefox is running
 | 
			
		||||
if [ $(pgrep -c GeckoMain) -gt 0 ]; then
 | 
			
		||||
| 
						 | 
				
			
			@ -15,6 +17,10 @@ if [ $(pgrep -c GeckoMain) -gt 0 ]; then
 | 
			
		|||
            wmctrl -ia $ffrg
 | 
			
		||||
            exit
 | 
			
		||||
        fi
 | 
			
		||||
    else
 | 
			
		||||
        if [ $KDE_FULL_SESSION = "true" ]; then
 | 
			
		||||
            ww -f firefox -c firefox
 | 
			
		||||
            exit
 | 
			
		||||
        else
 | 
			
		||||
            # WAYLAND
 | 
			
		||||
            ffrg=$(wlrctl window list | rg firefox)
 | 
			
		||||
| 
						 | 
				
			
			@ -25,6 +31,7 @@ if [ $(pgrep -c GeckoMain) -gt 0 ]; then
 | 
			
		|||
            wlrctl toplevel focus title:"$ffwin"
 | 
			
		||||
            exit
 | 
			
		||||
        fi
 | 
			
		||||
    fi
 | 
			
		||||
else
 | 
			
		||||
    firefox
 | 
			
		||||
fi
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,8 +1,13 @@
 | 
			
		|||
#!/usr/bin/env bash
 | 
			
		||||
# Very basic interface for rbw using rofi
 | 
			
		||||
if [ $(hostname) = "syl" ]; then
 | 
			
		||||
       if [ $XDG_SESSION_TYPE = "x11" ]; then
 | 
			
		||||
           style="laptop-rbw"
 | 
			
		||||
           echo "this is x11"
 | 
			
		||||
       else
 | 
			
		||||
           style="laptop-rbw-wayland"
 | 
			
		||||
    #echo "this is hidpi"
 | 
			
		||||
           echo "this is wayland"
 | 
			
		||||
       fi
 | 
			
		||||
else 
 | 
			
		||||
    style="desktop-rbw"
 | 
			
		||||
    #echo "this is not hidpi"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -18,6 +18,10 @@ if pgrep -x nyxt > /dev/null; then
 | 
			
		|||
        fi
 | 
			
		||||
    else
 | 
			
		||||
        echo wayland
 | 
			
		||||
        if [ $KDE_FULL_SESSION = "true" ]; then
 | 
			
		||||
            ww -f nyxt -c nyxt
 | 
			
		||||
            exit
 | 
			
		||||
        else
 | 
			
		||||
            # WAYLAND
 | 
			
		||||
            nyxtrg=$(wlrctl window list | rg nyxt:)
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -27,6 +31,7 @@ if pgrep -x nyxt > /dev/null; then
 | 
			
		|||
            wlrctl toplevel focus nyxt
 | 
			
		||||
            exit
 | 
			
		||||
        fi
 | 
			
		||||
    fi
 | 
			
		||||
else
 | 
			
		||||
    echo not running
 | 
			
		||||
    nyxt
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,15 +1,7 @@
 | 
			
		|||
#!/bin/sh
 | 
			
		||||
 | 
			
		||||
exec ydotoold &
 | 
			
		||||
exec libinput-gestures-setup start service &
 | 
			
		||||
 | 
			
		||||
sleep 2
 | 
			
		||||
 | 
			
		||||
killall mako
 | 
			
		||||
 | 
			
		||||
sleep 1
 | 
			
		||||
 | 
			
		||||
latte-restart
 | 
			
		||||
exec systemctl enable --user --now libinput-gestures &
 | 
			
		||||
 | 
			
		||||
xcape -e 'Super_L=Super_L|Control_L|Escape'
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -3,8 +3,11 @@
 | 
			
		|||
# Check to see if firefox is running
 | 
			
		||||
if pgrep -x qutebrowser > /dev/null; then
 | 
			
		||||
 | 
			
		||||
    echo "qb running"
 | 
			
		||||
 | 
			
		||||
    if [ $XDG_SESSION_TYPE = "x11" ]; then
 | 
			
		||||
        #X11
 | 
			
		||||
        echo "X11"
 | 
			
		||||
        qbrg=$(wmctrl -lx | rg qutebrowser | awk '{print $1}')
 | 
			
		||||
        # echo $emacsrg
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -15,6 +18,10 @@ if pgrep -x qutebrowser > /dev/null; then
 | 
			
		|||
            wmctrl -ia $qbrg
 | 
			
		||||
            exit
 | 
			
		||||
        fi
 | 
			
		||||
    else
 | 
			
		||||
        if [ $KDE_FULL_SESSION = "true" ]; then
 | 
			
		||||
            ww -f org.qutebrowser.qutebrowser -c qutebrowser
 | 
			
		||||
            exit
 | 
			
		||||
        else
 | 
			
		||||
            # WAYLAND
 | 
			
		||||
            qbrg=$(wlrctl window list | rg qutebrowser)
 | 
			
		||||
| 
						 | 
				
			
			@ -25,6 +32,7 @@ if pgrep -x qutebrowser > /dev/null; then
 | 
			
		|||
            wlrctl toplevel focus title:"$qbwin"
 | 
			
		||||
            exit
 | 
			
		||||
        fi
 | 
			
		||||
    fi
 | 
			
		||||
else
 | 
			
		||||
    qutebrowser
 | 
			
		||||
fi
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										2
									
								
								scripts/study-off.sh
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										2
									
								
								scripts/study-off.sh
									
										
									
									
									
										Executable 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
									
								
							
							
						
						
									
										2
									
								
								scripts/study-on.sh
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,2 @@
 | 
			
		|||
#!/bin/sh
 | 
			
		||||
curl -X POST -F 'name=value' https://home.cochrun.xyz/api/webhook/study-on
 | 
			
		||||
| 
						 | 
				
			
			@ -54,10 +54,10 @@ gaps inner 10
 | 
			
		|||
 | 
			
		||||
default_border none
 | 
			
		||||
 | 
			
		||||
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.unfocused /home/chris/.config/sway/rounded_and_shadows_custom.png
 | 
			
		||||
border_images.urgent /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.unfocused /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
 | 
			
		||||
show_marks yes
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -52,17 +52,26 @@ command org-capture composite get_current_url | js -p tri.excmds.exclaim_quiet('
 | 
			
		|||
" MPV
 | 
			
		||||
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
 | 
			
		||||
bind v hint -W mpv
 | 
			
		||||
bind gt hint -W torrent
 | 
			
		||||
bind gv current_url mpv
 | 
			
		||||
bind F hint -w
 | 
			
		||||
bind gy hint -y
 | 
			
		||||
bind gc org-capture
 | 
			
		||||
bind gC hint -W org-capture
 | 
			
		||||
bind m fillcmdline quickmark 
 | 
			
		||||
bind O fillcmdline tabopen
 | 
			
		||||
 | 
			
		||||
"" buffers show as windows
 | 
			
		||||
bind b fillcmdline taball 
 | 
			
		||||
 | 
			
		||||
"" Smoothscroll
 | 
			
		||||
set smoothscroll false
 | 
			
		||||
set smoothscroll true
 | 
			
		||||
 | 
			
		||||
bind --mode=ex <C-j> ex.next_completion
 | 
			
		||||
bind --mode=ex <C-k> ex.prev_completion
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue