1
0
forked from extern/nix-config
Commit Graph

1698 Commits

Author SHA1 Message Date
Donovan Glover
08b5d9a72b
hyprland: Add toggle layout script 2023-04-30 13:46:59 -04:00
Donovan Glover
feb84afb12
hyprland: Add swapmaster script
This is an alternative to the default swapmaster behavior that, instead
of swapping with the first child, swaps with the last active window if
the currently focused window is master.
2023-04-30 13:43:24 -04:00
Donovan Glover
68a8b3369c
hyprland: Add tags script
This somewhat replicates the cool tag functionality observed in dwm,
river, and similar window managers.
2023-04-30 13:00:47 -04:00
Donovan Glover
b00d8c9ebb
hyprland: Add toggle yambar script 2023-04-30 12:53:02 -04:00
Donovan Glover
cdd27be432
yambar: Remove river support
Hyprland does most of what river could do but better, so focusing on
Hyprland is ideal to simplify configuration.
2023-04-26 16:01:17 -04:00
Donovan Glover
a53f76a0be
yambar: Handle special workspace 2023-04-26 16:00:34 -04:00
Donovan Glover
049dc47f2a
meta: Add yambar 2023-04-26 03:24:26 -04:00
Donovan Glover
0f720ca3c0
sxhkd: Add dzen2 script
This was a script I used to show the workspace number without having to
worry about having a bar in bspwm.
2023-04-26 02:40:56 -04:00
Donovan Glover
3ed20a4ae8
waybar: Update config
This was my attempt at getting waybar to play nicely with both Hyprland
and river, although I prefer yambar now.
2023-04-26 01:53:28 -04:00
Donovan Glover
51a3e26332
hyprland: Use river-like keybinds 2023-04-25 22:41:21 -04:00
Donovan Glover
a4c5c4ee05
git: Remove hard-coded diff-highlight colors
This makes pywal themes more likely to work with diff-so-fancy.
2023-04-25 22:13:58 -04:00
Donovan Glover
1c17a6dd22
meta: Add river
river is a cool Wayland compositor that I've been trying for a few days
now. There are some bugs and unimplemented features, however, that make
me want to use Hyprland instead.
2023-04-24 15:35:45 -04:00
Donovan Glover
7bbd7281e5
wal: Simplify done.sh
Since I plan to not use tint2 and bspwm anymore, there is no need for
those scripts to run with done.sh.
2023-04-24 01:09:11 -04:00
Donovan Glover
dd027edc61
tint2: Call fullscreen.sh with wal.sh 2023-04-24 01:08:35 -04:00
Donovan Glover
83d0503272
gpg: Simplify gpg.conf
Many of these settings are not necessary to change since they're the
default anyway, and by using the defaults, important settings should be
automatically applied over time.
2023-04-24 01:03:41 -04:00
Donovan Glover
9f6a741589
tint2: Use separate fullscreen.sh
Using a separate file was so tint2 would continue to show below
fullscreen windows after changing themes with wal.
2023-04-24 01:01:31 -04:00
Donovan Glover
c0495805d5
bspwm: Update bspwmrc 2023-04-24 00:59:45 -04:00
Donovan Glover
5fa6520e26
code: Update settings.json 2023-04-23 23:03:33 -04:00
Donovan Glover
2fff973177
hyprland: Update config
Changes include:

- fcitx5 support
- Removed middle click paste
- udiskie starts by default
- Internal screen is 1x scale by default
- Acceleration profile is flat
- swww settings added
- Gaps are smaller by default
- No border by default
- Master layout by default
- No rounding by default
- Special workspace uses fade animation
- New windows become master
- rofi used over of wofi
- Super+O to toggle waybar
- Super+U to toggle between master/dwindle layouts
- Super+S to toggle special workspace
- Super+Ctrl+[0-9] for river/dwm-like tag behavior
- Super+Alt for group keybinds
- Volume/brightness keybinds
2023-04-23 22:11:50 -04:00
Donovan Glover
1b55e870c5
waybar: Update styles
Changes include:

- Support for Hyprland and river.
- Noto Sans by default.
- Taskbar styles.
2023-04-23 21:50:36 -04:00
Donovan Glover
226b79ae75
picom: Add more opacity rules
Logseq looks quite nice with transparency.
2023-04-23 20:45:28 -04:00
Donovan Glover
ff0a1e0ef9
rofi: Don't make rofi a normal window
This isn't needed now that I am no longer interested in starting rofi on
a separate desktop for dynamic bspwmm desktops.
2023-04-23 20:44:23 -04:00
Donovan Glover
2853b6b21d
bspwm: Remove dynamic desktops
This was cute but I prefer tags now.
2023-04-23 20:40:35 -04:00
Donovan Glover
578479a866
ranger: Show hidden files 2023-04-23 20:36:51 -04:00
Donovan Glover
176aae124b
fish: Increase rg limit 2023-04-23 20:31:52 -04:00
Donovan Glover
276a4ccd5f
alacritty: Fix decorations_theme_variant capitalization 2023-04-23 20:31:06 -04:00
Donovan Glover
b7002980f8
vim: Remove coc.nvim
I never use this and it was actually making tab not work when at the end
of of a word. Getting rid of it entirely means less running code that I
have to maintain.
2023-04-11 20:11:39 -04:00
Donovan Glover
a4654beb2b
sxhkd: Remove super+tab
Pressing the actual number of the desktop is more productive than
tabbing between them since you associate the hand movement with that
workspace, making it easier to return to later.

