more default settings i use
This commit is contained in:
parent
173d3c1673
commit
c4412fb47b
7
.config/autostart/localsend.desktop
Normal file
7
.config/autostart/localsend.desktop
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Icon=localsend
|
||||||
|
Name=LocalSend
|
||||||
|
Exec=/usr/bin/localsend autostart
|
||||||
|
Comment=An open source cross-platform alternative to AirDrop.
|
||||||
|
Categories=Utility;Network;
|
9
.config/autostart/remmina-applet.desktop
Normal file
9
.config/autostart/remmina-applet.desktop
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Version=1.0
|
||||||
|
Name=Remmina Applet
|
||||||
|
Comment=Connect to remote desktops through the applet menu
|
||||||
|
Icon=org.remmina.Remmina
|
||||||
|
Exec=remmina -i
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
Hidden=false
|
8
.config/autostart/seafile.desktop
Normal file
8
.config/autostart/seafile.desktop
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Name=Seafile
|
||||||
|
Comment=Seafile desktop sync client
|
||||||
|
TryExec=seafile-applet
|
||||||
|
Exec=seafile-applet
|
||||||
|
Icon=seafile
|
||||||
|
Type=Application
|
||||||
|
Categories=Network;FileTransfer;
|
40
.dconf/Forge.dconf
Normal file
40
.dconf/Forge.dconf
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
[/]
|
||||||
|
con-split-horizontal=['<Super>z']
|
||||||
|
con-split-layout-toggle=['<Super>g']
|
||||||
|
con-split-vertical=['<Super>v']
|
||||||
|
con-stacked-layout-toggle=['<Shift><Super>s']
|
||||||
|
con-tabbed-layout-toggle=['<Shift><Super>t']
|
||||||
|
con-tabbed-showtab-decoration-toggle=['<Control><Alt>y']
|
||||||
|
focus-border-toggle=['<Super>x']
|
||||||
|
prefs-tiling-toggle=['<Super>w']
|
||||||
|
window-focus-down=['<Shift><Super>Down']
|
||||||
|
window-focus-left=['<Shift><Super>Left']
|
||||||
|
window-focus-right=['<Shift><Super>Right']
|
||||||
|
window-focus-up=['<Shift><Super>Up']
|
||||||
|
window-gap-size-decrease=@as []
|
||||||
|
window-gap-size-increase=@as []
|
||||||
|
window-move-down=['<Super>Down']
|
||||||
|
window-move-left=['<Super>Left']
|
||||||
|
window-move-right=['<Super>Right']
|
||||||
|
window-move-up=['<Super>Up']
|
||||||
|
window-resize-bottom-decrease=['<Shift><Control><Super>i']
|
||||||
|
window-resize-bottom-increase=['<Control><Super>u']
|
||||||
|
window-resize-left-decrease=['<Shift><Control><Super>o']
|
||||||
|
window-resize-left-increase=['<Control><Super>y']
|
||||||
|
window-resize-right-decrease=['<Shift><Control><Super>y']
|
||||||
|
window-resize-right-increase=['<Control><Super>o']
|
||||||
|
window-resize-top-decrease=['<Shift><Control><Super>u']
|
||||||
|
window-resize-top-increase=['<Control><Super>i']
|
||||||
|
window-snap-center=['<Control><Alt>c']
|
||||||
|
window-snap-one-third-left=['<Control><Alt>d']
|
||||||
|
window-snap-one-third-right=['<Control><Alt>g']
|
||||||
|
window-snap-two-third-left=['<Control><Alt>e']
|
||||||
|
window-snap-two-third-right=['<Control><Alt>t']
|
||||||
|
window-swap-down=['<Control><Super>j']
|
||||||
|
window-swap-last-active=['<Super>Return']
|
||||||
|
window-swap-left=['<Control><Super>h']
|
||||||
|
window-swap-right=['<Control><Super>l']
|
||||||
|
window-swap-up=['<Control><Super>k']
|
||||||
|
window-toggle-always-float=['<Shift><Super>c']
|
||||||
|
window-toggle-float=['<Super>c']
|
||||||
|
workspace-active-tile-toggle=['<Shift><Super>w']
|
7
.dconf/MediaKeys.dconf
Normal file
7
.dconf/MediaKeys.dconf
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
[/]
|
||||||
|
custom-keybindings=['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/']
|
||||||
|
|
||||||
|
[custom-keybindings/custom0]
|
||||||
|
binding='Print'
|
||||||
|
command='/opt/flameshot.sh'
|
||||||
|
name='Flameshot'
|
3
.dconf/Mutter.dconf
Normal file
3
.dconf/Mutter.dconf
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[/]
|
||||||
|
toggle-tiled-left=@as []
|
||||||
|
toggle-tiled-right=@as []
|
0
.dconf/MutterWayland.dconf
Normal file
0
.dconf/MutterWayland.dconf
Normal file
2
.dconf/Shell.dconf
Normal file
2
.dconf/Shell.dconf
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
[/]
|
||||||
|
show-screenshot-ui=@as []
|
22
.dconf/Tilix.dconf
Normal file
22
.dconf/Tilix.dconf
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
[/]
|
||||||
|
copy-on-select=true
|
||||||
|
prompt-on-close=true
|
||||||
|
terminal-title-show-when-single=false
|
||||||
|
terminal-title-style='small'
|
||||||
|
use-tabs=true
|
||||||
|
window-style='normal'
|
||||||
|
|
||||||
|
[profiles/2b7c4080-0ddd-46c5-8f23-563fd3ba789d]
|
||||||
|
background-transparency-percent=0
|
||||||
|
backspace-binding='ascii-delete'
|
||||||
|
cursor-blink-mode='on'
|
||||||
|
cursor-shape='underline'
|
||||||
|
default-size-columns=120
|
||||||
|
delete-binding='auto'
|
||||||
|
dim-transparency-percent=0
|
||||||
|
draw-margin=120
|
||||||
|
font='MesloLGM Nerd Font 12'
|
||||||
|
terminal-bell='icon'
|
||||||
|
text-blink-mode='unfocused'
|
||||||
|
use-system-font=false
|
||||||
|
visible-name='Default'
|
18
.dconf/WindowManager.dconf
Normal file
18
.dconf/WindowManager.dconf
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
[/]
|
||||||
|
maximize=@as []
|
||||||
|
minimize=@as []
|
||||||
|
move-to-monitor-down=@as []
|
||||||
|
move-to-monitor-left=['<Shift><Super>Page_Up']
|
||||||
|
move-to-monitor-right=['<Shift><Super>Page_Down']
|
||||||
|
move-to-monitor-up=@as []
|
||||||
|
move-to-workspace-left=['<Shift><Alt><Super>Left']
|
||||||
|
move-to-workspace-right=['<Shift><Alt><Super>Right']
|
||||||
|
switch-applications=['<Super>Tab']
|
||||||
|
switch-applications-backward=['<Shift><Super>Tab']
|
||||||
|
switch-group=['<Super>plus']
|
||||||
|
switch-group-backward=['<Shift><Super>plus']
|
||||||
|
switch-to-workspace-left=['<Alt><Super>Left']
|
||||||
|
switch-to-workspace-right=['<Alt><Super>Right']
|
||||||
|
switch-windows=['<Alt>Tab']
|
||||||
|
switch-windows-backward=['<Shift><Alt>Tab']
|
||||||
|
unmaximize=@as []
|
15
.scripts/findmtu.sh
Executable file
15
.scripts/findmtu.sh
Executable file
@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
destination_ip="${1:-1.1.1.1}"
|
||||||
|
|
||||||
|
# Set initial packet size
|
||||||
|
packet_size=1200
|
||||||
|
|
||||||
|
# Loop to find the maximum MTU size
|
||||||
|
while true; do
|
||||||
|
ping -4 -M do -c 1 -s $packet_size $destination_ip &> /dev/null
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
echo "Maximum MTU size: $((packet_size + 28 - 2))"
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
packet_size=$((packet_size + 2))
|
||||||
|
done
|
2
.scripts/flameshot.sh
Executable file
2
.scripts/flameshot.sh
Executable file
@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
flameshot gui
|
27
README.md
27
README.md
@ -9,4 +9,29 @@ Bootstrap the dotfiles:
|
|||||||
|
|
||||||
```shell
|
```shell
|
||||||
ansible-playbook --ask-become-pass bootstrap.yml
|
ansible-playbook --ask-become-pass bootstrap.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
## Exporting current configurations
|
||||||
|
|
||||||
|
Gnome/DCONF:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
dconf dump /com/gexperts/Tilix/ > .dconf/Tilix.dconf
|
||||||
|
dconf dump /org/gnome/settings-daemon/plugins/media-keys/ > .dconf/MediaKeys.dconf
|
||||||
|
dconf dump /org/gnome/desktop/wm/keybindings/ > .dconf/WindowManager.dconf
|
||||||
|
dconf dump /org/gnome/shell/keybindings/ > .dconf/Shell.dconf
|
||||||
|
dconf dump /org/gnome/mutter/keybindings/ > .dconf/Mutter.dconf
|
||||||
|
dconf dump /org/gnome/mutter/wayland/keybindings/ > .dconf/MutterWayland.dconf
|
||||||
|
dconf dump /org/gnome/shell/extensions/forge/keybindings/ > .dconf/Forge.dconf
|
||||||
|
```
|
||||||
|
|
||||||
|
## Gnome Extensions
|
||||||
|
|
||||||
|
- Caffeine (caffeine@patapon.info)
|
||||||
|
- Blur my Shell (blur-my-shell@aunetx)
|
||||||
|
- Forge (forge@jmmaranan.com)
|
||||||
|
- Hot Edge (hotedge@jonathan.jdoda.ca)
|
||||||
|
- Alphabetical App Grid (AlphabeticalAppGrid@stuarthayhurst)
|
||||||
|
- Reorder Workspaces (reorder-workspaces@jer.dev)
|
||||||
|
- Pano Clipboard Manager (pano@elhan.io)
|
@ -1,6 +1,14 @@
|
|||||||
- name: Bootstrap dotfile and depencies
|
- name: Bootstrap dotfile and depencies
|
||||||
hosts: localhost
|
hosts: localhost
|
||||||
|
|
||||||
|
vars:
|
||||||
|
dconf_tilix: "{{ lookup('file', '.dconf/Tilix.dconf') }}"
|
||||||
|
dconf_gnome_mk: "{{ lookup('file', '.dconf/MediaKeys.dconf') }}"
|
||||||
|
dconf_gnome_mutter: "{{ lookup('file', '.dconf/Mutter.dconf') }}"
|
||||||
|
dconf_gnome_mutter_w: "{{ lookup('file', '.dconf/MutterWayland.dconf') }}"
|
||||||
|
dconf_gnome_shell: "{{ lookup('file', '.dconf/Shell.dconf') }}"
|
||||||
|
dconf_gnome_wm: "{{ lookup('file', '.dconf/WindowManager.dconf') }}"
|
||||||
|
dconf_gnome_forge: "{{ lookup('file', '.dconf/Forge.dconf') }}"
|
||||||
tasks:
|
tasks:
|
||||||
- name: Full system upgrade
|
- name: Full system upgrade
|
||||||
become: true
|
become: true
|
||||||
@ -32,6 +40,7 @@
|
|||||||
- zsh
|
- zsh
|
||||||
- vim
|
- vim
|
||||||
- ttf-meslo-nerd
|
- ttf-meslo-nerd
|
||||||
|
- tilix
|
||||||
- name: Check install packages (for later use with yay)
|
- name: Check install packages (for later use with yay)
|
||||||
ansible.builtin.command: pacman -Qm
|
ansible.builtin.command: pacman -Qm
|
||||||
register: installed_packages
|
register: installed_packages
|
||||||
@ -43,7 +52,7 @@
|
|||||||
- find-the-command
|
- find-the-command
|
||||||
- oh-my-posh
|
- oh-my-posh
|
||||||
- archey4
|
- archey4
|
||||||
- tabby-bin
|
- find-the-command
|
||||||
- name: Install oh-my-posh config
|
- name: Install oh-my-posh config
|
||||||
copy:
|
copy:
|
||||||
src: "{{playbook_dir}}/.ohmyposh/"
|
src: "{{playbook_dir}}/.ohmyposh/"
|
||||||
@ -71,12 +80,41 @@
|
|||||||
copy:
|
copy:
|
||||||
src: "{{playbook_dir}}/.zshrc"
|
src: "{{playbook_dir}}/.zshrc"
|
||||||
dest: /root/.zshrc
|
dest: /root/.zshrc
|
||||||
- name: Create tabby config directory if it does not exist
|
- name: Reset tilix config
|
||||||
ansible.builtin.file:
|
community.general.dconf:
|
||||||
path: ~/.config/tabby/
|
key: "/com/gexperts/Tilix"
|
||||||
state: directory
|
state: absent
|
||||||
mode: '0755'
|
- name: Import tilix config
|
||||||
- name: Install tabby config
|
ansible.builtin.command: "dconf load /com/gexperts/Tilix/"
|
||||||
|
args:
|
||||||
|
stdin: "{{dconf_tilix}}"
|
||||||
|
- name: Install fancy helper scripts
|
||||||
|
become: true
|
||||||
copy:
|
copy:
|
||||||
src: "{{playbook_dir}}/.config/tabby/config.yaml"
|
src: "{{playbook_dir}}/.scripts/"
|
||||||
dest: ~/.config/tabby/config.yaml
|
dest: /opt
|
||||||
|
mode: '0755'
|
||||||
|
- name: Import Gnome MediaKey Shortcuts
|
||||||
|
ansible.builtin.command: "dconf load /org/gnome/settings-daemon/plugins/media-keys/"
|
||||||
|
args:
|
||||||
|
stdin: "{{dconf_gnome_mk}}"
|
||||||
|
- name: Import Gnome Mutter Shortcuts
|
||||||
|
ansible.builtin.command: "dconf load /org/gnome/mutter/keybindings/"
|
||||||
|
args:
|
||||||
|
stdin: "{{dconf_gnome_mutter}}"
|
||||||
|
- name: Import Gnome Mutter Wayland Shortcuts
|
||||||
|
ansible.builtin.command: "dconf load /org/gnome/mutter/wayland/keybindings/"
|
||||||
|
args:
|
||||||
|
stdin: "{{dconf_gnome_mutter_w}}"
|
||||||
|
- name: Import Gnome Shell Shortcuts
|
||||||
|
ansible.builtin.command: "dconf load /org/gnome/shell/keybindings/"
|
||||||
|
args:
|
||||||
|
stdin: "{{dconf_gnome_shell}}"
|
||||||
|
- name: Import Gnome Window Manager Shortcuts
|
||||||
|
ansible.builtin.command: "dconf load /org/gnome/desktop/wm/keybindings/"
|
||||||
|
args:
|
||||||
|
stdin: "{{dconf_gnome_wm}}"
|
||||||
|
- name: Import Gnome Extension Forge
|
||||||
|
ansible.builtin.command: "dconf load /org/gnome/shell/extensions/forge/keybindings/"
|
||||||
|
args:
|
||||||
|
stdin: "{{dconf_gnome_forge}}"
|
Loading…
Reference in New Issue
Block a user