Commit Graph

3334 Commits

Author SHA1 Message Date
5ed54c3ec9 fish: Add go support
Note that the GOPATH is also a hidden directory now.
2022-07-28 02:59:08 -04:00
3c93bc4bab meta: Remove remaining fedora scripts
Like most things in life, it's time to move on from maintaining
Fedora-specific scripts. Although I like using Fedora when given a
random machine, my setup is much easier to reproduce on Arch Linux.

For most users, they may not even need a desktop operating system like
Fedora in the first place since mobile devices are typically more
secure, easier to carry around, and can do most if not everything that a
desktop can, especially in the year 2022.
2022-07-28 01:44:46 -04:00
adc372a0a2 xmodmap: Use print screen as a right super
I've always felt disadvantaged by not having a right super on laptop
keyboards. This fixes that.
2022-07-28 01:29:38 -04:00
3005a7ce51 archlinux: Remove install scripts
Although writing my own install scripts was a valuable learning
experience, Arch Linux now has an official archinstall utility, which
should be easier to use than having to edit a bash script.
2022-06-11 16:56:43 -04:00
f5fcf8962d fedora: Remove rpm package
Although learning about package management for rpm-based distributions
was a fun experience, it's not realistic to maintain long-term. In this
case, it may be easier to simply install packages on a case-by-case
basis, making use of Ansible for anything else.
2022-06-11 16:09:45 -04:00
10b8f4f648 fedora: Remove vendor scripts
Instead of setting up a development environment directly on Fedora,
which comes at the cost of having to maintain both the Fedora-specific
implementation and the Arch implementation, it should be easier to
simply use Vagrant instead.
2022-06-11 15:37:25 -04:00
eca6f0b46c editorconfig: Use standard formatting for go
go fmt uses tabs instead of spaces, so we might as well format our code
the same way.
2022-06-04 07:36:06 -04:00
4fdf375a17 git: Display unicode file names
This fixes an issue where Japanese and other non-English file names
would be escaped when using commands like git diff.

Reference: https://stackoverflow.com/questions/34549040/
2022-06-04 07:31:31 -04:00
8613af7d85 sxhkd: Change fn keys to super + F1-F12
This change has 3 main benefits:

1. We no longer have to worry about switching between the fn keys and
   F1-F12 keys, and can benefit from both keybinds at the same time.
2. Keys that don't return anything under xev (such as the chat icon and
   telephone icons) can now be customized.
3. We no longer have to worry about accidentally pressing the networking
   key that disables the internet connection.
2022-05-24 16:43:52 -04:00
c59984ac06 sxhkd: Add placeholders for fn keys
Note that instead of having to remember to switch between fn and non-fn
keys, especially when working with both at the same time, we can simply
map commands that would use those fn keys with super instead.

In this way, we no longer have to worry about the same keystroke performing
a different command. The current commit serves as an easy way to remember
what the existing fn keys were if needed.
2022-05-24 16:33:08 -04:00
9be6e9c11b kitty: Make fcitx ui work under wayland
This fixes an issue where kitty wasn't able to show the ui of fcitx
under wayland. By forcing x11 specifically, kitty now has reasonably
good support for fcitx under wayland.
2022-04-12 14:33:13 -04:00
d654c999b8 waybar: Make text easier to read
This slightly increases the font weight of text without affecting the
font awesome icons, which is important since changing the font weight
of everything caused the firefox icon to become malformed.
2022-04-12 14:24:19 -04:00
163e8eb722 waybar: Use the same font awesome icons as polybar
This fixes an issue where the icons in sway would slightly differ from
those in polybar.
2022-04-12 14:23:19 -04:00
991880dc59 waybar: Switch to monospaced font
This lets us have consistent spacing across the icons without having to
worry about adding spaces manually.
2022-04-12 13:44:58 -04:00
3504314379 waybar: Use the same icons in sway as bspwm
This makes our setup more consistent across the two environments, useful
when switching between them. Note that sway is not a replacement for
bspwm due to how it handles fcitx input with kitty and how it has
built-in vsync.
2022-04-12 13:43:26 -04:00
4156c1fb23 sxhkd: Copy selections to clipboard by default
Since selections are more likely to be temporary than full screen
screenshots, copying their contents to clipboard by default is useful,
although in the future it may be more practical to create an image and
copy to clipboard at the same time, similar to other screenshotting
tools like ShareX.
2022-04-12 10:40:04 -04:00
671ce294c9 kitty: Use practical layout hierarchy
This makes it easy to switch layouts in kitty and usually get what we
want rather quickly, without having to worry about the current layout
being used.
2022-04-12 10:32:21 -04:00
dc3c752337 kitty: Enable dynamic background opacity
At some point I disabled this setting, possibly because of a bug or
other issue at the time, most likely related to my use of w3m or a
similar image preview script.

