summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xclip4
-rwxr-xr-xcolor-picker8
-rw-r--r--gummi/gummi.ini55
-rw-r--r--gummi/snippets.cfg186
-rw-r--r--gummi/welcome.tex36
-rwxr-xr-xupload2
-rw-r--r--zsh/env6
7 files changed, 12 insertions, 285 deletions
diff --git a/clip b/clip
index d724e14..93691ab 100755
--- a/clip
+++ b/clip
@@ -7,15 +7,13 @@ case $1 in
full)
scrot -z -q 100 "/tmp/imgclip.png"
xclip -selection clipboard -t image/png -i "/tmp/imgclip.png"
- rm "/tmp/imgclip.png"
;;
area)
scrot -z -q 100 -s "/tmp/imgclip.png" # -f --freeze
xclip -selection clipboard -t image/png -i "/tmp/imgclip.png"
- rm "/tmp/imgclip.png"
;;
esac
-rm "/tmp/imgclip*"
+cd /tmp ; ls | grep imgclip | xargs -d"\n" rm
diff --git a/color-picker b/color-picker
new file mode 100755
index 0000000..a132a44
--- /dev/null
+++ b/color-picker
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+set -e
+
+SELECTED_COLOR=$(grabc)
+
+echo $SELECTED_COLOR | xsel -b
+echo $SELECTED_COLOR
diff --git a/gummi/gummi.ini b/gummi/gummi.ini
deleted file mode 100644
index 1bb396d..0000000
--- a/gummi/gummi.ini
+++ /dev/null
@@ -1,55 +0,0 @@
-[General]
-config_version=0.8.3
-
-[Interface]
-mainwindow_x=0
-mainwindow_y=20
-mainwindow_w=1920
-mainwindow_h=1060
-mainwindow_max=false
-toolbar=true
-statusbar=true
-rightpane=true
-snippets=true
-
-[Editor]
-font_str=Monospace 14
-font_css=* { font-family: Monospace; font-size: 14px; }
-line_numbers=true
-highlighting=false
-textwrapping=true
-wordwrapping=true
-tabwidth=4
-spaces_instof_tabs=false
-autoindentation=true
-style_scheme=solarized-dark
-spelling=false
-spelling_lang=None
-
-[Preview]
-zoom_mode=Fit Page Width
-pagelayout=one_column
-autosync=false
-animated_scroll=always
-cache_size=150
-
-[File]
-autosaving=false
-autosave_timer=10
-autoexport=true
-
-[Compile]
-typesetter=latexmk
-steps=texpdf
-pause=false
-scheme=on_idle
-timer=1
-shellescape=true
-synctex=true
-
-[Misc]
-recent1=__NULL__
-recent2=__NULL__
-recent3=__NULL__
-recent4=__NULL__
-recent5=__NULL__
diff --git a/gummi/snippets.cfg b/gummi/snippets.cfg
deleted file mode 100644
index c6b25c3..0000000
--- a/gummi/snippets.cfg
+++ /dev/null
@@ -1,186 +0,0 @@
-#
-# snippets.cfg
-#
-# Copyright (C) 2010 Gummi Developers
-# All Rights reserved.
-#
-# Modified from vim-snipMate plugin
-#
-# Permission is hereby granted, free of charge, to any person
-# obtaining a copy of this software and associated documentation
-# files (the "Software"), to deal in the Software without
-# restriction, including without limitation the rights to use,
-# copy, modify, merge, publish, distribute, sublicense, and/or sell
-# copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following
-# conditions:
-#
-# The above copyright notice and this permission notice shall be
-# included in all copies or substantial portions of the Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
-# OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-# OTHER DEALINGS IN THE SOFTWARE.
-
-# Important: Do not edit this file manually unless you know what you are doing.
-#
-# Format:
-# snippet TAB_TRIGGER,ACCELERATOR,NAME
-# <TAB> line1
-# <TAB> line2
-# ...
-#
-# Place holders with same number is mirrored when the first of them is edited.
-#
-# Available constants:
-# $FILENAME: full name of the active file
-# $BASENAME: basename of $FILENAME
-# $SELECTED_TEXT: selected text, often used with accelerators
-#
-
-# Use Package
-snippet upkg,,Use Package
- \usepackage{$1}$0
-# \begin{}...\end{}
-snippet begin,,Environment
- \begin{${1:env}}
- $0
- \end{$1}
-# Tabular
-snippet tab,,Tabular
- \begin{${1:tabular}}{${2:c}}
- $0
- \end{$1}
-# Image
-snippet img,,Image
- \begin{figure}[htp]
- \centering
- \includegraphics[scale=${1:1.0}]{$2}
- \caption{$3}
- \label{$4}
- \end{figure}
- $0
-# Align(ed)
-snippet ali,,Align
- \begin{align${1:ed}}
- $0
- \end{align$1}
-# Gather(ed)
-snippet gat,,Gather
- \begin{gather${1:ed}}
- $0
- \end{gather$1}
-# Equation
-snippet eq,,Equation environment
- \begin{equation}
- $0
- \end{equation}
-# Unnumbered Equation
-snippet ueq,,Unnumbered Equation
- \[
- $0
- \]
-# Aligned Equation
-snippet aeq,,Aligned Equation
- \begin{align*}
- $0
- \end{align*}
-# Aligned Equation
-snippet aneq,,Aligned-Numbered Equation
- \begin{align}
- $0
- \end{align}
-# Enumerate
-snippet enum,,Enumerate
- \begin{enumerate}
- \item $0
- \end{enumerate}
-# Itemize
-snippet item,,Itemize
- \begin{itemize}
- \item $0
- \end{itemize}
-# Description
-snippet desc,,Description
- \begin{description}
- \item[${1}] $0
- \end{description}
-# Matrix
-snippet mat,,Matrix
- $\begin{${1:p/b/v/V/B/small}matrix}
- $0
- \end{$1matrix}$
-# Cases
-snippet cas,,Cases
- \begin{cases}
- ${1:equation}, &\text{ if }${2:case}\\
- $0
- \end{cases}
-# Split
-snippet spl,,Split
- \begin{split}
- $0
- \end{split}
-# Part
-snippet part,,Part
- \part{${1:part name}}
- \label{prt:${2}}
- $0
- % part $2 (end)
-# Chapter
-snippet cha,,Chapter
- \chapter{${1:chapter name}}
- \label{cha:${2}}
- $0
- % chapter $2 (end)
-# Section
-snippet sec,,Section
- \section{${1:section name}}
- \label{sec:${2}}
- $0
- % section $2 (end)
-# Sub Section
-snippet sub,,Sub Section
- \subsection{${1:subsection name}}
- \label{sub:${2}}
- $0
- % subsection $2 (end)
-# Sub Sub Section
-snippet subs,,Sub Sub Section
- \subsubsection{${1:subsubsection name}}
- \label{ssub:${2}}
- $0
- % subsubsection $2 (end)
-# Paragraph
-snippet par,,Paragraph
- \paragraph{${1:paragraph name}}
- \label{par:${2}}
- $0
- % paragraph $2 (end)
-# Sub Paragraph
-snippet subp,,Sub Paragraph
- \subparagraph{${1:subparagraph name}}
- \label{subp:${2}}
- $0
- % subparagraph $2 (end)
-snippet itd,,Item
- \item[${1:description}] ${2:item}$0
-snippet figure,,Figure Reference
- Figure~\ref{${2:fig:}}$0
-snippet table,,Table Reference
- Table~\ref{${2:tab:}}$0
-snippet listing,,Listing Reference
- Listing~\ref{${2:list}}$0
-snippet section,,Section Reference
- Section~\ref{${2:sec:}}$0
-snippet page,,Page Reference
- ${1:page}~\pageref{${2}}$0
-snippet frac,,Fraction
- \frac{$1}{$2}$0
-snippet cbrace,,Curly braces
- \left \{ $1 \right \}$0
diff --git a/gummi/welcome.tex b/gummi/welcome.tex
deleted file mode 100644
index 1fd8931..0000000
--- a/gummi/welcome.tex
+++ /dev/null
@@ -1,36 +0,0 @@
-\documentclass[11pt]{article}
- \title{\textbf{Gummi 0.8.3}}
- \author{Alexander van der Meij}
- \date{}
-
- \addtolength{\topmargin}{-3cm}
- \addtolength{\textheight}{3cm}
-\begin{document}
-
-\maketitle
-\thispagestyle{empty}
-
-\section{Introduction}
-Welcome to the latest version of Gummi - the simple {\LaTeX} editor. After a long break in development, we're finally back with the 0.8.x series.\\
-With these releases we say farewell to the GTK2 toolkit and mark the beginning of the use of GTK3 within our codebase. Many other improvements were also made to enhance your Gummi experience. For a complete list of changes, please see our changelog\footnote{https://raw.githubusercontent.com/alexandervdm/gummi/master/ChangeLog}.
-
-\section{Contributing}
-If you'd like to contribute to this project, here's some ideas:
-\begin{description}
-\addtolength{\itemindent}{0.80cm}
-\itemsep0em
-\item[Development] fix bugs or add features to our C/GTK codebase
-\item[Documentation] edit the user guide to improve user experience
-\item[Localization] translate Gummi in your native language
-\item[Testing] try out the latest and report your findings
-\end{description}
-Refer to the \emph{Getting Involved}\footnote{https://github.com/alexandervdm/gummi/wiki/Getting-Involved} section on our wiki for more information.
-
-\section{What's next}
-Within the 0.8.x release series we will focus on adding minor features but mostly fixing bugs. New functionality will be integrated into the next major release. An overview of currently accepted features can be found on the 0.9.0 milestone\footnote{https://github.com/alexandervdm/gummi/milestone/3} page.
-
-\section{In closing}
-We hope you will enjoy using this release as much as we enjoyed creating it. If you have any further comments, suggestions or wish to report an issue, please visit \emph{\textbf{https://gummi.app}}.
-
-\end{document}
-
diff --git a/upload b/upload
index 26d9510..d268738 100755
--- a/upload
+++ b/upload
@@ -2,7 +2,7 @@
set -e
-if [ "$1" = "" ];then echo "No args"; exit; fi
+if [ "$1" = "" ]; then echo "No args"; exit; fi
TO_UPLOAD_FILE="$1"
diff --git a/zsh/env b/zsh/env
index 037010d..b40a815 100644
--- a/zsh/env
+++ b/zsh/env
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
### ENVIRONMENT VARIABLES ###
@@ -7,8 +7,6 @@
export EDITOR=nvim
export BROWSER=brave
-##################
-
### gpg ###
export GPG_TTY=$(tty)
@@ -19,7 +17,7 @@ export DOTNET_CLI_TELEMETRY_OPTOUT=1
export NO_AT_BRIDGE=1
### paths ###
-export PATH=/bin:/sbin/:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/home/alphara/.local/bin:/home/alphara/exfatssd/IEUCYS/flutter2/bin
+export PATH=/bin:/sbin/:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/home/alphara/.local/bin:/home/alphara/exfatssd/IEUCYS/flutter/bin:/usr/local/go/bin
### XDG ###
export XDG_CONFIG_HOME=/home/alphara/.config