From 8d6ce29c03b1eacb79909e422acc4fefb3ec0472 Mon Sep 17 00:00:00 2001 From: Sunderland93 Date: Fri, 24 Nov 2023 15:35:31 +0400 Subject: [PATCH] Add Rofi command and config --- etc/skel/.config/qtile/keybindings.py | 5 +++++ etc/skel/.config/rofi/config.rasi | 16 ++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 etc/skel/.config/rofi/config.rasi diff --git a/etc/skel/.config/qtile/keybindings.py b/etc/skel/.config/qtile/keybindings.py index b5895f0..f396648 100644 --- a/etc/skel/.config/qtile/keybindings.py +++ b/etc/skel/.config/qtile/keybindings.py @@ -53,6 +53,11 @@ keys = [ lazy.widget["keyboardlayout"].next_keyboard(), desc="Next keyboard layout." ), + Key([mod], "d", + lazy.spawn("rofi -show combi -combi-modi 'drun,run' -terminal $term -ssh-command '{terminal} {ssh-client} {host} [-p {port}]' -run-shell-command '{terminal} {cmd}'"), + desc="Launch Rofi menu" + ), + # Switch between windows Key( diff --git a/etc/skel/.config/rofi/config.rasi b/etc/skel/.config/rofi/config.rasi new file mode 100644 index 0000000..c165a20 --- /dev/null +++ b/etc/skel/.config/rofi/config.rasi @@ -0,0 +1,16 @@ +configuration { + show-icons: true; +} + +* { + lightbg: #24273a; + background: #24273a; + lightfg: #8aadf4; + foreground: #cad3f5; + border-color: #8aadf4; + font: "Hack 12"; +} + +window { + border: 2; +}