Commit Graph

472 Commits

Author SHA1 Message Date
Donovan Glover
859015cbc0
neovim: Add missing eslint capabilities 2023-12-29 17:56:32 -05:00
Donovan Glover
0c3624abd6
neovim: Add sql language server support 2023-12-29 17:54:56 -05:00
Donovan Glover
86351c48f5
fish: Make prisma work outside of dev shell
More convenient for me personally.
2023-12-29 17:53:38 -05:00
Donovan Glover
c4e41421da
chore: Simplify formatting 2023-12-29 17:52:47 -05:00
Donovan Glover
360898f626
neovim: Use eslint with nvim-lspconfig
Note that sometimes you may need to disable autosave with :ASToggle
since JavaScript code is also automatically formatted on save.
2023-12-29 17:33:52 -05:00
Donovan Glover
c77be65f86
feat: Add cargo-tarpaulin
Used for Rust code coverage.
2023-12-21 14:01:51 -05:00
Donovan Glover
73af280971
joshuto: Make previews work for .tsx/.jsx files 2023-12-21 14:00:10 -05:00
Donovan Glover
10f1388912
chore: Fix indentation 2023-12-20 19:22:24 -05:00
Donovan Glover
bd67cf43a9
joshuto: Ensure TypeScript/JavaScript files show previews 2023-12-20 19:18:30 -05:00
Donovan Glover
5a08ca328c
neovim: Use yats-vim for TypeScript syntax highlighting
This fixes an issue where `import`s with `type` in them would cause
syntax highlighting to break in neovim.

See: https://github.com/vim/vim/issues/11652
2023-12-20 18:24:06 -05:00
Donovan Glover
7fde54fa58
neovim: Add nvim-surround
This classic plugin makes refactoring in languages that use curly braces
much easier.
2023-12-20 18:19:37 -05:00
Donovan Glover
328a912148
neovim: Use :NvimTreeFocus for <leader>a
Fixes an issue where the previous binding conflicted with the tagbar not
accepting space keybinds.
2023-12-20 18:16:19 -05:00
Donovan Glover
0d6edc043a
mpv: Use uosc script for ui
This script has pretty much everything one would want in a user
interface for mpv, including playlist support.
2023-12-18 03:47:48 -05:00
Donovan Glover
c4827c1b62
mpv: Replace mpv_thumbnail_script with thumbfast
There was a recent issue with the mpv thumbnail script that caused
certain videos to spawn many processes in parallel, thus causing 100%
CPU usage.
2023-12-18 03:43:02 -05:00
Donovan Glover
05db074456
hyprland(grimblast): Freeze when taking screenshots 2023-12-13 18:18:18 -05:00
Donovan Glover
40adb9b3d9
neovim: Add cosco-vim
I tried this for a few days and although the auto-semicolons were cool,
they'd sometimes get in the way. I haven't used the keybind much at all
however, so I may remove this in the future.
2023-12-13 08:29:09 -05:00
Donovan Glover
5fb3f38f62
chore: Update flake inputs
Kernel version is now 6.1.67 to avoid the ext4 data corruption bug.

Additionally, typst-lsp had to be removed since it fails to build. No
solution has been posted in the GitHub issue yet.
2023-12-13 05:39:16 -05:00
Donovan Glover
8c58360fc5
hyprland(swww): Use seasonal backgrounds
It's that time of year again.
2023-12-07 19:13:28 -05:00
Donovan Glover
f4b2b6b586
ironbar: Manually set opacity
Fixes an issue where nix would show a warning about floatToString being
used.
2023-12-07 19:12:33 -05:00
Donovan Glover
341bfea7fa
eww: Switch from fluent icons to candy icons 2023-12-07 17:48:26 -05:00
Donovan Glover
91cd533c28
neovim: Fix nvim-cmp usage with denols/tsserver
This commit removes the duplicate setup {} commands.

