Skip to content

Commit

Permalink
desktop: Add hotkey for cloning github repos from the browser
Browse files Browse the repository at this point in the history
  • Loading branch information
juanibiapina committed Mar 31, 2024
1 parent edf8b90 commit 0323494
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cli/libexec/_hotkey/start
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash

set -e

xdotool key --clearmodifiers ctrl+l
xdotool key --clearmodifiers ctrl+c
xclip -o | xargs dev start
3 changes: 3 additions & 0 deletions dotfiles/xbindkeys/.xbindkeysrc.scm
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@
; rofi launcher
(space-xbindkey '(space) (shell "dev rofi launcher"))

; dev hotkey start
(space-xbindkey '(g) (shell "dev _hotkey start"))

; switch to normal mode
(space-xbindkey-function '(Escape) (lambda () "noop")))

Expand Down

0 comments on commit 0323494

Please sign in to comment.