Compare commits

...

2 Commits

Author SHA1 Message Date
2888384d29 update bezier curve 2026-03-06 15:52:33 +00:00
ff0f717e75 updated keybindings 2026-03-06 15:52:25 +00:00
2 changed files with 76 additions and 70 deletions

View File

@@ -2,6 +2,12 @@
Dotfiles and scripts for Arch Linux (Manjaro), targeting Wayland (Hyprland / Sway) with an i3 fallback.
## IMPORTANT TODO
Inside `scripts/wofi/styles.css`, I have the colour css set to `/home/adamf/scripts/wofi/colors.css`, which is clearly ugly and not nice but it was quick to do.
Wofi is called in hypr/hyprland.conf and sway/swayconfig with the command `wofi --style /home/adamf/scripts/wofi/styles.css`. This is also not ideal but I couldn't find a way to get it to work with a relative path. I'm unsure when hyprland working directory is.
## Setup
```bash
@@ -109,7 +115,7 @@ All window managers and tmux use vim-style <kbd>h</kbd><kbd>j</kbd><kbd>k</kbd><
### Shared across WMs
| Key | Action |
| --- | --- |
| ------------------------ | ------------------------------------------ |
| `$mod + Return` | Terminal (kitty) |
| `$mod + Shift + q` | Kill window |
| `$mod + d` | Launcher (wofi / dmenu) |
@@ -138,7 +144,7 @@ All window managers and tmux use vim-style <kbd>h</kbd><kbd>j</kbd><kbd>k</kbd><
### System menu (`$mod + 0`)
| Key | Action |
| --- | --- |
| ---------------- | ------------ |
| `l` | Lock |
| `s` | Suspend |
| `h` | Hibernate |
@@ -152,7 +158,7 @@ All window managers and tmux use vim-style <kbd>h</kbd><kbd>j</kbd><kbd>k</kbd><
Prefix is <kbd>Ctrl</kbd> + <kbd>f</kbd>.
| Key | Action |
| --- | --- |
| ------------------------- | --------------------------- |
| `Prefix + g` | Split horizontal |
| `Prefix + v` | Split vertical |
| `Prefix + h/j/k/l` | Select pane |
@@ -190,7 +196,7 @@ killall waybar && waybar & # Waybar
Generated files (committed so configs work after a fresh clone):
| File | Format | Used by |
| --- | --- | --- |
| ------------------- | --------------------------- | ---------------------------- |
| `hypr/colors.conf` | `$color_name = rgb(HEXVAL)` | `hyprland.conf` (source) |
| `sway/colors.conf` | `set $color_name #HEXVAL` | `swayconfig` (include) |
| `i3/colors.conf` | `set $color_name #HEXVAL` | `i3config` (include) |
@@ -202,7 +208,7 @@ Generated files (committed so configs work after a fresh clone):
All in `sh/`, added to `$PATH` via the shell config above.
| Script | Description |
| --- | --- |
| ------------------ | --------------------------------------------- |
| `sharefile <file>` | Upload a file to 0x0.st |
| `getfile <id>` | Download a file from 0x0.st |
| `waybar-history` | Stream the last zsh history entry to waybar |

View File

@@ -88,14 +88,14 @@ decoration {
animations {
enabled = true
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
bezier = myBezier, 0.645, 0.045, 0.355, 1.000
animation = windows, 1, 7, myBezier
animation = windowsOut, 1, 7, default, popin 80%
animation = border, 1, 10, default
animation = borderangle, 1, 8, default
animation = fade, 1, 7, default
animation = workspaces, 1, 6, default
animation = windowsOut, 1, 7, myBezier
animation = border, 1, 10, myBezier
animation = borderangle, 1, 8, myBezier
animation = fade, 1, 7, myBezier
animation = workspaces, 1, 6, myBezier
}
master {