It also fixes typst being set up without its respective settings.
2023-12-05 14:40:28 -05:00
Donovan Glover
c9e52534d2
chore: Update flake inputs
emmet-language-server is now in nixos-unstable.
2023-12-04 14:34:48 -05:00
Donovan Glover
90f5bd4b59
neovim: Remove denols from nvim-cmp capabilities
Fixes an issue where React would not be found in Next.js projects.
2023-12-03 16:46:55 -05:00
Donovan Glover
43ec993d49
neovim: Add tailwindcss language server support
Should make working with tailwindcss easier.
2023-12-03 16:27:37 -05:00
Donovan Glover
0920214e98
neovim: Add prisma language server support 2023-12-03 16:20:19 -05:00
Donovan Glover
0b68a42070
neovim: Enable nvim-cmp support for all language servers 2023-12-03 16:10:55 -05:00
Donovan Glover
1ff94843d1
mpv: Simplify osc toggle to ctrl+a
I never change the aspect ratio of a video, so overriding this keybind
works well.
2023-12-03 15:57:53 -05:00
Donovan Glover
bf3b794bcb
neovim: Replace emmet-ls with emmet-language-server
Note that emmet-language-server isn't in nixos-unstable yet.

See: https://github.com/NixOS/nixpkgs/pull/255524
2023-12-03 15:54:33 -05:00
Donovan Glover
98f0eaf336
neovim: Auto-close tags with nvim-ts-autotag
In the rare event that emmet isn't used, nvim-ts-autotag auto-closes
tags when > is typed.
2023-12-03 15:45:22 -05:00
Donovan Glover
9842004ba9
neovim: Add community snippets with friendly-snippets
This makes it easier to make for loops and other fun stuff.
2023-12-03 15:39:30 -05:00
Donovan Glover
93bd51bd35
neovim: Add Emmet support
I used Emmet years ago but at some point preferred Pug in Vue. Now that
I use React more, this should make creating tags in JSX easier.

The emmet language server is particularly useful since it becomes
possible to tab complete HTML tags.
2023-12-03 09:07:06 -05:00
Donovan Glover
afc0bcd1f1
neovim: Add autocompletion support with nvim-cmp
Did not expect this to work on the first try but it did. Taken directly
from the nvim-lspconfig wiki.

