Updated Fully functional sway desktop with GNOME integration under Debian Ubuntu (markdown)

David Rios 2019-06-22 18:27:33 -03:00
parent fdadead44b
commit 8057bff162

@ -101,7 +101,11 @@ Now edit `~/.config/sway/config` and add the line `exec mako` somewhere, to star
## Application launcher and exit menu
We'll improvise an application launcher using `fzf` and the terminal emulator `kitty`. We need the newest version of kitty for proper wayland support, so we'll install the binary release from their GitHub repository. Install them:
We'll improvise an application launcher using `fzf` and the terminal emulator `kitty`, it'll look like this:
![](https://davidrios.github.io/configs/kitty-fzf-launcher.png)
We need the newest version of kitty for proper wayland support, so we'll install the binary release from their GitHub repository. Install them:
```
sudo apt install fzf curl xz-utils suckless-tools
@ -138,7 +142,11 @@ This will setup a basic menu launcher that can be summoned with the default `$me
### Exit menu
For exit options, we'll use this simple script: <https://gist.github.com/davidrios/41d72ef3f97104400c353bab3b1b89ab>, like so:
This is how the exit menu will look:
![](https://davidrios.github.io/configs/kitty-fzf-exit-menu.png)
We'll use this simple script: <https://gist.github.com/davidrios/41d72ef3f97104400c353bab3b1b89ab>, like so:
```
cd /tmp
@ -180,7 +188,7 @@ meson build
sudo ninja -C build install
```
Now to set sway key bindings. In the example below, the `PrtScn` key save a screenshot for the whole desktop and `Alt+PrtScn` let you select a region to capture. Add them to the sway config:
Now to set sway key bindings. In the example below, the `PrtScn` key save a screenshot of the whole desktop and `Alt+PrtScn` lets you select a region to capture. Add them to the sway config:
```
set $screenshot_file \"$HOME/Pictures/screenshot-$(date '+%Y-%m-%d_%H-%M-%S').png\"