Commit graph

23 commits

Author SHA1 Message Date
eb88925501 Add pandoc/rmarkdown compilation shortcuts to vim 2019-12-04 10:27:57 +01:00
18ba1fe6f0 Organize scripts folder 2019-12-03 23:12:44 +01:00
8be1b224f9 Add bar argument to polybar launch script
Can launch multiple polybars (defined in polybar/config file) by passing
them to the command, e.g. `polybar-launch my-bar1 my-bar2`
2019-12-02 20:58:36 +01:00
f3460e6ff1 Move polybar scripts to config directory 2019-12-02 20:33:37 +01:00
9b4dd143f7 Add polybar scripts 2019-12-02 19:01:58 +01:00
3d1438f657 Add picom inactive window opacity automatic toggle
Whenever i3 is using gapless mode, all windows will be opaque. When gaps
are shown inactive windows will have some transparency and blur behind
them.

Script can be invoked manually with `picom_toggle_inactive_opacity` to
toggle, `picom_toggle_inactive_opacity on` or
`picom_toggle_inactive_opacity off` to set it respectively.
2019-11-18 22:52:25 +01:00
cd762cde4a Fix rofi-gopass to use correct user field
gopass, by default creates a field called `username` to contain the
corresponding login name. rofi-gopass was looking for a field called
`user`, and ignored username which lead to it only inputting the
password for any site where gopass created the login credentials.

This is now fixed, all that remains is to revert the manually changed
fields back to `username`.
2019-11-18 12:18:56 +01:00
f8ed65f1de rofi-gopass fix spelling error 2019-09-20 10:41:08 +02:00
640ee9dbf9 Add surfraw rofi extension to search the web with bangs 2019-09-18 17:55:44 +02:00
710e47758d Add rofi-gopass to quickly enter gopass entries 2019-09-18 16:01:06 +02:00
49cacfe787 Refactor powermenu to rofi modus 2019-09-05 16:21:53 +02:00
3d9ea5cffe Configure rofi-powermenu and lockscreen script
Use rofi-powermenu to show options for suspend,reboot, shutdown,
lockscreen, log out. Can be invoked with <M-backspace>. Other power
option shortcuts have been removed from quick access through sxhkd or
i3. Lockscreen can still be quickly set with <M-x>.

Lockscreen now resides in its own script to provide one source of truth,
and in case it is further customized in the future.
2019-09-05 13:31:42 +02:00
264e095224 Add initial rofi-bangs script
Can be executed with rofi-bang. It will take a comma-separated list of
commands (for now statically sourced from rofi config dir), show labels
and 'bangs' for them (in the manner of !c or !yt) which, if typed will
instantly execute their command. In this manner, it becomes possible to
create a quickly accessible menu using rofi.

E.g. we could have !b to search bookmarks. As soon as !b is typed the
'bang' instance of rofi exits and executes the associated command. If
the command starts up another, visually identical, rofi instance with a
preselection of different user bookmarks, it appears as if we just
jumped into a bookmark list in the same rofi instance.

Of course, the commands can be anything. They don't have to invoke more
rofi instances.
2019-09-04 23:04:07 +02:00
499d375791 Add basic dimswitch
Prints out current version number and simple usage instructions on invocation
with -h, --help, -v, --version. Displays used configuration file when invoked
with -i/--info.

Adds simple toggle ability script, used by simply invoking `dimswitch` from the
.local/bin/ directory. In this dotfile configuration that directory is added to
the path, so can be invoked from anywhere.

Invoked without any options it will look for a line which specifies a theme
with a `-light` or `-dark` option appended, and switch them out. Does not
change the vim colorscheme or background, and can not change the theme in
alacritty itself.

The extent of this script is still limited, if it should be expanded python
seems more suited. For further discussion, see its original Merge Request !18.
2019-09-02 11:00:28 +00:00
7fab7dd6fb [tmux] Add remote session nesting
If calling a tmux session within a tmux session, pressing F12 will
toggle between sending commands to the outer or inner session. If the
outer session is inactive its status-bar will be slightly greyed out to
show that no commands will reach it. If the inner session is a remote
ssh session, it will set some additional stylings for the status-bar to
further differentiate the two.
2019-07-27 12:29:47 +00:00
3b710baecc [tmux] Fix session management debug printing
Fixes printing messages only needed for debug. Names session ending with
.session instead of the deprecated .config
2019-07-17 10:48:19 +02:00
4e3cc2342a Add default session root dir to tm 2019-07-10 13:48:44 +02:00
27af1cc7fa Add looking for .tmux.session files in pwd
If no explicit session file is passed in and a new session is being
created tm will look for a .tmux.session file in the pwd and use that to
set up the session.
2019-07-10 13:21:44 +02:00
6fcf2a750e Always execute session setup
Even if session already exists, if we explicitly pass along a session
file, we should execute it.
2019-07-10 13:09:17 +02:00
1ac168ccb0 Extend tm script to allow session file loading
With the `tm script.conf session-name` format, or `tm script.conf`
format, it now allows setting up pre-defined session setups to be loaded
by tmux.
2019-07-10 12:19:02 +02:00
95c3305cbb Allow entering vifm in pwd with vmm alias
vifm enters last open dirs by default. vmm alias opens vifm with the pwd
as the opened dir instead. Passing along arbitrary paths to vm also
opens vifm there.
2019-07-08 22:04:52 +02:00
ef7c6ba8c8 Enable vifm image previews 2019-07-04 10:30:24 +02:00
df45a08c6c Move scripts to .local/bin
Moved all personal scripts to ~/.local/bin to be systemd file hierarchy
compliant, as well as XDG compliant. Since they are not configuration
options they don't have anything to do in .config directories.
Also, it's just easier to find than the previous .config/scripts/bin.
2019-05-23 11:20:11 +02:00