updated keybindings
This commit is contained in:
16
README.md
16
README.md
@@ -2,6 +2,12 @@
|
|||||||
|
|
||||||
Dotfiles and scripts for Arch Linux (Manjaro), targeting Wayland (Hyprland / Sway) with an i3 fallback.
|
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
|
## Setup
|
||||||
|
|
||||||
```bash
|
```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
|
### Shared across WMs
|
||||||
|
|
||||||
| Key | Action |
|
| Key | Action |
|
||||||
| --- | --- |
|
| ------------------------ | ------------------------------------------ |
|
||||||
| `$mod + Return` | Terminal (kitty) |
|
| `$mod + Return` | Terminal (kitty) |
|
||||||
| `$mod + Shift + q` | Kill window |
|
| `$mod + Shift + q` | Kill window |
|
||||||
| `$mod + d` | Launcher (wofi / dmenu) |
|
| `$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`)
|
### System menu (`$mod + 0`)
|
||||||
|
|
||||||
| Key | Action |
|
| Key | Action |
|
||||||
| --- | --- |
|
| ---------------- | ------------ |
|
||||||
| `l` | Lock |
|
| `l` | Lock |
|
||||||
| `s` | Suspend |
|
| `s` | Suspend |
|
||||||
| `h` | Hibernate |
|
| `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>.
|
Prefix is <kbd>Ctrl</kbd> + <kbd>f</kbd>.
|
||||||
|
|
||||||
| Key | Action |
|
| Key | Action |
|
||||||
| --- | --- |
|
| ------------------------- | --------------------------- |
|
||||||
| `Prefix + g` | Split horizontal |
|
| `Prefix + g` | Split horizontal |
|
||||||
| `Prefix + v` | Split vertical |
|
| `Prefix + v` | Split vertical |
|
||||||
| `Prefix + h/j/k/l` | Select pane |
|
| `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):
|
Generated files (committed so configs work after a fresh clone):
|
||||||
|
|
||||||
| File | Format | Used by |
|
| File | Format | Used by |
|
||||||
| --- | --- | --- |
|
| ------------------- | --------------------------- | ---------------------------- |
|
||||||
| `hypr/colors.conf` | `$color_name = rgb(HEXVAL)` | `hyprland.conf` (source) |
|
| `hypr/colors.conf` | `$color_name = rgb(HEXVAL)` | `hyprland.conf` (source) |
|
||||||
| `sway/colors.conf` | `set $color_name #HEXVAL` | `swayconfig` (include) |
|
| `sway/colors.conf` | `set $color_name #HEXVAL` | `swayconfig` (include) |
|
||||||
| `i3/colors.conf` | `set $color_name #HEXVAL` | `i3config` (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.
|
All in `sh/`, added to `$PATH` via the shell config above.
|
||||||
|
|
||||||
| Script | Description |
|
| Script | Description |
|
||||||
| --- | --- |
|
| ------------------ | --------------------------------------------- |
|
||||||
| `sharefile <file>` | Upload a file to 0x0.st |
|
| `sharefile <file>` | Upload a file to 0x0.st |
|
||||||
| `getfile <id>` | Download a file from 0x0.st |
|
| `getfile <id>` | Download a file from 0x0.st |
|
||||||
| `waybar-history` | Stream the last zsh history entry to waybar |
|
| `waybar-history` | Stream the last zsh history entry to waybar |
|
||||||
|
|||||||
Reference in New Issue
Block a user