mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-22 11:00:27 +10:00
Ended my experiment with Emacs as a run launcher; back to rofi.
This commit is contained in:
@@ -138,9 +138,9 @@ keys = [
|
|||||||
# The essentials
|
# The essentials
|
||||||
Key([mod], "Return", lazy.spawn(myTerm), desc="Terminal"),
|
Key([mod], "Return", lazy.spawn(myTerm), desc="Terminal"),
|
||||||
# Use 'rofi' as your run launcher.
|
# Use 'rofi' as your run launcher.
|
||||||
# Key([mod, "shift"], "Return", lazy.spawn("rofi -show drun -show-icons"), desc='Run Launcher'),
|
Key([mod, "shift"], "Return", lazy.spawn("rofi -show drun -show-icons"), desc='Run Launcher'),
|
||||||
# Use 'emacs' as your 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, "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], "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], "b", lazy.hide_show_bar(position='all'), desc="Toggles the bar to show/hide"),
|
||||||
Key([mod], "Tab", lazy.next_layout(), desc="Toggle between layouts"),
|
Key([mod], "Tab", lazy.next_layout(), desc="Toggle between layouts"),
|
||||||
@@ -238,7 +238,6 @@ keys = [
|
|||||||
]),
|
]),
|
||||||
# Dmenu/rofi scripts launched using the key chord SUPER+p followed by 'key'
|
# Dmenu/rofi scripts launched using the key chord SUPER+p followed by 'key'
|
||||||
KeyChord([mod], "p", [
|
KeyChord([mod], "p", [
|
||||||
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([], "h", lazy.spawn("dm-hub -r"), desc='List all dmscripts'),
|
||||||
Key([], "a", lazy.spawn("dm-sounds -r"), desc='Choose ambient sound'),
|
Key([], "a", lazy.spawn("dm-sounds -r"), desc='Choose ambient sound'),
|
||||||
Key([], "b", lazy.spawn("dm-setbg -r"), desc='Set background'),
|
Key([], "b", lazy.spawn("dm-setbg -r"), desc='Set background'),
|
||||||
|
|||||||
@@ -62,9 +62,9 @@ keys = [
|
|||||||
# The essentials
|
# The essentials
|
||||||
Key([mod], "Return", lazy.spawn(myTerm), desc="Terminal"),
|
Key([mod], "Return", lazy.spawn(myTerm), desc="Terminal"),
|
||||||
# Use 'rofi' as your run launcher.
|
# Use 'rofi' as your run launcher.
|
||||||
# Key([mod, "shift"], "Return", lazy.spawn("rofi -show drun -show-icons"), desc='Run Launcher'),
|
Key([mod, "shift"], "Return", lazy.spawn("rofi -show drun -show-icons"), desc='Run Launcher'),
|
||||||
# Use 'emacs' as your 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, "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], "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], "b", lazy.hide_show_bar(position='all'), desc="Toggles the bar to show/hide"),
|
||||||
Key([mod], "Tab", lazy.next_layout(), desc="Toggle between layouts"),
|
Key([mod], "Tab", lazy.next_layout(), desc="Toggle between layouts"),
|
||||||
@@ -162,7 +162,6 @@ keys = [
|
|||||||
]),
|
]),
|
||||||
# Dmenu/rofi scripts launched using the key chord SUPER+p followed by 'key'
|
# Dmenu/rofi scripts launched using the key chord SUPER+p followed by 'key'
|
||||||
KeyChord([mod], "p", [
|
KeyChord([mod], "p", [
|
||||||
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([], "h", lazy.spawn("dm-hub -r"), desc='List all dmscripts'),
|
||||||
Key([], "a", lazy.spawn("dm-sounds -r"), desc='Choose ambient sound'),
|
Key([], "a", lazy.spawn("dm-sounds -r"), desc='Choose ambient sound'),
|
||||||
Key([], "b", lazy.spawn("dm-setbg -r"), desc='Set background'),
|
Key([], "b", lazy.spawn("dm-setbg -r"), desc='Set background'),
|
||||||
|
|||||||
Reference in New Issue
Block a user