https://github.com/neovim/nvim-lspconfig/wiki/Autocompletion
2023-12-03 07:59:51 -05:00
Donovan Glover
3b5b6782ca
neovim: Add ctags support with tagbar
5 years later and ctags seem to work better, so I've decided to add them
again mainly for Rust.
2023-12-02 13:34:12 -05:00
Donovan Glover
4593d74d8c
meta: Remove cmus
Not needed since I prefer ncmpcpp and the playback issues I had
previously seem to be fixed now.
2023-12-02 11:08:49 -05:00
Donovan Glover
5beb9ca079
joshuto: Remove deprecated sizemtime
Deprecated in v0.9.6.
2023-12-01 00:27:47 -05:00
Donovan Glover
25a413507d
kitty: Make icons work in scrollback pager
A recent update caused icons to no longer be rendered when using kitty's
scrollback feature. This fixes that.
2023-11-30 23:27:42 -05:00
Donovan Glover
533094c1a9
hyprland: Add playerctl keybinds for mpv 2023-11-30 19:04:50 -05:00
Donovan Glover
36304461f0
hyprland: Remove WLR_NO_HARDWARE_CURSORS
Not needed anymore when outside of a virtual environment.
2023-11-30 18:57:46 -05:00
Donovan Glover
8b6fa08e71
hyprland: Don't dim mpv windows 2023-11-30 18:39:52 -05:00
Donovan Glover
770f8dde0a
hyprland(swww): Fix incorrect background script 2023-11-19 16:11:32 -05:00
Donovan Glover
f4b0c41289
hyprland(swww): Randomize background on all monitors 2023-11-19 06:37:21 -05:00
Donovan Glover
16d5607dbc
joshuto: Make typescript files open with neovim 2023-11-16 16:12:02 -05:00
Donovan Glover
385263f91a
hyprland: Revert seasonal backgrounds 2023-11-16 16:11:09 -05:00
Donovan Glover
f59bd9202a
hyprland: Don't mirror monitors
Not needed anymore since a recent hyprland update fixed the issue where
extended displays would experience lagginess.
2023-11-09 23:07:26 -05:00
Donovan Glover
cc1da27091
neovim: Add treesitter grammars
Fixes an issue with the markdown grammar not being found and adds some
extra features such as highlighting the current indentation line.
2023-10-31 23:45:25 -04:00
Donovan Glover
1415b957b3
hyprland(swww): Use seasonal backgrounds
A very important change.
2023-10-31 11:59:04 -04:00
Donovan Glover
e397e85c30
chore: Upstream sakaya mime type
Makes it possible to open wine applications sandboxed by double clicking
them like regular files in Thunar and other file browsers.
2023-10-30 19:41:57 -04:00
Donovan Glover
f868c7094e
ironbar: Update class for mullvad browser 2023-10-30 14:29:26 -04:00
Donovan Glover
064b220d04
feat: Add cargo feature support
Makes it possible to check the features of crates.
2023-10-29 15:24:34 -04:00
Donovan Glover
b18ccd3dfc
chore: Improve formatting 2023-10-29 15:11:57 -04:00
Donovan Glover
aca473ecb3
direnv: Disable logging
Makes it possible to use direnv without large amounts of text taking up
the terminal screen when changing directories.
2023-10-25 13:46:48 -04:00
Donovan Glover
44cc264f25
neovim: Add typst support
Typst documents may be more maintainable long-term than traditional
documents in TeX format.
2023-10-25 13:38:01 -04:00
Donovan Glover
51530c8403
fish: Use XDG_DATA_DIRS for tauri applications
This fixes an issue where tauri applications would have small text when
ran outside of a nix shell after being built.
2023-10-25 13:26:45 -04:00
Donovan Glover
bab881b769
joshuto: Use icons for correct directory names 2023-10-25 13:25:55 -04:00
Donovan Glover
a0bae642b1
neovim: Add svelte support 2023-10-10 18:23:27 -04:00
Donovan Glover
291e00f102
chore: Update flake inputs 2023-10-10 18:22:08 -04:00
Donovan Glover
8e4723638a
git: Rebase by default when using git pull 2023-10-10 18:18:03 -04:00
Donovan Glover
25b159c9cf
nvim(image-nvim): Limit image width to 40% 2023-09-30 13:16:50 -04:00
Donovan Glover
5d12aaacb0
neovim: Conditionally load denols/tsserver
Makes it possible to use both Deno and Node/Bun projects with the same
config.
2023-09-30 11:08:37 -04:00
Donovan Glover
b8c3b2504f
feat: Add biome 2023-09-30 10:54:06 -04:00
Donovan Glover
7502a044e7
chore: Prefer hash over sha256 2023-09-30 10:39:10 -04:00
Donovan Glover
3a6c2f44ed
feat: Add bun
Will be trying out bun to see how it compares to deno and other tools.
2023-09-12 17:02:23 -04:00
Donovan Glover
06b44290b1
ncmpcpp: Use an existing image as the default 2023-09-12 15:27:28 -04:00
Donovan Glover
1b5b8e827b
joshuto: Use correct directory for downloads 2023-09-12 15:26:29 -04:00
Donovan Glover
b05b274d35
ironbar: Slightly decrease icon size
This makes the bar take up the same amount of space as Microsoft
operating systems.
2023-09-12 15:24:33 -04:00
Donovan Glover
f445bc713b
ironbar: Add name to bar
This makes it possible to do things with the bar such as toggle it
without killing it, however I like the advantages that restarting
ironbar completely give.
2023-09-12 15:22:56 -04:00
Donovan Glover
464fbeb750
qutebrowser: Update downloads directory 2023-09-04 10:55:41 -04:00
Donovan Glover
8274a57b15
ncmpcpp: Update music directory 2023-09-01 13:23:12 -04:00
Donovan Glover
e1c14f0cb4
hyprland: Separate overlay toggle from bar 2023-08-31 19:09:18 -04:00
Donovan Glover
eb6189e51c
meta: Reference original sources for non-trivial code 2023-08-31 19:08:14 -04:00
Donovan Glover
cc0500b3ad
hyprland: Revert gaps_out workaround
-1 is no longer needed due to the patch.
2023-08-31 00:53:10 -04:00
Donovan Glover
aadd410cb4
hyprland(ironbar): Revert back to single wrapper
This works since I fixed the double wrapper issue upstream.
2023-08-31 00:49:26 -04:00
Donovan Glover
b570a7ab50
hyprland: Remove fullscreen opacity workaround
Not needed with newer versions of hyprland.
2023-08-31 00:48:01 -04:00
Donovan Glover
03205ffada
hyprland: Use Super+Shift+Q to close windows
This makes it harder to accidentally close windows.
2023-08-30 16:16:12 -04:00
Donovan Glover
768ca2232c
feat: Replace hyprland-relative-workspace with hyprnome
This also has the advantage of fixing an issue where
hyprland-relative-workspace would prevent new workspaces from being
created in the previous direction when a special workspace was present.
2023-08-30 16:14:50 -04:00
Donovan Glover
6a2b57a6a6
chore: Update to latest nixos-unstable 2023-08-30 15:18:40 -04:00
Donovan Glover
5b58696de6
chore: Fix spacing 2023-08-29 21:00:47 -04:00
Donovan Glover
a15fd23b9b
feat: Style cmus with stylix
Based on https://github.com/averms/base16-cmus
2023-08-29 21:00:15 -04:00
Donovan Glover
45284953bb
hyprland: Blur rofi 2023-08-28 23:46:45 -04:00
Donovan Glover
80797d3b0d
rofi: Increase icon size and number of columns 2023-08-28 23:46:20 -04:00
Donovan Glover
6061667179
hyprland: Toggle rofi with super 2023-08-28 23:45:15 -04:00
Donovan Glover
35f67d03ff
meta: Replace rofi overlay with nixpkgs version
The overlay isn't needed anymore since rofi-wayland was updated in
nixpkgs.
2023-08-28 15:37:56 -04:00
Donovan Glover
e941e20acf
Revert "meta: Remove rofi"
Currently rofi seems like the most feature complete launcher that gets
the job done. I'd rather use it than code a custom solution at the
moment.
2023-08-27 19:12:39 -04:00
Donovan Glover
e6fa09220e
neovim(clipboard-image): Don't prompt for file name
Fixes an issue where this would occasionally break.
2023-08-22 14:53:06 -04:00
Donovan Glover
0c1669e8db
chore: Update to hyprland 0.28.0-unstable-2023-08-15 2023-08-22 12:31:08 -04:00
Donovan Glover
c1766e8aa8
neovim: Add texlive for vimtex 2023-08-19 22:16:15 -04:00
Donovan Glover
8359122544
hyprland: Passthrough keybinds to VM with ctrl+alt
Also useful for preventing keybinds from being used while working on
other things.

