1
0
forked from extern/nix-config
Commit Graph

957 Commits

Author SHA1 Message Date
Donovan Glover
37bdcdcf49
fish: Add abbreviation for df
Now we can get a useful version of df without having to remember the
options to use.
2022-04-11 09:07:02 -04:00
Donovan Glover
12542c66c8
sxhkd: Use a single instance for kitty
This makes kitty slightly faster when opening multiple windows, among
other things.
2022-04-11 09:04:32 -04:00
Donovan Glover
e2dc9ca3d1
misc: Fix link to yay 2022-04-11 08:56:28 -04:00
Donovan Glover
b40873a351
polybar: Use a distinct icon when fully charged
Now it's easier to tell when a laptop is at 100%.
2022-04-09 10:27:18 -04:00
Donovan Glover
7378a39730
rofi: Add filebrowser mode
The filebrowser in rofi is actually pretty fast, so it can serve as a
quicker keyboard-friendly replacement to nautilus.
2022-04-09 10:25:16 -04:00
Donovan Glover
9674210774
fish: Ignore lost+found with exa
This makes browsing the root of ext4 partitions nicer.
2022-04-09 09:44:25 -04:00
Donovan Glover
dc483d0f30
misc: Fix typo
Might as well fix these as I notice them.
2022-04-09 09:42:36 -04:00
Donovan Glover
cc7b166b85
sxhkd: Add notification when reloading sxhkd 2022-04-09 09:39:48 -04:00
Donovan Glover
ac6d609bf2
waybar: Add memory module
Note that this may be considered bloat but it's good for now. When
focusing it's easy to press ctrl+o to hide waybar anyway.
2022-03-25 10:00:36 -04:00
Donovan Glover
b699e2b784
meta: Add keystrings
This makes it easier to edit in a tty if we need to do so.
2022-03-25 09:59:17 -04:00
Donovan Glover
b9e7e0a8b1
gtk: Use a more custom theme choice
Instead of the usual GTK themes, we're going with something completely
different. The font has also been changed to reflect the one I use the
most.
2022-03-24 16:38:53 -04:00
Donovan Glover
df0456279a
waybar: Increase tray spacing
Now the icons look nicer next to the numbered workspaces.
2022-03-24 16:26:00 -04:00
Donovan Glover
e4c9f2eefb
waybar: Move tray to left side
Since the tray can have more than one icon, having it on the left makes
it easier to see the time in the top right.
2022-03-24 16:25:09 -04:00
Donovan Glover
89b9d9f5c6
meta: Add swaylock
Note that for now we're using random pictures and blurring them,
although in the future I may make this more specific.
2022-03-24 10:32:08 -04:00
Donovan Glover
eeeaa82bc5
meta: Add swayidle
This lets us automatically start swaylock on lid close, useful when on
the go, although not a replacement for turning off a computer fully.
2022-03-24 09:00:49 -04:00
Donovan Glover
9ae4f4442e
sway: Style GTK applications under Wayland
This fixes an issue where our settings.ini wasn't being applied on
Wayland.
2022-03-23 21:09:01 -04:00
Donovan Glover
e80a69c10b
waybar: Add muted indicator for volume
Now it's easier to tell when the volume is muted.
2022-03-23 21:04:33 -04:00
Donovan Glover
dc8bb8a493
meta: Add mozc
Note that this configuration file is specifically for mozc under ibus,
although fcitx(5) should be preferred in most cases due to its
compatibility.
2022-03-23 20:59:41 -04:00
Donovan Glover
51f303d09e
archlinux: Remove old yarn prefix
At some point I added this, although now yarn stores all global packages
in .yarn by default, so this isn't necessary.
2022-03-23 20:54:59 -04:00
Donovan Glover
f8d10629e5
mpd: Use pipewire as the audio output
Now that pipewire is more mainstream, we don't have to worry about using
alsa or pulseaudio here which, from what I remember, took more effort
to set up.
2022-03-22 11:14:38 -04:00
Donovan Glover
d45807e590
waybar: Add padding-right to tray
This fixes an issue where the tray icon would previous be at the edge of
the screen. So far, the tray is only used for fcitx.
2022-03-22 11:07:52 -04:00
Donovan Glover
daec189305
sway: Use dunst as the notification daemon
Since dunst now supports both xorg and wayland, we can use it in sway
as well.
2022-03-22 10:16:09 -04:00
Donovan Glover
345f06095e
waybar: Increase padding between workspace buttons
There was actually an issue where waybar was using larger padding than
usual, which was fixed by setting the gsettings in our sway config. I
liked the padding changes introduced by the other theme, however, so
this change makes it permanent.
2022-03-22 10:15:11 -04:00
Donovan Glover
b0b528f76b
meta: Remove XDG_CURRENT_DESKTOP=KDE
This was cool when we had KDE-specific applications, but since I'm
prioritizing ranger and nautilus now, dolphin isn't needed. Since I'm
focusing heavily on terminal and web-based applications, there is less
need to customize KDE applications specifically.