Super+tab, in contrast, was one hand movement that resulted in many
different results, which wasn't so good for memorizing which desktop has
what.
2023-04-11 18:32:29 -04:00
Donovan Glover
726aedf7d3
meta: Remove sway (for real this time)
Hyprland has all the benefits of Sway but with the advantage of using a
bspwm-like layout instead of an i3-like layout.
2023-04-11 17:04:10 -04:00
Donovan Glover
b067b280fb
hyprland: Replace $mainMod with SUPER
I don't think I've ever had to change from SUPER in my years of using
Linux, and if I ever had to, it'd be a simple find and replace.

Using SUPER explicitly here makes things easier to read and understand
without having to worry about additional variables.
2023-04-11 16:15:23 -04:00
Donovan Glover
be1f812b57
hyprland: Change default keybindings
Super+Enter is now the infamous new terminal keybind, and Super+Q now
closes windows as expected.

Other changes include using a single instance for kitty and adding
basic screenshotting functionality.
2023-04-11 16:13:43 -04:00
Donovan Glover
cf965f58cb
hyprland: Don't disable touchpad while typing 2023-04-11 15:53:14 -04:00
Donovan Glover
807ccdfde2
hyprland: Move focus with hjkl 2023-04-11 15:52:21 -04:00
Donovan Glover
e9d998c9bc
hyprland: Add fcitx5 support
This works surprisingly well and actually seems less buggy (if at all)
than fcitx5 under Sway based on my testing.
2023-04-11 15:06:51 -04:00
Donovan Glover
56ba2633cb
hyprland: Enable workspace swipe
This is huge and means that I no longer have to use the buggy libinput
hacks that I used previously. So far, I haven't experienced any bugs
with hyprland gestures that I experienced with libinput-gestures.
2023-04-10 18:21:59 -04:00
Donovan Glover
c42127cd0d
hyprland: Enable natural scroll 2023-04-10 18:21:36 -04:00
Donovan Glover
ae0dc7696e
hyprland: Use yes/no instead of true/false
Personal preference. I like the shorter syntax and how it feels less
like work and more like something natural for humans.
2023-04-10 18:18:29 -04:00
Donovan Glover
34f7a43f43
meta: Add hyprland
From my initial testing, hyprland seems quite nice and opens new windows
similar to bspwm. Not having to specify whether a window should open
horizontally or vertically makes things feel a lot smoother compared to
sway.
2023-04-10 18:07:57 -04:00
Donovan Glover
71eb44efaa
sway: Enable variable refresh rate 2023-04-08 13:55:30 -04:00
Donovan Glover
24655c9d6f
vim: Remove editorconfig plugin
This is no longer needed since neovim 0.9.0 has editorconfig built-in.
2023-04-07 22:33:12 -04:00
Donovan Glover
dd45c84a10
bspwm: Use ranger as a file browser
This change, in combination with xdg-desktop-portal-termfilechooser-git,
was my attempt to use ranger as a file browser. Although it worked, it
unfortunately caused ranger to crash in some instances, likely due to
incorrect parameters.
2023-04-07 22:32:39 -04:00
Donovan Glover
166b8d01cc
vim: Remove on/for optimizations
The vim-plug FAQ recommends against using on/for. Most modern plugins
should lazily load without this workaround.
2023-04-01 17:55:47 -04:00
Donovan Glover
10c79f72d0
bspwm: Don't open new nodes on empty desktops
I initially programmed this "dynamic desktops" implementation for a
similar feel to GNOME, however after using it for a few months I
realized that I was taking away one of the main advantages of a tiling
window manager by having all windows not tile by default.

Additionally, I ran into some edge cases where the next window would not
show if opened on a desktop that had multiple nodes open. Although I
could probably figure out the cause with some effort, I'd much rather
enjoy the simplicity of the traditional tiling hierarchy once more.
2023-03-25 07:23:41 -04:00
Donovan Glover
9089c7a2c1
alacritty: Change browser to librewolf 2023-03-24 11:18:22 -04:00
Donovan Glover
2ba1966ea4
kitty: Slightly decrease background opacity 2023-03-23 08:29:22 -04:00
Donovan Glover
b86ebd002b
picom: Add translucency for dzen 2023-03-23 08:29:05 -04:00
Donovan Glover
7528fb9816
alacritty: Replace outdated gtk_theme_variant 2023-03-23 08:28:04 -04:00
Donovan Glover
95fa20b5c7
alacritty: Fix outdated template variable 2023-03-23 08:26:59 -04:00
Donovan Glover
4bfc2ce71f
bspwm: Use super+grave for alttab
This gives us the convenience of switching desktops while also giving us
the option of the traditional alt+tab approach if needed.

Note that all desktop-related keybinds use the super key so alt and ctrl
modifiers can be used by desktop programs.
2023-03-22 19:10:52 -04:00
Donovan Glover
4da78955aa
ncmpcpp: Add cross-fading support
This is supposedly different than implementing cross-fade with mpc.
2023-03-21 09:36:25 -04:00