Source: https://old.reddit.com/r/hyprland/comments/15puf7x/
2023-08-14 11:26:29 -04:00
Donovan Glover
005b6d6ff9
hyprdim: Dim dialogs 2023-08-14 10:56:56 -04:00
Donovan Glover
f780d3bfbc
fcitx: Add base16 theme 2023-08-14 10:54:07 -04:00
Donovan Glover
d9c5e15ccc
fcitx: Increase font size 2023-08-14 10:53:35 -04:00
Donovan Glover
33835aa6c6
eww: Inline config
Note that the home manager module can't be used here since it requires
configDir.
2023-08-11 15:05:24 -04:00
Donovan Glover
93ac26652e
fix: Use MANROFFOPT for color support in man pages
This fixes a regression where color support stopped working after a
groff update.

References:

- https://github.com/jedsoft/most/issues/18
- 958e73c508
- https://bbs.archlinux.org/viewtopic.php?pid=2113876#p2113876
2023-08-11 14:37:18 -04:00
Donovan Glover
cfd638b04e
hyprland: Show desktop icons on startup 2023-08-07 22:18:13 -04:00
Donovan Glover
ee6095338d
mime-apps: Use sakaya for executable files
Should upstream this to sakaya later.
2023-08-07 22:03:17 -04:00
Donovan Glover
16d0c2554e
hyprland(hyprdim): Add --ignore-leaving-special 2023-08-07 22:01:06 -04:00
Donovan Glover
2f0249a046
chore: Update imports 2023-08-07 22:00:17 -04:00
Donovan Glover
5739a3eaba
meta: Add eww module 2023-08-07 20:44:15 -04:00
Donovan Glover
25539d81eb
meta: Show time with eww when toggling ironbar
This also lets us have windows that take up the full screen while
keeping track of whether or not those windows are actually fullscreen.
2023-08-07 20:24:23 -04:00
Donovan Glover
9228444d6e
hyprland: Add workspace switching with mouse buttons 2023-08-07 20:23:42 -04:00
Donovan Glover
a835b29bfe
hyprland: Don't change focus when moving to special
As far as I can tell, this was a workaround that appears to be fixed
now.
2023-08-07 08:53:12 -04:00
Donovan Glover
bfea1e9629
hyprland(hyprdim): Add --no-dim-when-only 2023-08-06 16:55:53 -04:00
Donovan Glover
d7be8aad20
neovim: Add cargo audit/license
Should probably move this out of neovim later.
2023-08-06 16:53:50 -04:00
Donovan Glover
f1ba5fac74
hyprland: Change wallpapers with super+w 2023-08-01 22:24:30 -04:00
Donovan Glover
87221635f8
hyprland: Show random background on startup 2023-08-01 22:23:57 -04:00
Donovan Glover
38d090d550
ironbar: Decrease translucency
This might be an ideal number for most use cases.
2023-08-01 19:08:08 -04:00
Donovan Glover
9ed706c2a5
hyprland: Downgrade to v0.27.0
The white flash when starting hyprland is a deal breaker for me
personally and I'd rather not have to deal with it. Should hopefully be
fixed in a later release since it seems to be a wlroots issue.
2023-08-01 19:06:20 -04:00
Donovan Glover
d1a78a7a57
meta: Remove hyprbars
Although this was cute, there are simply too many bugs and other
inconveniences to be worth it. For example, the bar cannot be focused
when a workspace has a fullscreen application.
2023-08-01 19:04:43 -04:00
Donovan Glover
8c1eaec846
ironbar: Update favorites selection
Might as well prefer utilities here to look nice. It's unfortunate that
the gimp class changes for every release.
2023-08-01 18:58:46 -04:00
Donovan Glover
563fdc4e3f
hyprland: Try bordersize windowrule
This is kinda cool however v0.27.2 and above appear to introduce a white
flash for me when starting Hyprland. Because of this, I'll probably stay
on v0.27.0 for the time being and only patch things I really want.
2023-08-01 18:55:14 -04:00
Donovan Glover
e3cf378b31
meta: Try hyprbars fork
This was my test of the hyprbars fork. It turns out that the original
version is more useful, although both versions crash whenever reloading
the plugin after unloading it once.
2023-08-01 18:54:26 -04:00
Donovan Glover
750def0398
hyprland: Simplify swww init
By including an image changer in a separate exec-once, swww works as
intended. This enables virtual machines to have a random background on
startup without the abnormally long wait time previously.
2023-08-01 16:27:06 -04:00
Donovan Glover
61be25469c
neovim: Add pnpm
May continue to use yarn in spite of this.
2023-08-01 16:26:15 -04:00
Donovan Glover
93608bf1eb
hyprland: Add hyprbars config
Tested this in a VM and it should look decent.
2023-08-01 16:25:50 -04:00
Donovan Glover
c231825512
neovim: Add cargo-info
As a reminder, the neovim module includes a bunch of additional stuff
used for development. Although convenient, another approach may be
considered in the future.
2023-08-01 12:33:35 -04:00
Donovan Glover
4e4ceeb6fb
feat(neovim): Highlight markdown code blocks
This adds syntax highlighting to code blocks with vim-markdown while
keeping pretty much everything else the same.
2023-08-01 12:16:02 -04:00
Donovan Glover
5f629bf0d6
fix(neovim): Manually toggle git blame
This fixes an issue where git blame would still show a single fixed line
in zen mode previously.
2023-08-01 12:14:24 -04:00
Donovan Glover
6991587294
neovim: Remove markdown conceal
Was causing more issues than problems it solved. Markdown conceal can be
successfully achieved with an external browser window.
2023-08-01 12:12:33 -04:00
Donovan Glover
075e1b6f13
neovim: Don't use tabs for markdown
Not needed since I don't edit logseq files directly nearly as often.
2023-08-01 12:11:19 -04:00
Donovan Glover
7b8eec9d77
pqiv: Add webp support
Surprisingly useful.
2023-08-01 12:10:18 -04:00
Donovan Glover
7c429a374b
hyprland: Add random background script 2023-08-01 12:01:57 -04:00
Donovan Glover
2c9c53481e
hyprland: Add background setter script 2023-08-01 12:01:18 -04:00
Donovan Glover
7ddfe1976f
hyprland: Use super+s to swap monitor workspaces
Arguably more useful when multiple monitors are used.
2023-07-26 18:54:30 -04:00
Donovan Glover
375639abfb
ironbar: Make open application color more subtle 2023-07-26 18:45:27 -04:00
Donovan Glover
480cc873a3
hyprland(swww): Use shorter sleep for non-kvm
This makes starting Hyprland more instantaneous on bare metal.
2023-07-26 18:44:01 -04:00
Donovan Glover
0a60a39a31
treewide: Change Thunar back to thunar
Note sure what happened but the class is thunar now.
2023-07-26 18:26:25 -04:00
Donovan Glover
6c14b37a9f
neovim: Don't trim trailing whitespace on save
Fixes an issue where autosave would cause indentation to be lost due to
editorconfig removing extra whitespace.
2023-07-26 18:24:43 -04:00
Donovan Glover
55c5078919
hyprland(hyprdim): Persist dim
Fixes an issue where the dim would be reset if running hyprctl reload
without dim_inactive set to true in hyprland.conf.
2023-07-26 15:05:18 -04:00
Donovan Glover
a2fe09a166
ironbar: Don't hardcode opacity
Now the opacity will always be 0.05 less than the opacity of the
terminal.
2023-07-26 13:11:49 -04:00
Donovan Glover
b61e2ff951
neovim: Conceal markdown links without vim-markdown
This also conceals some other stuff like JSON strings, but seems to be
worth it overall.
2023-07-26 13:10:02 -04:00
Donovan Glover
56aa91cacf
ironbar: Change thunar to Thunar
Apparently Thunar is the new class name.
2023-07-26 13:07:59 -04:00
Donovan Glover
d32d5e6c33
neovim(image-nvim): Decrease max width/height 2023-07-26 12:50:12 -04:00
Donovan Glover
28ba1ff805
hyprland: Replace dim settings with hyprdim
Now I no longer have to worry about manually toggling dim on and off.
2023-07-26 12:49:09 -04:00
Donovan Glover
d475b5257c
hyprland: Toggle dim_strength
This makes animations work both ways when using dim_inactive.
2023-07-26 12:47:19 -04:00
Donovan Glover
b53c2cc8a8
hyprland: Mirror external monitor
This is unfortunately necessary to fix an issue where the external
monitor wouldn't update its state every few seconds. Not sure what the
issue is since this only occurs in applications when typing and not when
playing back video, for example.
2023-07-26 12:45:36 -04:00
Donovan Glover
723aa4a2e3
hyprland: Fix thunar class
At some point this got changed from thunar to Thunar.
2023-07-26 12:13:54 -04:00
Donovan Glover
13157341b1
librewolf: Don't suggest history by default
Makes it easier for me to see bookmarks.
2023-07-26 12:12:15 -04:00
Donovan Glover
5f0d638c5e
hyprland: Don't dim picture in picture 2023-07-26 11:51:44 -04:00
Donovan Glover
1f80cd691e
neovim(clipboard-image-nvim): Customize image name 2023-07-26 10:02:17 -04:00
Donovan Glover
02f2a2bce4
neovim(clipboard-image-nvim): Change image directory 2023-07-26 10:01:10 -04:00
Donovan Glover
9ae34eb739
neovim: Add syntax highlighting to mdx files 2023-07-26 09:59:44 -04:00
Donovan Glover
38a817b9ff
pqiv: Enable support for svg and other images
This change enables support for all formats imagemagick supports.
2023-07-26 09:59:00 -04:00
Donovan Glover
3fa826e7a2
neovim: Add vim-astro 2023-07-26 09:57:17 -04:00
Donovan Glover
80b95d6bd4
ironbar: Decrease opacity
Makes background colors more noticeable.
2023-07-23 19:40:06 -04:00
Donovan Glover
aa64667d78
neovim: Add clippy 2023-07-22 13:22:27 -04:00
Donovan Glover
03dbc3e3a7
ironbar: Use a more subtle active color 2023-07-21 14:12:50 -04:00
Donovan Glover
87e2cd2b0a
ironbar: Show animation on all button clicks 2023-07-21 14:11:19 -04:00
Donovan Glover
8ddfd87c39
ironbar(label): Add padding 2023-07-21 14:10:10 -04:00
Donovan Glover
7fd5a618ba
ironbar(clipboard): Add padding 2023-07-21 14:09:34 -04:00
Donovan Glover
5ec3ad510b
neovim: Add nvim-autopairs 2023-07-19 18:19:22 -04:00
Donovan Glover
baa4ca1362
neovim: Add astro-language-server 2023-07-19 13:21:11 -04:00
Donovan Glover
07bd6c6ed6
neovim: Add typescript-language-server 2023-07-19 11:26:16 -04:00
Donovan Glover
7907ed5b44
fix(hyprland): Sleep before swww init
This unfortunately fixes a race condition where swww init doesn't work
if started too soon.

