mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-23 03:20:26 +10:00
Experimenting with using Emacs as a Rofi replacement; not working correctly--YET!
This commit is contained in:
@@ -137,8 +137,10 @@ A list of available commands that can be bound to keys can be found at: https://
|
||||
keys = [
|
||||
# The essentials
|
||||
Key([mod], "Return", lazy.spawn(myTerm), desc="Terminal"),
|
||||
# Use 'rofi' as a run launcher.
|
||||
Key([mod, "shift"], "Return", lazy.spawn("rofi -show drun -show-icons"), desc='Run Launcher'),
|
||||
# Use 'rofi' as your run launcher.
|
||||
# Key([mod, "shift"], "Return", lazy.spawn("rofi -show drun -show-icons"), desc='Run Launcher'),
|
||||
# Use 'emacs' as your run launcher
|
||||
Key([mod, "shift"], "Return", lazy.spawn('emacsclient -ce "(dt/emacs-run-launcher)" -F "((name . \\"emacs-run-launcher\\")(minibuffer . only)(width . 80)(height . 11))"'), desc='Run Launcher'),
|
||||
Key([mod], "w", lazy.spawn(myBrowser), desc='Web browser'),
|
||||
Key([mod], "b", lazy.hide_show_bar(position='all'), desc="Toggles the bar to show/hide"),
|
||||
Key([mod], "Tab", lazy.next_layout(), desc="Toggle between layouts"),
|
||||
@@ -236,7 +238,7 @@ keys = [
|
||||
]),
|
||||
# Dmenu/rofi scripts launched using the key chord SUPER+p followed by 'key'
|
||||
KeyChord([mod], "p", [
|
||||
Key([], "Return", lazy.spawn("emacsclient -cF \"(visibility . nil)\" -e \"(dt/emacs-command-launcher)\""), desc='Emacs command launcher'),
|
||||
Key([], "Return", lazy.spawn('emacsclient -cF "((visibility . nil))" -e "(dt/emacs-command-launcher)"'), desc='Emacs command launcher'),
|
||||
Key([], "h", lazy.spawn("dm-hub -r"), desc='List all dmscripts'),
|
||||
Key([], "a", lazy.spawn("dm-sounds -r"), desc='Choose ambient sound'),
|
||||
Key([], "b", lazy.spawn("dm-setbg -r"), desc='Set background'),
|
||||
@@ -607,25 +609,26 @@ floating_layout = layout.Floating(
|
||||
float_rules=[
|
||||
# Run the utility of `xprop` to see the wm class and name of an X client.
|
||||
*layout.Floating.default_float_rules,
|
||||
Match(wm_class="confirmreset"), # gitk
|
||||
Match(wm_class="dialog"), # dialog boxes
|
||||
Match(wm_class="download"), # downloads
|
||||
Match(wm_class="error"), # error msgs
|
||||
Match(wm_class="file_progress"), # file progress boxes
|
||||
Match(wm_class='kdenlive'), # kdenlive
|
||||
Match(wm_class="makebranch"), # gitk
|
||||
Match(wm_class="maketag"), # gitk
|
||||
Match(wm_class="notification"), # notifications
|
||||
Match(wm_class='pinentry-gtk-2'), # GPG key password entry
|
||||
Match(wm_class="ssh-askpass"), # ssh-askpass
|
||||
Match(wm_class="toolbar"), # toolbars
|
||||
Match(wm_class="Yad"), # yad boxes
|
||||
Match(title="branchdialog"), # gitk
|
||||
Match(title='Confirmation'), # tastyworks exit box
|
||||
Match(title='Qalculate!'), # qalculate-gtk
|
||||
Match(title="pinentry"), # GPG key password entry
|
||||
Match(title="tastycharts"), # tastytrade pop-out charts
|
||||
Match(title="tastytrade"), # tastytrade pop-out side gutter
|
||||
Match(wm_class="confirmreset"), # gitk
|
||||
Match(wm_class="dialog"), # dialog boxes
|
||||
Match(wm_class="download"), # downloads
|
||||
Match(wm_class="error"), # error msgs
|
||||
Match(wm_class="file_progress"), # file progress boxes
|
||||
Match(wm_class='kdenlive'), # kdenlive
|
||||
Match(wm_class="makebranch"), # gitk
|
||||
Match(wm_class="maketag"), # gitk
|
||||
Match(wm_class="notification"), # notifications
|
||||
Match(wm_class='pinentry-gtk-2'), # GPG key password entry
|
||||
Match(wm_class="ssh-askpass"), # ssh-askpass
|
||||
Match(wm_class="toolbar"), # toolbars
|
||||
Match(wm_class="Yad"), # yad boxes
|
||||
Match(title="branchdialog"), # gitk
|
||||
Match(title='Confirmation'), # tastyworks exit box
|
||||
Match(title="emacs-run-launcher"), # dt/emacs-run-launcher
|
||||
Match(title="pinentry"), # GPG key password entry
|
||||
Match(title='Qalculate!'), # qalculate-gtk
|
||||
Match(title="tastycharts"), # tastytrade pop-out charts
|
||||
Match(title="tastytrade"), # tastytrade pop-out side gutter
|
||||
Match(title="tastytrade - Portfolio Report"), # tastytrade pop-out allocation
|
||||
Match(wm_class="tasty.javafx.launcher.LauncherFxApp"), # tastytrade settings
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user