Commit Graph

212 Commits

Author SHA1 Message Date
Donovan Glover
637410a10e
hyprland: Fix librewolf size in 0.36.0+ 2024-03-25 13:46:01 -04:00
Donovan Glover
2fb756acda
hyprland: Use new custom field for gaps in/out
Now the script works as expected with the latest commit on main for
Hyprland.
2024-03-08 21:46:49 -05:00
Donovan Glover
7c1a9a248a
hyprland: Lock screen with Super+Alt+L
Alt is necessary since Super+L and Super+Shift+L are already used for
window manager stuff.
2024-03-08 21:30:10 -05:00
Donovan Glover
a623cb5de5
hyprland: Add config for hyprlock/hypridle 2024-03-08 05:34:22 -05:00
Donovan Glover
d42f457528
hyprland: Add swap-bg script
Useful when you want a background from one monitor to appear on the
other one instead.
2024-03-08 00:04:53 -05:00
Donovan Glover
e67230b282
meta: Switch from swaylock to hyprlock
hyprlock matches the other animations of hyprland a bit better and is
overall more pleasant to work with.
2024-03-07 22:19:02 -05:00
Donovan Glover
f7df16b6a1
chore: Update to latest nixos-unstable release 2024-03-05 19:17:23 -05:00
Donovan Glover
7cb28af1f8
hyprland: Add nodim rule for jp locale picture-in-picture
Fixes an issue where picture-in-picture was being dimmed after changing
the locale.
2024-02-18 23:58:35 -05:00
Donovan Glover
83db7606f4
chore: Simplify 2024-02-18 23:55:38 -05:00
Donovan Glover
18fccf23de
hyprland: Use Super+M to change monitor focus 2024-02-08 22:57:09 -05:00
Donovan Glover
edde3c3e42
hyprland: Change volume before sending notification 2024-01-29 17:18:09 -05:00
Donovan Glover
e60ef84784
hyprland: Fix volume notification when at 0/100% 2024-01-28 10:30:06 -05:00
Donovan Glover
b7a9416e35
feat: Theme Qt applications with stylix
Most Qt/KDE applications look way better after this.
2024-01-25 17:35:37 -05:00
Donovan Glover
bb3792d748
fcitx: Use wayland front-end for GTK
Fixes the warning notification shown on boot.
2024-01-13 00:39:29 -05:00
Donovan Glover
4188ae930d
hyprland: Use all backgrounds
The year is now 2024.
2024-01-05 19:07:22 -05:00
Donovan Glover
733cc14b0d
chore: Fix embarrassing typo 2023-12-30 06:17:36 -05:00
Donovan Glover
05db074456
hyprland(grimblast): Freeze when taking screenshots 2023-12-13 18:18:18 -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
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
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
1415b957b3
hyprland(swww): Use seasonal backgrounds
A very important change.
2023-10-31 11:59:04 -04:00
Donovan Glover
e1c14f0cb4
hyprland: Separate overlay toggle from bar 2023-08-31 19:09:18 -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
45284953bb
hyprland: Blur rofi 2023-08-28 23:46:45 -04:00
Donovan Glover
6061667179
hyprland: Toggle rofi with super 2023-08-28 23:45:15 -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
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
cfd638b04e
hyprland: Show desktop icons on startup 2023-08-07 22:18:13 -04:00
Donovan Glover
16d0c2554e
hyprland(hyprdim): Add --ignore-leaving-special 2023-08-07 22:01:06 -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
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
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
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
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
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
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
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
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
5f0d638c5e
hyprland: Don't dim picture in picture 2023-07-26 11:51:44 -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
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
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
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
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
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
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
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
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
Donovan Glover
606d8e01e1
hyprland: Reduce border_size to 2
A border size of 3 causes kitty to have an unnecessary padding shift, so
2 works better here.
2023-07-03 19:09:02 -04:00
Donovan Glover
bb51d048a9
hyprland: Reduce border opacity 2023-07-03 19:00:43 -04:00
Donovan Glover
cb976a9728
hyprland: Use a more subtle active border color 2023-07-03 18:29:12 -04:00
Donovan Glover
d0905e916c
hyprland: Remove borders by default
Not necessary with ironbar.
2023-07-03 15:00:13 -04:00
Donovan Glover
4722cd0f64
hyprland: Slightly reduce gaps 2023-07-03 14:52:59 -04:00
Donovan Glover
1792154814
hyprland: Re-enable fullscreen inheriting 2023-07-03 00:13:33 -04:00
Donovan Glover
9acfef271d
chore(hyprland): Remove useless commas 2023-07-02 14:33:37 -04:00
Donovan Glover
ed222ae03c
hyprland: Separate floating and centerwindow
This fixes an issue where centerwindow would ignore bars and other
layers.
2023-07-02 14:32:09 -04:00
Donovan Glover
08f2fa3f56
hyprland: Make border color blue 2023-07-02 13:08:17 -04:00
Donovan Glover
f9cb5c5c56
meta: Replace waybar with ironbar
Ironbar is a new GTK-based bar written in Rust. It offers substantial
improvements over waybar, including a proper application launcher.
2023-07-02 09:36:31 -04:00
Donovan Glover
4077ee9f9d
hyprland: Use separate script for gaps 2023-07-01 14:21:12 -04:00
Donovan Glover
c5d758c88d
hyprland: Make modifier changes easier
Mod2 is the NumLock key, which can be used as an alternative modifier to
Super in combination with dual-function-keys.
2023-07-01 14:06:36 -04:00
Donovan Glover
6d272d5c20
hyprland: Make gaps more subtle
Notably lowers gaps_in by 2 and gaps_out by 4.
2023-06-30 08:08:37 -04:00
Donovan Glover
970a441032
hyprland: Show picture when taking screenshot 2023-06-30 08:07:40 -04:00
Donovan Glover
68b80d2a18
hyprland: Add borders by default
This makes it easier to differentiate which window is focused and makes
floating windows slightly prettier.
2023-06-30 08:06:08 -04:00
Donovan Glover
c53057b129
hyprland: Tile qemu vm by default 2023-06-30 07:48:00 -04:00
Donovan Glover
e807232420
chore: Remove unnecessary comments 2023-06-29 11:59:37 -04:00
Donovan Glover
b7bd3a3632
hyprland: Disable no_gaps_when_only
This was mainly useful on smaller screens where window contents took up
less space overall, however this makes it non-trivial to determine
whether or not gaps are enabled unless two or more windows exist in the
same workspace.