Now that I take advantage of all of kitty's features in 2022, especially
since it has proper fcitx support, there shouldn't be a reason to not
enable dynamic background opacity, as it seems to work flawlessly.
2022-04-12 10:20:59 -04:00
60ce281c8c fish: Add wal completions
I wrote a script that generated wal completions 4 years ago. Although
the patch was never merged, pywal is a great tool and I can still use
the completions personally, so I might as well add them here.
2022-04-12 10:16:37 -04:00
0e58d7478d fish: Add git clone abbreviation 2022-04-12 10:03:24 -04:00
80bfb36919 polybar: Don't hardcode monitor to display on
Now polybar will show on all monitors by default, and we don't have to
update the script every time those monitors change, useful when changing
between computers that use HDMI and computers that use display port, for
example.
2022-04-11 10:12:59 -04:00
cc9b8aed08 wal: Update kitty colors on theme change
Now we no longer have to worry about kitty having an inconsistent color
scheme when changing the color scheme of the rest of the environment,
which means that we can fully use kitty's window management and change
themes with pywal at the same time.
2022-04-11 09:45:46 -04:00
f01915654c fish: Add fzf key bindings
This lets us do cool things like alt+c to easily cd into a directory
with fuzzy search.
2022-04-11 09:41:08 -04:00
762ff7bd15 bspwm: Use a more interesting desktop layout
Since I usually have a browser and terminal emulator open most of the
time, I have placed them back as desktop 1 and 2 by default. I'm used to
the file browser being in 3, and 4 serves as media, which is important
for language immersion in particular.

The other 6 icons are numbers for individuals that know how to read
other languages.
2022-04-11 09:35:29 -04:00
adad255285 polybar: Update cpu icon to new version
At some point the cpu icon stopped working, so this changes it to a new
version found in font awesome 6.
2022-04-11 09:22:25 -04:00
54b116c55b kitty: Enable remote control with listen support
This enables us to automatically change kitty colors when changing pywal
color schemes, which means that kitty window management, such as its tab
feature, will honor the new colors of pywal automatically, without
having to restart kitty.
2022-04-11 09:20:39 -04:00
eb38cfcf1c polybar: Add wifi module
This makes it easy to see the amount of data being uploaded or
downloaded at any given time.
2022-04-11 09:11:24 -04:00
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
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
e2dc9ca3d1 misc: Fix link to yay 2022-04-11 08:56:28 -04:00
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
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
9674210774 fish: Ignore lost+found with exa
This makes browsing the root of ext4 partitions nicer.
2022-04-09 09:44:25 -04:00
dc483d0f30 misc: Fix typo
Might as well fix these as I notice them.
2022-04-09 09:42:36 -04:00
cc7b166b85 sxhkd: Add notification when reloading sxhkd 2022-04-09 09:39:48 -04:00
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
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
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
df0456279a waybar: Increase tray spacing
Now the icons look nicer next to the numbered workspaces.
2022-03-24 16:26:00 -04:00
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
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
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
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
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
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
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
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
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
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
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