Commit graph

7 commits

Author SHA1 Message Date
Marty Oehme 145548c01a
Change ifinstalled script to exist
Renamed ifinstalled to exist, moved it into base shell module. It can be
called with just a command name to check for, or with an additional
libnotify urgency level (low, normal, critical).

If called with an urgency as the second argument, the user will be
notified of the missing command with the corresponding urgency.
2020-02-08 20:23:30 +01:00
Marty Oehme 97f7fcbbd6
Move scripts into respective directories
Having a general script folder makes little sense if the scripts are
targeted to specific applications. This commit moved every script that
solely, or mainly (like ueberzug), targets a single application into
that respective stow module.
2020-02-08 20:17:44 +01:00
Marty Oehme f5eddfdab2 Fix tmux_attach_start unit tests 2020-02-04 15:23:47 +01:00
Marty Oehme 6b79eeef5d Refactor vim compile functions 2020-02-03 22:15:01 +01:00
Marty Oehme 92376839a4 Add tmux fzf session chooser
Added tmux session chooser. Aliased to `tm`, calling `tmux_attach_start`
(the original tm script).

When called without arguments displays a fzf list of currently running
tmux sessions, with a preview to their respective open panes. A session
can be chosen in fzf which tmux will attach itself to. When creating a
query in fzf which does not have a valid target and confirming, tmux
will automatically create that session and attach itself to it.

When called with an argument, tmux will attach itself or create a
session of the same name. If called with the name of a session file, as
before, tmux will automatically execute that session file and attach
itself to it.
2020-02-02 23:44:23 +01:00
Marty Oehme e791340b19 Flatten script file hierarchy
Scripts would not be added to path otherwise
2020-01-04 12:19:39 +01:00
Marty Oehme d34cecb27e Switch to GNU stow 2019-12-29 23:12:13 +01:00