Two other advantages to this is that I no longer have to manually update
the colors in kdeglobals, and most if not all of the environment can be
programmatically set up with minimal effort.
2022-03-22 09:34:19 -04:00
Donovan Glover
e958c6ab5d
bspwm: Use mpv with xsecurelock
This lets us play videos in the background while the screen is locked on
Xorg, taking advantage of all our mpv settings as well.
2022-03-21 11:41:16 -04:00
Donovan Glover
f2596ba263
sway: Hide the cursor when inactive
Now sway behaves similarly to unclutter on bspwm/xorg, and we don't have
to worry about moving the cursor out of the way since it automatically
disappears.
2022-03-21 11:39:26 -04:00
Donovan Glover
d391f5335b
meta: Use kitty instead of ueberzug
Since ueberzug only works in X, and since ranger previews currently
conflict with tmux due to a new python version on arch linux, ueberzug
has no real advantage besides making image previews work in alacritty,
which I ultimately decided against due to how it handles fcitx input on
Xorg.
2022-03-20 22:18:50 -04:00
Donovan Glover
562d4fa225
polybar: Use pulseaudio instead of alsa
This fixes an issue where the volume would show incorrectly with
pipewire.
2022-03-20 17:41:37 -04:00
Donovan Glover
301deee996
sxhkd: Show notification when changing volume 2022-03-20 17:40:44 -04:00
Donovan Glover
b57db95cfd
kitty: Don't use spacing between windows
This looked nice in rice screenshots but isn't practical since it limits
the amount of text available on the screen at any given moment.
2022-03-19 17:01:57 -04:00
Donovan Glover
5b33379e36
vim: Remove vim-closetag
This plugin appears to conflict with vim-autopairs, although I prefer
the flexibility that autopairs provides.
2022-03-19 09:46:58 -04:00
Donovan Glover
edc3525416
polybar: Decrease maximum length for window titles
This prevents the title from overflowing and causing layout shifts when
the other modules expand.
2022-03-15 11:15:22 -04:00
Donovan Glover
68075e746d
bspwm: Auto-mount partitions with udiskie
One of the conveniences of GNOME is auto-mounting. Although manually
mounting is a good learning exercise, we can improve productivity by
auto-mounting by default.
2022-03-15 08:51:47 -04:00
Donovan Glover
582e282778
sxhkd: Show notification instead of image on screenshot
This lets us take advantage of screenshots in full screen applications,
without the interruption that another window would provide.
2022-03-13 17:45:40 -04:00
Donovan Glover
ca32f737a6
bspwm: Start dunst on startup
We removed dunst at some point but now we're adding it back again.
2022-03-13 10:27:56 -04:00
Donovan Glover
9bee976e87
paru: Remove make dependencies on install
Now we don't have to manually clean make dependencies with paru -c.
2022-03-13 10:27:03 -04:00
Donovan Glover
05100eca7e
Revert "Remove tari-core meta package"
Looking back at this, meta packages should be one of the most convenient
ways to keep track of packages. It gets the job done and should be more
than sufficient for our use case.

