From c0597287c6286654cb1e9aabeb7a164389ecc171 Mon Sep 17 00:00:00 2001 From: Yash Karandikar Date: Tue, 23 May 2023 18:24:28 -0500 Subject: [PATCH] Bind calculator key to open calculator --- .config/i3/config | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.config/i3/config b/.config/i3/config index de720fa..119cd9e 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -69,6 +69,7 @@ bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOU bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl set +10% bindsym XF86MonBrightnessDown exec --no-startup-id brightnessctl set 10%- + # Use Mouse+$mod to drag floating windows to their wanted position floating_modifier $mod @@ -79,11 +80,15 @@ bindsym $mod+Shift+Return exec firefox-developer-edition # kill focused window bindsym $mod+Shift+q kill -# Rofi stuff: Raw rofi, rofimoji, rofi-calc +# Rofi stuff: Raw rofi, rofimoji bindsym $mod+space exec "rofi -modi drun,run -show drun -show-icons" bindsym $mod+e exec rofimoji bindsym $mod+m exec "rofimoji --files /home/yashkarandikar/.config/devanagari.csv --action clipboard" + +# Rofi calculator bindsym $mod+g exec "rofi -show calc -modi calc -no-show-match -no-sort" +bindsym XF86Calculator exec "rofi -show calc -modi calc -no-show-match -no-sort" + # change focus bindsym $mod+j focus left