summaryrefslogtreecommitdiff
path: root/.local
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2021-05-01 11:12:23 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2021-05-01 11:12:23 -0400
commit16436494f6b7fff2eae8418746af01ee52f7565d (patch)
tree665608c8d4e858d757502e3795db3ef7821c4869 /.local
parent9ed9de5006d437e126c5871dc0cf38a02825aabb (diff)
parenta8604b71a10edda8c08b909ce1fb63aca653d77e (diff)
Merge branch 'master' of git://git.chausse.xyz/dotfiles
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/define3
-rwxr-xr-x.local/bin/gd2pdf3
-rwxr-xr-x.local/bin/groffdown54
-rwxr-xr-x.local/bin/manualgen6
-rwxr-xr-x.local/bin/remaps2
-rwxr-xr-x.local/bin/sshchoose6
-rwxr-xr-x.local/bin/texinit9
-rw-r--r--.local/share/fonts/linux-libertine/LigLinLibertineMONerdFont-Mono.otfbin0 -> 2228592 bytes
-rw-r--r--.local/share/fonts/linux-libertine/Linux Libertine Display O Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otfbin0 -> 2409036 bytes
-rw-r--r--.local/share/fonts/linux-libertine/Linux Libertine Initials O Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otfbin0 -> 2427180 bytes
-rw-r--r--.local/share/fonts/linux-libertine/Linux Libertine Mono O Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otfbin0 -> 2171272 bytes
-rw-r--r--.local/share/fonts/linux-libertine/Linux Libertine O Bold Italic Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otfbin0 -> 2366768 bytes
-rw-r--r--.local/share/fonts/linux-libertine/Linux Libertine O Bold Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otfbin0 -> 2444348 bytes
-rw-r--r--.local/share/fonts/linux-libertine/Linux Libertine O Italic Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otfbin0 -> 2463516 bytes
-rw-r--r--.local/share/fonts/linux-libertine/Linux Libertine O Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otfbin0 -> 2549016 bytes
-rw-r--r--.local/share/fonts/linux-libertine/Linux Libertine O Semibold Italic Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otfbin0 -> 2427508 bytes
-rw-r--r--.local/share/fonts/linux-libertine/Linux Libertine O Semibold Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otfbin0 -> 2376724 bytes
17 files changed, 18 insertions, 65 deletions
diff --git a/.local/bin/define b/.local/bin/define
deleted file mode 100755
index ac3c61f..0000000
--- a/.local/bin/define
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-sdcv --color $1 | less
diff --git a/.local/bin/gd2pdf b/.local/bin/gd2pdf
deleted file mode 100755
index 057f13a..0000000
--- a/.local/bin/gd2pdf
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-groffdown "$1" | refer -PS -e -p"$REFERBIB" | groff -me -ms -kejpt -T pdf | zathura -
diff --git a/.local/bin/groffdown b/.local/bin/groffdown
deleted file mode 100755
index f2810a5..0000000
--- a/.local/bin/groffdown
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/bin/bash
-
-file=$(readlink -f "$1")
-dir=$(dirname "$file")
-base="${file%.*}"
-
-output=$( sed -e '1,1d
- s/title:/\.TL\n/
- s/author:/\.AU\n/
- s/date:/\.ND\n/
- s/institution:/\.AI\n/
-
- s/\\begin{abstract}/\.AB/
- s/\\end{abstract}/\.AE/
-
- s/^\#####.\(.*\)/\.NH 5\n\1\n\.PP/g
- s/^\####.\(.*\)/\.NH 4\n\1\n\.PP/g
- s/^\###.\(.*\)/\.NH 3\n\1\n\.PP/g
- s/^\##.\(.*\)/\.NH 2\n\1\n\.PP/g
- s/^\#.\(.*\)/\.NH 1\n\1\n\.PP/g
-
- s/\*\*\*\(.*\)\*\*\*$/\n\.BI\ \"\1\"\ /g
- s/\*\*\*\(.*\)\*\*\*\(.\)$/\n\.BI\ \"\1\"\ \"\2\"/g
- s/\*\*\*\(.*\)\*\*\*\(.\)/\n\.BI\ \"\1\"\ \"\2\"\n/g
-
- s/\*\*\(.*\)\*\*$/\n\.B\ \"\1\"\ /g
- s/\*\*\(.*\)\*\*\(.\)$/\n\.B\ \"\1\"\ \"\2\"/g
- s/\*\*\(.*\)\*\*\(.\)/\n\.B\ \"\1\"\ \"\2\"\n/g
-
- s/\*\(.*\)\*$/\n\.I\ \"\1\"\ /g
- s/\*\(.*\)\*\(.\)$/\n\.I\ \"\1\"\ \"\2\"/g
- s/\*\(.*\)\*\(.\)/\n\.I\ \"\1\"\ \"\2\"\n/g
-
- s/`\(.*\)`$/\n\.CW\ \"\1\"\ /g
- s/`\(.*\)`\(.\)$/\n\.CW\ \"\1\"\ \"\2\"/g
- s/`\(.*\)`\(.\)/\n\.CW\ \"\1\"\ \"\2\"\n/g
-
- s/^\ ...............-\ /.IP\ \\(bu\ 10\n/g
- s/^\ ...........-\ /.IP\ \\(bu\ 8\n/g
- s/^\ .......-\ /.IP\ \\(bu\ 6\n/g
- s/^\ ...-\ /.IP\ \\(bu\ 4\n/g
- s/^-\ /.IP\ \\(bu\ 2\n/g
- s/^\ .*-\ /.IP\ \\(bu\ 12\n/g
-
- ' $1)
-# echo "$output" | groff -me -ms -kejpt -T pdf > $base.pdf
-
-# echo "$output" > $base.ms
-# groff -ms $base.ms -T pdf > $base.pdf
-
-echo "$output"
-
-# $output >> output.ms
-# s/\*\*\*.*\*\*\*/Hi\1hi/g
diff --git a/.local/bin/manualgen b/.local/bin/manualgen
index 738ef5c..16a7653 100755
--- a/.local/bin/manualgen
+++ b/.local/bin/manualgen
@@ -10,10 +10,10 @@ s/\s*#-#$/\n##/;
sed "s/-->/##\ /;
s/:\(.*\)$/:\1\`/;
s/\s+\s/+/g;
- s/#\*\*:.*//")
+ s/#\*\*:.*//;
+ s/\(^##.*\)/\1\n/g")
manual=$(cat $HOME/.config/manual.part)
-printf " $manual \n $config" | gd2pdf
+printf "$manual\n$config" | lowdown -sTms | pdfroff -itk -mspdf | zathura -
-# printf " $manual \n $config"
diff --git a/.local/bin/remaps b/.local/bin/remaps
index ed6ae43..595022d 100755
--- a/.local/bin/remaps
+++ b/.local/bin/remaps
@@ -9,3 +9,5 @@ setxkbmap -option caps:super
killall xcape 2>/dev/null ; xcape -e 'Super_L=Escape'
# Map the menu button to right super as well.
xmodmap -e 'keycode 135 = Super_R'
+# Software fix for key bounce (debouncing)
+xkbset bo 50
diff --git a/.local/bin/sshchoose b/.local/bin/sshchoose
new file mode 100755
index 0000000..6b884c6
--- /dev/null
+++ b/.local/bin/sshchoose
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+choice="$(pass ls ssh/ | sed '1d;s/^.*\s//g' | fzf)"
+
+ssh "$(pass ssh/$choice)"
+
diff --git a/.local/bin/texinit b/.local/bin/texinit
index 5568c99..8d5adf2 100755
--- a/.local/bin/texinit
+++ b/.local/bin/texinit
@@ -1,6 +1,11 @@
#!/bin/sh
-cp $HOME/Dropbox/A/Scholar/All/Templates/Text/LaTeX/001personal/cegep-lanaudiere/article/* ./
-ln $BIB/citations.bib ./citations.bib
+case form in "$1";
+ rnw)
+ cp $HOME/Dropbox/A/Scholar/All/Templates/LaTeX/cegep/main.rnw ;;
+ *)
+ cp $HOME/Dropbox/A/Scholar/All/Templates/LaTeX/cegep/main.tex ;;
+esac
+
mkdir archives
diff --git a/.local/share/fonts/linux-libertine/LigLinLibertineMONerdFont-Mono.otf b/.local/share/fonts/linux-libertine/LigLinLibertineMONerdFont-Mono.otf
new file mode 100644
index 0000000..8e6ba56
--- /dev/null
+++ b/.local/share/fonts/linux-libertine/LigLinLibertineMONerdFont-Mono.otf
Binary files differ
diff --git a/.local/share/fonts/linux-libertine/Linux Libertine Display O Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf b/.local/share/fonts/linux-libertine/Linux Libertine Display O Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf
new file mode 100644
index 0000000..570e7fa
--- /dev/null
+++ b/.local/share/fonts/linux-libertine/Linux Libertine Display O Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf
Binary files differ
diff --git a/.local/share/fonts/linux-libertine/Linux Libertine Initials O Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf b/.local/share/fonts/linux-libertine/Linux Libertine Initials O Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf
new file mode 100644
index 0000000..b09b0aa
--- /dev/null
+++ b/.local/share/fonts/linux-libertine/Linux Libertine Initials O Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf
Binary files differ
diff --git a/.local/share/fonts/linux-libertine/Linux Libertine Mono O Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf b/.local/share/fonts/linux-libertine/Linux Libertine Mono O Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf
new file mode 100644
index 0000000..e89e93d
--- /dev/null
+++ b/.local/share/fonts/linux-libertine/Linux Libertine Mono O Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf
Binary files differ
diff --git a/.local/share/fonts/linux-libertine/Linux Libertine O Bold Italic Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf b/.local/share/fonts/linux-libertine/Linux Libertine O Bold Italic Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf
new file mode 100644
index 0000000..42e3e12
--- /dev/null
+++ b/.local/share/fonts/linux-libertine/Linux Libertine O Bold Italic Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf
Binary files differ
diff --git a/.local/share/fonts/linux-libertine/Linux Libertine O Bold Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf b/.local/share/fonts/linux-libertine/Linux Libertine O Bold Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf
new file mode 100644
index 0000000..b95d56c
--- /dev/null
+++ b/.local/share/fonts/linux-libertine/Linux Libertine O Bold Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf
Binary files differ
diff --git a/.local/share/fonts/linux-libertine/Linux Libertine O Italic Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf b/.local/share/fonts/linux-libertine/Linux Libertine O Italic Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf
new file mode 100644
index 0000000..479207a
--- /dev/null
+++ b/.local/share/fonts/linux-libertine/Linux Libertine O Italic Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf
Binary files differ
diff --git a/.local/share/fonts/linux-libertine/Linux Libertine O Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf b/.local/share/fonts/linux-libertine/Linux Libertine O Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf
new file mode 100644
index 0000000..42277fb
--- /dev/null
+++ b/.local/share/fonts/linux-libertine/Linux Libertine O Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf
Binary files differ
diff --git a/.local/share/fonts/linux-libertine/Linux Libertine O Semibold Italic Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf b/.local/share/fonts/linux-libertine/Linux Libertine O Semibold Italic Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf
new file mode 100644
index 0000000..c13de2b
--- /dev/null
+++ b/.local/share/fonts/linux-libertine/Linux Libertine O Semibold Italic Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf
Binary files differ
diff --git a/.local/share/fonts/linux-libertine/Linux Libertine O Semibold Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf b/.local/share/fonts/linux-libertine/Linux Libertine O Semibold Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf
new file mode 100644
index 0000000..71c646f
--- /dev/null
+++ b/.local/share/fonts/linux-libertine/Linux Libertine O Semibold Nerd Font Plus Font Awesome Plus Font Awesome Extension Plus Octicons Plus Power Symbols Plus Font Logos (Font Linux) Plus Material Design Icons Plus Weather Icons.otf
Binary files differ