Create bash file above and put it in your path. add these lines to your i3/config:
# change focus
bindsym $alt+$left exec i3-navigate-emacs left
bindsym $alt+$down exec i3-navigate-emacs down
bindsym $alt+$up exec i3-navigate-emacs up
require 'ruby-prof' | |
filename = '/tmp/example.txt' | |
File.delete(filename) | |
# profile first method | |
RubyProf.start | |
(1..100_000).each do |i| |