Since the gaps aren't an issue with larger screen sizes anyway, slightly
reducing gaps and disabling no_gaps_when_only seems like the play here.
2023-06-27 04:14:46 -04:00
Donovan Glover
83bc580f03
hyprland: Use variables for modifiers
This should make it easier to switch from a super modifier to a hyper
modifier in the future or vice versa.
2023-06-27 04:05:55 -04:00
Donovan Glover
e812aac001
hyprland: Don't focus on activate 2023-06-26 20:18:48 -04:00
Donovan Glover
91f51f94f2
hyprland: Reduce dim strength
This makes using dim more bearable since the inactive windows are still
relatively easy to read text from.
2023-06-26 12:48:36 -04:00
Donovan Glover
acd516c388
hyprland: Blur dunst notifications 2023-06-26 12:04:29 -04:00
Donovan Glover
3262b594c1
hyprland: Use opacity from stylix 2023-06-26 12:02:44 -04:00
Donovan Glover
a7f6d4d354
hyprland: Don't hardcode colors 2023-06-25 12:45:55 -04:00
Donovan Glover
37c6737beb
hyprland: Set fullscreen_opacity to 0.9999999
This fixes an issue where fullscreen windows would previously cause swww
and other background image setters to not show backgrounds until a
gesture animation was completed.
2023-06-25 10:06:21 -04:00
Donovan Glover
2995ae4d7a
meta: Replace feh with pqiv
pqiv is an image viewer that, unlike feh, has native support for
Wayland, which makes working with it quite nice. It also supports
showing a thumbnail mode that lets you preview and switch between
images with ease, as well as the ability to run custom commands
based on the current image.

pqiv has more features than imv *and* anti-aliasing *actually works*,
making it an ideal choice for image viewing on Wayland. After years of
using feh, I am quite happy that I found pqiv.
2023-06-24 14:58:44 -04:00
Donovan Glover
08492ea227
feh: Fullscreen by default
This alleviates some of the issues with feh relying on xwayland.
2023-06-24 12:10:01 -04:00
Donovan Glover
62ffe061d9
hyprland: Use full fullscreen by default
This guarantees that windows that show with waybar aren't actually
fullscreen.
2023-06-24 12:07:28 -04:00
Donovan Glover
4cfba44ed3
hyprland: Use rounding when gaps 2023-06-24 12:06:57 -04:00
Donovan Glover
fffca9a96c
hyprland: Increase gaps/border size 2023-06-23 21:32:20 -04:00
Donovan Glover
8ffb196c0b
meta: Don't use variables
The previous commit didn't actually work, and I shouldn't need to
change the variables often, so it's much simpler to not have them.

In the event that I do need to change something, rg and sd should get
the job done well.
2023-06-22 11:10:17 -04:00
Donovan Glover
2f056d1e72
meta: Migrate to config.variables 2023-06-22 10:42:23 -04:00
Donovan Glover
ae1af336ba
hyprland: Allow resizing osu! windows
It seems like all wine windows may be broken, although there doesn't
seem to be an easy way to allow the resizing of all wine windows without
affecting other windows. In practice this *shouldn't* matter much,
however.
2023-06-22 07:58:23 -04:00
Donovan Glover
355e58c76e
hyprland: Disable autoreload
Not needed since autoreload doesn't work anyway with home-manager.
2023-06-22 07:15:47 -04:00
Donovan Glover
3ea8860f7d
meta: Use grimblast over grim/slurp 2023-06-19 12:12:04 -04:00
Donovan Glover
3e6f8e6563
hyprland: Move home-specific parts to ./home
Note that the modules are separated more to make it easier to use parts
of the graphical configuration in NixOS containers.
2023-06-16 20:02:45 -04:00