Skip to content

Commit

Permalink
incremental search window switching
Browse files Browse the repository at this point in the history
dragging the desktop halfway to emacs, arn't you happy?
  • Loading branch information
cburroughs committed Apr 28, 2022
1 parent 3a73842 commit 8bf4960
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 3 deletions.
11 changes: 11 additions & 0 deletions .config/rofi/config.rasi
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
configuration {
modi: "window,windowcd,keys";
font: "Dejavu Sans Mono 16";
show-icons: true;
kb-clear-line: "";
kb-remove-word-back: "Control+W,Control+BackSpace";
timeout {
action: "kb-cancel";
delay: 15;
}
}
3 changes: 3 additions & 0 deletions .xbindkeysrc
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,6 @@
# avoid gnome-keyring nonesense
"chromium --password-store=basic"
Mod4 + c

"rofi -show window -match fuzzy"
Mod4 + space
11 changes: 9 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
SHELL=/bin/bash

most: emacs bash git bin-utils x11
.PHONY: emacs bash git bin-utils x11 first-run-only xfce4-keyboard-shortcuts
most: emacs bash git bin-utils x11 rofi
.PHONY: emacs bash git bin-utils x11 first-run-only rofi xfce4-keyboard-shortcuts

emacs:
@echo $@
Expand Down Expand Up @@ -37,8 +37,15 @@ x11:

# Pseudo tied to hardware or otherwise specific per workstation
hw:
@echo $@
cp -a .xmodmaprc ~

xfce4-keyboard-shortcuts:
@echo $@
mkdir -p ~/.config/xfce4/xfconf/xfce-perchannel-xml
cp -a xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml ~/.config/xfce4/xfconf/xfce-perchannel-xml/

rofi:
@echo $@
mkdir -p ~/.config/rofi
cp -a .config/rofi/config.rasi ~/.config/rofi/
2 changes: 1 addition & 1 deletion xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
<property name="&lt;Shift&gt;&lt;Super&gt;d" type="string" value="show_desktop_key"/>
<property name="&lt;Super&gt;l" type="string" value="tile_down_left_key"/>
<property name="&lt;Super&gt;semicolon" type="string" value="tile_down_right_key"/>
<property name="&lt;Super&gt;space" type="string" value="maximize_window_key"/>
<property name="&lt;Super&gt;m" type="string" value="maximize_window_key"/>
<property name="&lt;Super&gt;n" type="string" value="maximize_horiz_key"/>
<property name="&lt;Super&gt;y" type="string" value="maximize_vert_key"/>
<property name="&lt;Shift&gt;&lt;Super&gt;c" type="string" value="close_window_key"/>
Expand Down

0 comments on commit 8bf4960

Please sign in to comment.