diff --git a/README.md b/README.md index c3e2372..af90e90 100644 --- a/README.md +++ b/README.md @@ -10,12 +10,8 @@ My current setup is [Debian Bullseye](https://www.debian.org/releases/bullseye/) ## TODO -- Telegram (maybe only possible to download) (third party PPA might be easiest) - thunderbird config -- i3 app shortcuts - firefox config? extensions? host own synchronizer? -- i3 stutters -- i3 sleep - Smart script to manage screens: if external screen is connected, only show on that screen. Otherwise, show on laptop screen. - drop-in includement of bashrc parts diff --git a/playbooks/laptop.yml b/playbooks/laptop.yml index d3bd821..05d4685 100644 --- a/playbooks/laptop.yml +++ b/playbooks/laptop.yml @@ -9,6 +9,8 @@ tags: [bash] - role: alacritty tags: [alacritty] + - role: neovim + tags: [neovim] - role: syncthing tags: [syncthing] vars: @@ -19,8 +21,6 @@ tags: [wireguard] - role: asdf tags: [asdf] - - role: neovim - tags: [neovim] - role: signal tags: [signal] - role: virtualbox diff --git a/playbooks/os3.yml b/playbooks/os3.yml index 7548860..6371d9c 100644 --- a/playbooks/os3.yml +++ b/playbooks/os3.yml @@ -9,14 +9,14 @@ tags: [bash] - role: alacritty tags: [alacritty] + - role: neovim + tags: [neovim] - role: syncthing tags: [syncthing] vars: syncthing_profile: "os3" - role: keepassxc tags: [keepassxc] - - role: neovim - tags: [neovim] - role: signal tags: [signal] - role: vscodium diff --git a/roles/i3/files/config b/roles/i3/files/config index 393d371..6cdb7c0 100644 --- a/roles/i3/files/config +++ b/roles/i3/files/config @@ -165,3 +165,16 @@ mode "$mode_session" { bindsym Escape mode "default" bindsym Return mode "default" } + +# Application shortcuts +set $mode_apps Application: [f]irefox [t]hunderbird [s]ignal [t]elegram +bindsym $mod+m mode "$mode_apps" +mode "$mode_apps" { + bindsym f exec --no-startup-id "firefox", mode "default" + bindsym t exec --no-startup-id "thunderbird", mode "default" + bindsym s exec --no-startup-id "signal-desktop", mode "default" + bindsym t exec --no-startup-id "telegram-desktop", mode "default" + + bindsym Escape mode "default" + bindsym Return mode "default" +} diff --git a/roles/system/tasks/main.yml b/roles/system/tasks/main.yml index e805ed8..73fa05e 100644 --- a/roles/system/tasks/main.yml +++ b/roles/system/tasks/main.yml @@ -16,6 +16,7 @@ - units - unrar - vim + - telegram-desktop - name: Install .gitconfig template: src: "{{ role_path }}/templates/.gitconfig.j2"