From 5aa5e9f19bab144b99eaad160267f169d7a7c22e Mon Sep 17 00:00:00 2001 From: Guilherme Rugai Freire <41879254+GRFreire@users.noreply.github.com> Date: Sun, 29 Aug 2021 22:29:32 -0300 Subject: [PATCH] qtile: add calculator keybind --- .config/qtile/config.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.config/qtile/config.py b/.config/qtile/config.py index 9ba10e0..ababca7 100644 --- a/.config/qtile/config.py +++ b/.config/qtile/config.py @@ -24,6 +24,7 @@ FILE_MANAGER = "nautilus -w" CLIPBOARD_MANAGER = "rofi -modi \"clipboard:greenclip print\" -show clipboard -run-command '{cmd}'" SCREENSHOT = "gnome-screenshot" SCREENSHOT_UTILITY = "gnome-screenshot -i" +CALCULATOR= "rofi -show calc -modi calc -no-show-match -no-sort" POWER_MENU = os.path.expanduser( "~/.scripts/bin/simple-power-menu" ) @@ -50,6 +51,7 @@ keys = [ Key([MOD], "p", lazy.spawn(WEB_QUICK_OPEN), desc="Open web browser quick launcher"), Key([MOD], "b", lazy.spawn(BITWARDEN_LAUNCHER), desc="Open bitwarden launcher"), Key([MOD], "f", lazy.spawn(FILE_MANAGER), desc="Open file manager"), + Key([MOD], "c", lazy.spawn(CALCULATOR), desc="Open calculator"), # Closes window. Key([MOD], "q", lazy.window.kill(), desc="Kill focused window"), # Switch between windows