See: https://github.com/Horus645/swww/issues/144
2023-07-18 09:04:49 -04:00
Donovan Glover
7ae15b7502
hyprland(ironbar): Remove start delay
Not needed fortunately with ironbar.
2023-07-18 08:38:53 -04:00
Donovan Glover
74a7489230
hyprland(swww): Use default background if none given
This makes it possible to have a default background in virtual machines
without worrying about overriding a background set by the user.
2023-07-17 23:03:35 -04:00
Donovan Glover
adf69e0d7c
chore: Remove unnecessary comments 2023-07-17 22:32:44 -04:00
Donovan Glover
9a8b25bb2c
neovim: Add image-nvim
image-nvim is a new neovim plugin similar to hologram.nvim that adds
support for inline images to neovim.
2023-07-17 22:18:40 -04:00
Donovan Glover
8c10e177f5
ironbar(launcher): Increase icon size 2023-07-17 22:17:32 -04:00
Donovan Glover
7fda85846a
ironbar(launcher): Add back favorites
Might change this later. The main advantage of favorites is that it
becomes trivial to launch various systemd-nspawn containers, although
admittedly the same feat can be achieved through creating .desktop-like
files for thunar.
2023-07-17 22:13:32 -04:00
Donovan Glover
0d8c0e56e4
ironbar(calendar): Highlight selected date 2023-07-17 22:08:10 -04:00
Donovan Glover
d7cc400a20
ironbar(calendar): Add padding between dates 2023-07-17 22:07:10 -04:00
Donovan Glover
81a5a84d39
neovim: Remove hologram-nvim
Not needed anymore since I figured out how to get image-nvim working in
NixOS.
2023-07-17 20:25:45 -04:00
Donovan Glover
bddff06eca
neovim: Add hologram.nvim
For historical purposes, I am adding hologram.nvim in a commit, although
I should be able to replace this with image.nvim.
2023-07-15 21:45:32 -04:00
Donovan Glover
40ca636a51
hyprland: Use ironbar as a menu
Makes things simple and avoids having multiple ways to do the same
thing (launch applications).

