1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00
Commit Graph

743 Commits

Author SHA1 Message Date
d3910bda18
ideavim: move .ideavimrc into $XDG_CONFIG_HOME/ideavim
Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-23 11:42:16 +01:00
98990b8ac9
xournal: remove unused .xournal configuration
Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-23 11:42:15 +01:00
4fc5fc0df6
environment: move .ts3client to $XDG_CONFIG_HOME
Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-23 11:35:24 +01:00
3dff4ff428
environment: move .ICEauthority to $XDG_CACHE_HOME
Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-23 11:18:30 +01:00
be88417d59
python: move .python_history to $XDG_CACHE_DIR/python
Courtesy of 89fd8cc648

Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-23 11:18:22 +01:00
f16cd95a0f
mimeapps: update GNOME .desktop names
Fixes using eog/evince as default image/pdf viewer applications with
xdg-open/gio open.

Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-23 02:23:18 +01:00
21f7a2b75c
systemd: nm-applet requires NetworkManger to run
Require NetworkManager tmp files before attempting to start nm-applet,
else it will fail to start if NetworkManager is not actually running.

Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-23 02:22:04 +01:00
a912db8044
systemd: add gphoto2-ffmpeg user service
Streams 720p25 video from a gphoto2-compatible camera through ffmpeg
into /dev/video* for use as a generic video/camera device.

Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-23 02:21:01 +01:00
e0ff04168a
systemd: assign default slices to user services
As per recommendations in the systemd documentation, assign session, app
or background slice allocations to the standard user services:
https://github.com/systemd/systemd/blob/master/docs/DESKTOP_ENVIRONMENTS.md#pre-defined-systemd-units

Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-23 01:16:54 +01:00
ed2fa7076c
picom: move picom.conf into XDG directory
Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-21 20:05:34 +01:00
ba47b9b00d
polybar: scale font & tray icons with dpi
This is using my hacked branch of polybar, but it works well enough.
Padding isn't properly scaled, though.

Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-19 23:00:59 +01:00
cdbe8ce855
systemd: parameterise wallpaper.service
Remove all invocations of 'feh' for setting wallpaper that are now
redundant as this service should handle setting the wallpaper in all
relevant situations.

Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-19 20:49:10 +01:00
03ae85dff5
i3: remove i3blocks references
i3blocks is long gone so these do nothing now

Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-19 15:16:50 +01:00
ab4bb4e480
zsh: enabled extendedhistory
This saves timestamps and command durations for all history entries

Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-19 12:28:13 +01:00
2cace82b29
systemd: move xdg-user-dirs-update.service to default.target
Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-18 13:53:50 +01:00
39d5f2a370
systemd: require sys/class/bluetooth for blueman-applet
This should prevent the unit from failing when there is no bluetooth
device in the system.

Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-18 13:53:16 +01:00
09f36fa202
zsh: z-sy-hl redrawhook feature merged
Use master branch that contains the redrawhook feature and other fixes

Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-18 13:29:07 +01:00
3f274253ff
scripts/systemd-run-i3: bind applications to graphical session
When the graphical-session target exits, this should terminal all units
bound to it.

Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-18 13:17:55 +01:00
9a04e70e77
systemd: default launch systemd apps in app.slice
Unless specified, units will launch in `app.slice` under the assumption
that they are foreground user applications.

Update i3 configuration to remove redundant app.slice definition.

