Skip to content

Commit

Permalink
v2 yummy rice
Browse files Browse the repository at this point in the history
  • Loading branch information
kualta authored Apr 28, 2024
1 parent 36c6442 commit 60438aa
Showing 1 changed file with 30 additions and 61 deletions.
91 changes: 30 additions & 61 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,23 @@
## Focus-first minimalist desktop setup
### Overview
- host: [`NixOS`](https://nixos.org/)
- wm: [`Hyprland`](https://hyprland.org/)
- shell: [`zsh`](https://www.zsh.org/)
- shell: [`bash`](https://en.wikipedia.org/wiki/Bash_(Unix_shell))
- terminal: [`kitty`](https://github.com/kovidgoyal/kitty)
- theme: [`Rose Pine`](https://rosepinetheme.com/)
- theme: [`Catpuccin`](https://rosepinetheme.com/)
- editor: [`helix`](https://helix-editor.com/), [`neovim`](https://neovim.io/), [`vscode`](https://code.visualstudio.com/)
- menu: [`tofi`](https://github.com/philj56/tofi)

### Keybinds
### Keybinds & Aliases

**Aliases**

- `nx` - to rebuild nix os
- `nxe` - to edit nix config
- `hpe` - to edit hyprland config

<details>
<summary><b>Desktop</b></summary>
<summary><b>Keybinds</b></summary>

- <kbd>Mod</kbd> + <kbd>Enter</kbd> Open terminal
- <kbd>Mod</kbd> + <kbd>Print</kbd> Make a screenshot
Expand All @@ -25,62 +33,19 @@
- <kbd>Mod</kbd> + <kbd>Shift</kbd> + <kbd>h</kbd> / <kbd>j</kbd> / <kbd>k</kbd> / <kbd>l</kbd> Move window
</details>

<details>
<summary><b>Shell</b></summary>

### History

- `ctrl-p` : Previous command in history
- `ctrl-n` : Next command in history
- `/` : Search backward in history
- `n` : Repeat the last `/`

### Movement

- `$` : To the end of the line
- `^` : To the first non-blank character of the line
- `0` : To the first character of the line
- `w` : [count] words forward
- `W` : [count] WORDS forward
- `e` : Forward to the end of word [count] inclusive
- `E` : Forward to the end of WORD [count] inclusive
- `b` : [count] words backward
- `B` : [count] WORDS backward
- `t{char}` : Till before [count]'th occurrence of {char} to the right
- `T{char}` : Till before [count]'th occurrence of {char} to the left
- `f{char}` : To [count]'th occurrence of {char} to the right
- `F{char}` : To [count]'th occurrence of {char} to the left
- `;` : Repeat latest f, t, F or T [count] times
- `,` : Repeat latest f, t, F or T in opposite direction

### Insertion

- `i` : Insert text before the cursor
- `I` : Insert text before the first character in the line
- `a` : Append text after the cursor
- `A` : Append text at the end of the line
- `o` : Insert new command line below the current one
- `O` : Insert new command line above the current one

### Delete and Insert

- `ctrl-h` : While in *Insert mode*: delete character before the cursor
- `ctrl-w` : While in *Insert mode*: delete word before the cursor
- `d{motion}` : Delete text that {motion} moves over
- `dd` : Delete line
- `D` : Delete characters under the cursor until the end of the line
- `c{motion}` : Delete {motion} text and start insert
- `cc` : Delete line and start insert
- `C` : Delete to the end of the line and start insert
- `r{char}` : Replace the character under the cursor with {char}
- `R` : Enter replace mode: Each character replaces existing one
- `x` : Delete `count` characters under and after the cursor
- `X` : Delete `count` characters before the cursor

</details>


### Installation
### Installation on NixOS
> Note: configuration.nix contains bash post-install that copies all the configuration files from the config/ directory onto the system
1. Copy the files onto your system
```sh
cp -f dots/* /etc/nixos/
```
2. Rebuild your system (using configured alias)
```sh
nx
```
3. You're beautiful

### Installation on Arch \ Debian
> Note: If using **Debian** as host, you'll have to compile most of the dependencies from source
1. Install `Hyprland` as described [on wiki](https://wiki.hyprland.org/Getting-Started/Installation/)
Expand All @@ -95,5 +60,9 @@ Arch (QoL): `yay -S foliate discord telegram-desktop openvpn lld ttf-material-d
6. You're amazing! (and so is your desktop)

### Gallery
v1 (old branch)
![](https://github.com/kualta/dots/assets/72769566/6a2ef24b-05da-44c5-946a-e6c927ef3022)
![](https://github.com/kualta/dots/assets/72769566/b333a976-b083-477b-b1f9-97174300d339)

v2 (main branch)
![](https://github.com/kualta/dots/assets/72769566/8f45024d-fcb9-4470-ad2c-aa1813ad5fe4)

0 comments on commit 60438aa

Please sign in to comment.