In particular, installing all packages guarantees that we won't "miss
something" and have to install it manually, which is more useful than
having a lower package number count.

The main disadvantage is dealing with constant updates to large packages
in a restrictive internet environment, although it's possible to
mitigate this by separating the smaller packages from the larger ones.
2022-03-13 09:02:09 -04:00
Donovan Glover
927e2e6be6
kitty: Use grid layout by default
This makes kitty's first 3 windows mimic the bspwm experience.
2022-03-12 18:14:16 -05:00
Donovan Glover
323cb92c96
bspwm: Enable touchpad use while typing
Since we rarely (if ever) touch the touchpad by accident while typing,
having the option to use the touchpad and keyboard at the same time is
useful.
2022-03-11 10:10:41 -05:00
Donovan Glover
62c0fe97ac
fish: Enable git discovery across filesystem
This is mainly to get rid of the warning when using "git status" where
git doesn't exist when the current partition isn't the same as the root
partition.
2022-03-11 10:06:04 -05:00
Donovan Glover
03d45a8fbd
mpv: Define maximum window size
This makes it so that mpv won't take up the entire screen when executed,
assuming it's dealing with a video resolution equal to or greater than
the current display.
2022-03-11 10:05:31 -05:00
Donovan Glover
91bb102ecf
sway: Start fcitx on startup
Now we can immediately take advantage of fcitx in sway.
2022-03-11 09:57:55 -05:00
Donovan Glover
934a417dfb
bspwm: Auto-hide the mouse cursor when inactive
This makes working with bspwm a lot cooler since the cursor is now
automatically hidden when not in use, making full screen videos and
other applications a lot more immersive.
2022-03-11 09:54:53 -05:00
Donovan Glover
51ded5a05b
picom: Make hacksaw work with shadows
This fixes an issue where picom caused the screen to dim when hacksaw
was used. See: https://github.com/neXromancers/hacksaw/issues/33
2022-03-11 09:37:43 -05:00
Donovan Glover
93d7d54e76
dunst: Remove old shortcuts setting
This was removed in dunst 1.7.0.
2022-03-11 09:22:05 -05:00
Donovan Glover
c556434f9d
mpv: Start in fullscreen by default
This makes it nicer to immediately watch stuff without having to
fullscreen it first.
2022-03-11 08:27:53 -05:00
Donovan Glover
3f2e408ded
fish: Add paru to abbreviations
Now it's possible to type "p" for paru instead of having to type
"pacman" or "sudo pacman". This is mostly for convenience, since I think
there's still some merit to typing things out the standard way.
2022-03-08 13:07:46 -05:00
Donovan Glover
e296e2d44d
mpv: Add subtitle settings
Now subtitles in mpv are easier to use and look nicer overall.
2022-03-08 13:03:59 -05:00
Donovan Glover
4a58768b9e
bspwm: Make fcitx work with kitty
Note that although it's possible to make fcitx work with alacritty as
well, the current implementation doesn't show what you're typing as
you're typing it, which is inconvenient.

Because of this, I recommend using kitty in all cases if switching input
methods is important for your use case. kitty also has the advantage of
image preview support on both xorg and wayland, since ueberzug does not
have wayland support.

Note that I previously set up a working environment with ibus-mozc
which, although was cool (and better than ibus-anthy), did not offer all
the benefits that fcitx provides. Now that I figured out how to make
fcitx work on both xorg and wayland, as well as in applications like
anki, this is my preferred input method for personal systems.
2022-03-08 12:52:00 -05:00
Donovan Glover
5fa1a0ddb9
meta: Switch cursor theme from breeze to phinger
Using phinger is slightly cooler since it's not as stock as other cursor
themes like breeze.
2022-03-08 12:41:55 -05:00