Conform to unit naming of app-{name}-{random}.service as documented in
https://github.com/systemd/systemd/blob/master/docs/DESKTOP_ENVIRONMENTS.md#pre-defined-systemd-units

Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-18 12:49:31 +01:00
e2d1c57792
systemd: remove dependency on system bluetooth service
systemd user units cannot depend on systemd units as the systemd daemons
are independent processes and have no notion of each-others' services.

Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-11 18:53:49 +01:00
6c4767b01e
systemd: re-apply wallpaper on xorg screen event
Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-11 18:50:17 +01:00
e08fe1b262
i3: bind to active window with xdotool auto-type
Prevents accidentally typing into other windows when focus is moved.
Allows the user to perform other tasks whilst the typing continues in
the background.

Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-11 16:07:37 +01:00
9316d74027
aliases: fix 'dotfiles' and 'aliases' alias
After moving dotfiles around, these aliases became out of sync.
Dynamically detect the path of the 'aliases' file, and set 'dotfiles' to
use the XDG config directory.

Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-11 15:59:45 +01:00
521f462141
systemd: replace profile.service with systemd-environment.d generator
This moves loading of the environment variables out of the normal
service startup flow and has systemd load the variables early.
Shim ZSH to load the environment.d configuration when running without
systemd.

Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-11 12:19:09 +01:00
322adb478a
i3: start applications in systemd slices
As documented https://github.com/systemd/systemd/blob/master/docs/DESKTOP_ENVIRONMENTS.md
processes should be grouped by their user-facing priority into slices.
This should add fine-grained control to resource-management if later
required.

Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-11 10:27:04 +01:00
1272045e9a
systemd: replace autocutsel with parcellite
Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-11 10:26:54 +01:00
7b8191b737
aliases: add alert/silence alertmanager/amtool shorthands
Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-11 09:30:48 +01:00
49b5924f14
aliases: use grv for git-revert
git revert is a more common/useful command than git remote -v

Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-11 09:28:30 +01:00
91ac3d470d
imgur-screenshot: remove unused configuration
This has been replaced by scripts/screenshot

Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-11 09:19:01 +01:00
715349d0f4
scripts/screenshot: add proper arg parsing
This fixes usage of --active and --clip together. I'm not even sure how
it worked before this tbh.

Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-11 09:14:16 +01:00
0bf16821d5
systemd: use bin/sh over usr/bin/bash
Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-10 22:42:40 +01:00
60bf423556
dotfiles: move .config/* to root
This seems to make more sense. Almost all files were within .config
anyway.

Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-10 22:42:14 +01:00
20f48e25b4
vim: attempt to improve yaml auto-indent
Hopefully this should prevent auto-indent when hitting <CR> after
inserting a :. Whether it works or not, we'll have to see.

Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-10 22:02:24 +01:00
35d08af7ce
vim: remove GVim settings
I never use gvim. I'm not sure why I added these here in the first
place. The defaults should do the same thing anyway

Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-10 22:01:42 +01:00
ec76965c70
vim: group splitting options together
Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-10 22:01:22 +01:00
8a5408c002
zsh: rearrange files into sane XDG dirs
Move non-config into XDG_DATA_HOME including Antigen and ZSH history
files.

Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-10 21:58:23 +01:00
e7b3c5e3e0
aliases: remove unused screenfetch/neofetch aliases
Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-10 21:32:24 +01:00
eddb464053
aliases: remove z=zsh alias as z conflicts
Conflicts with `z` the shell command for jumping to frecent directories

Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-10 21:32:06 +01:00
30be10a7f4
zsh: replace rupa/z with agkozak/zsh-z
zsh-z is a zsh-native plugin which can be installed with antigen. It is
a drop-in replacement and does the same thing, but with less management
overhead.

Set _Z_DATA to be in $XDG_DATA_HOME to un-clutter ~ a little more

Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-10 21:30:59 +01:00
8e91156b4e
i3: generate secure passwords, strip newline
Add -s flag to pwgen to generate cryptographically secure passwords and
strip the newline when adding the value to the clipboard to prevent
accidental submit actions when pasting.

Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-10 21:30:59 +01:00
bd1671fcc8
i3: run pwgen without systemd-run
systemd-run doesn't play nicely with xclip

Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-10 21:30:58 +01:00
561582734e
polybar: use 'polybar-msg cmd restart' to reload
This is technically more of a restart than a reload, but it's the
closest thing without actually restarting the main pid.

Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-10 21:30:40 +01:00
c1ff08b878
i3: reload on 'systemctl reload i3'
Instead of restart. Reload is called reload for a reason

Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-10 20:32:42 +01:00
ce595c81b6
zsh: remove annoying ^V edit-command-line
I activate this all the time, but never actually want to use it. I find
it more annoying than helpful, so it can be banished forever!

Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-10 19:29:03 +01:00
5c105f4851
alacritty: auto-copy selection to PRIMARY clip
This is faster than xclip et al, so doesn't hurt to enable as well

Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-10 19:27:50 +01:00
8e32bc8618
alacritty: retain foreground colour during selection
This mirrors the old behaviour of Termite, which I think I prefer the
look of.

Signed-off-by: Joe Groocock <me@frebib.net>
2020-08-10 19:24:34 +01:00
67676df08a
element: add config.json for Arc Dark theme
Signed-off-by: Joe Groocock <me@frebib.net>
2020-07-27 00:05:59 +01:00
7209ef65f6
alacritty: move dynamic_title to window.dynamic_title
Upstream change: 18cf806a27

Signed-off-by: Joe Groocock <me@frebib.net>
2020-07-23 19:43:07 +01:00
2d414258ca
rofi-emoji: replace rofi-emoji script with rofi plugin
https://github.com/Mange/rofi-emoji

Signed-off-by: Joe Groocock <me@frebib.net>
2020-07-22 20:55:17 +01:00
41fff2dd6c
i3: increase inner gaps to 24px
Signed-off-by: Joe Groocock <me@frebib.net>
2020-07-18 16:49:25 +01:00