Note that two dots are used here since at some point I presumably made
a wrapper inside a wrapper, which should probably be fixed later.
2023-07-15 19:39:11 -04:00
Donovan Glover
e41deda650
ironbar: Add text-shadow
Possibly makes things look better.
2023-07-15 19:02:12 -04:00
Donovan Glover
d367b44e60
neovim: Add clipboard-image-nvim
May need to configure this later.
2023-07-15 18:57:40 -04:00
Donovan Glover
7517e16cd6
hyprland: Add keybind for tessen 2023-07-15 18:56:51 -04:00
Donovan Glover
a60551e060
hyprland: Add saner default swww values 2023-07-15 18:29:23 -04:00
Donovan Glover
2bf9b54992
kitty: Use notify-send for long tasks
Manual invocation prevents automatically triggering a task complete
notification when one isn't wanted.
2023-07-15 18:15:24 -04:00
Donovan Glover
9c4fac0770
ironbar: Add background to focused application 2023-07-15 18:13:17 -04:00
Donovan Glover
c4da3e387a
hyprland: Replace rofi with bemenu
May remove bemenu entirely in favor of only using the taskbar for
critical applications, which reduces complexity.
2023-07-15 18:10:26 -04:00
Donovan Glover
3d96bf1838
xdg-user-dirs: Create directories by default 2023-07-15 12:37:40 -04:00
Donovan Glover
d58fef7511
editorconfig: Don't trim markdown whitespace
Fixes an issue where auto-indents would be automatically removed with
the auto-save plugin enabled. Should probably fix this behavior later
so auto-indent works properly with all files.
2023-07-15 12:35:30 -04:00
Donovan Glover
526a9c7fe9
neovim: Add yuck-vim
Useful for reading eww files.
2023-07-15 12:32:55 -04:00
Donovan Glover
731a76dbb4
joshuto: Add one letter delete keybind
Useful since deletes ask for confirmation anyway.
2023-07-15 12:05:05 -04:00
Donovan Glover
35c502e22f
pqiv: Use native module 2023-07-15 12:04:32 -04:00
Donovan Glover
d8cbc5e9cb
hyprland: Use same repeat rate as river
This change makes Hyprland have the same smooth typing experience one
gets with river.

