Skip to content

Commit

Permalink
Add Gnome extension manager
Browse files Browse the repository at this point in the history
  • Loading branch information
scruffaluff committed Oct 15, 2024
1 parent 1bbd7b2 commit b1f20a7
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@

- name: Configure Caffeine shell extension for GNOME desktops
ansible.builtin.shell:
cmd: >-
gsettings --schemadir
"${HOME}/.local/share/gnome-shell/extensions/caffeine@patapon.info/schemas"
set org.gnome.shell.extensions.caffeine show-notifications false
cmd: |
gsettings --schemadir "${HOME}/.local/share/gnome-shell/extensions/caffeine@patapon.info/schemas" set org.gnome.shell.extensions.caffeine enable-fullscreen false
gsettings --schemadir "${HOME}/.local/share/gnome-shell/extensions/caffeine@patapon.info/schemas" set org.gnome.shell.extensions.caffeine screen-blank 'always'
gsettings --schemadir "${HOME}/.local/share/gnome-shell/extensions/caffeine@patapon.info/schemas" set org.gnome.shell.extensions.caffeine show-notifications false
executable: "{{ bash_executable }}"
become: true
become_user: "{{ user_id }}"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
flatpak_packages:
flatpak_packages_:
- com.github.tchx84.Flatseal
flatpak_packages_gnome:
- com.mattjakeman.ExtensionManager
flatpak_packages: >-
{{ flatpak_packages_ + flatpak_packages_gnome if gnome_desktop else [] }}
Original file line number Diff line number Diff line change
Expand Up @@ -73,17 +73,26 @@
{
"command": "actions.find",
"key": "ctrl+f",
"when": "editorFocus || editorIsOpen"
"when": "editorFocus"
},
{
"command": "bookmarks.list",
"key": "{{ vscode_ctrl_key }}+k l",
"when": "editorTextFocus"
},
{
"command": "bookmarks.toggle",
"key": "{{ vscode_ctrl_key }}+k b",
"when": "editorTextFocus"
},
{ "command": "bookmarks.list", "key": "ctrl+shift+l" },
{
"command": "bookmarks.toggleLabeled",
"key": "ctrl+shift+k",
"key": "{{ vscode_ctrl_key }}+k m",
"when": "editorTextFocus"
},
{ "command": "cursorLineEnd", "key": "ctrl+e", "when": "editorFocus" },
{ "command": "cursorLineStart", "key": "ctrl+a", "when": "editorFocus" },
{ "command": "deleteAllLeft", "key": "ctrl+u", "when": "editorFocus" },
{ "command": "cursorLineEnd", "key": "ctrl+e", "when": "editorTextFocus" },
{ "command": "cursorLineStart", "key": "ctrl+a", "when": "editorTextFocus" },
{ "command": "deleteAllLeft", "key": "ctrl+u", "when": "editorTextFocus" },
{
"command": "editor.action.insertCursorAbove",
"key": "ctrl+shift+up",
Expand All @@ -94,16 +103,31 @@
"key": "ctrl+shift+down",
"when": "editorTextFocus"
},
{
"command": "editor.action.insertLineAfter",
"key": "shift+enter",
"when": "editorTextFocus"
},
{
"command": "editor.action.insertLineBefore",
"key": "ctrl+shift+enter",
"when": "editorTextFocus"
},
{
"command": "editor.action.revealDefinition",
"key": "{{ vscode_ctrl_key }}+k d",
"when": "editorTextFocus"
"when": "editorTextFocus && editorHasDefinitionProvider"
},
{
"command": "editor.action.startFindReplaceAction",
"key": "ctrl+h",
"when": "editorFocus || editorIsOpen"
},
{
"command": "expandLineSelection",
"key": "ctrl+l",
"when": "textInputFocus"
},
{
"command": "workbench.action.closeActiveEditor",
"key": "ctrl+w",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@
"git.enableStatusBarSync": false,
"git.openRepositoryInParentFolders": "never",
"git.terminalAuthentication": false,
"html.autoClosingTags": false,
"javascript.suggest.autoImports": false,
"javascript.updateImportsOnFileMove.enabled": "never",
"latex-workshop.bind.enter.key": false,
Expand Down

0 comments on commit b1f20a7

Please sign in to comment.