See: https://github.com/riverwm/river/issues/234
And: c16628c7f5/example/init (L150-L151)
2023-07-11 08:03:39 -04:00
Donovan Glover
bad9f4cbf7
neovim(lualine): Don't show for nvim-tree 2023-07-11 07:58:33 -04:00
Donovan Glover
1a8bedafb3
dunst: Fix icons not showing
Also lowers the min-icon-size to avoid huge icons with the new theme.
2023-07-11 07:56:49 -04:00
Donovan Glover
4dd6ae821a
ironbar(launcher): Show indicator on click 2023-07-11 07:55:45 -04:00
Donovan Glover
dc677d170c
neovim: Add zen-mode-nvim
zen-mode-nvim is a cool lua plugin similar to Goyo that makes reading
and writing long-form content in neovim easier.
2023-07-10 21:58:04 -04:00
Donovan Glover
244c1386a9
neovim: Revert conditional fcitx import
This actually had the side effect of not including fcitx-vim in all
cases.
2023-07-08 20:12:55 -04:00
Donovan Glover
9c7fb0b490
mullvad: Remove gui package
Not needed since the command line program is excellent. Makes things
easier overall and no longer have to worry about GUI-specific bugs.
2023-07-07 10:49:22 -04:00
Donovan Glover
85f741c920
meta: Remove rofi
Although rofi was cute, ironbar may suit my needs better since I don't
actually need a launcher that shows all desktop files. This makes things
simpler and makes the launcher (ironbar) easier to extend upon since
it's written in Rust.
2023-07-06 22:54:40 -04:00
Donovan Glover
085847c95b
hyprland: Re-enable middle click paste
This fixes an issue where wl-paste would previously make it impossible
to select text in certain GTK applications.
2023-07-05 19:35:30 -04:00
Donovan Glover
bed4d20e60
ironbar: Don't use favorites
Unfortunately, there are too many issues with favorite applications at
this time to warrant the usage of them. On the bright side, only showing
open applications makes it easy to determine all applications that are
open at a glance.
2023-07-05 11:30:59 -04:00
Donovan Glover
c6bc8415b2
ironbar: Simplify 2023-07-05 09:20:32 -04:00
Donovan Glover
6a7f3b2450
ironbar: Remove unused color_urgent 2023-07-05 00:37:05 -04:00
Donovan Glover
6391d885a3
ironbar: Don't hardcode colors 2023-07-05 00:36:38 -04:00
Donovan Glover
f6bef9b79b
meta: Don't use conditionals in default imports 2023-07-04 17:14:36 -04:00
Donovan Glover
737de3c497
ironbar: Remove background styles
This change makes the bar have one consistent background across all
modules.
2023-07-04 15:42:16 -04:00
Donovan Glover
781c28f4ed
ironbar: Remove unused css 2023-07-04 13:43:41 -04:00
Donovan Glover
4630ba436c
ironbar: Move clipboard to start 2023-07-04 13:31:19 -04:00
Donovan Glover
85c632be7c
ironbar: Increase launcher item padding
Makes it easier to click on things and see the active window.
2023-07-04 12:04:43 -04:00
Donovan Glover
428e641b28
ironbar: Remove battery status for now
Later I'll probably add it in a popup so it doesn't show if no battery
is present, such as inside a virtual machine.
2023-07-04 12:03:59 -04:00
Donovan Glover
74b3c412a5
ironbar: Remove link-test from launcher
This was a way to see how .desktop link files would respond when opened
in ironbar.
2023-07-04 12:02:40 -04:00
Donovan Glover
8d204bd822
hyprland: Start at workspace 5000000
This enables relative empty workspaces to always be created both before
and after the last occupied workspace.
2023-07-04 10:09:21 -04:00
Donovan Glover
a263e5ac6a
hyprland: Remove previous workspace keybind
Not needed anymore since relative workspaces are used instead.
2023-07-04 09:46:30 -04:00
Donovan Glover
f83c8cc0f8
ironbar: Remove workspace indicator
Not needed anymore with relative workspaces.
2023-07-04 09:44:17 -04:00
Donovan Glover
ba489b173c
meta: Replace absolute workspaces with relative workspaces
Instead of remembering which workspace an application is in, it's easier
to simply go to the previous or next workspace until reaching the desired
application.

This has the advantage of less keybinds used and no longer having to reach
across the keyboard when dealing with 6 or more workspaces.

Workspace state can be handled by ironbar's launcher instead, which has
the additional benefit of guaranteeing that you see all open applications.

hyprland-relative-workspace is used here for a GNOME-like workspace
experience. Hyprland's built-in m+1/m-1 would cycle the workspaces
instead of opening an empty one, and the recently merged r+1/r-1 does
not skip empty workspaces in-between other workspaces.
2023-07-04 09:43:57 -04:00
Donovan Glover
b5f3ca85c7
hyprland: Make active border more noticeable 2023-07-04 08:19:13 -04:00