Pārlūkot izejas kodu

Merge branch 'master' of git.thengo.net:ka/ansible-role-home

pull/1/head
vecāks
revīzija
5875e41fc2
3 mainītis faili ar 16 papildinājumiem un 3 dzēšanām
  1. +1
    -0
      tasks/git.yaml
  2. +8
    -0
      templates/git/gitconfig.j2
  3. +7
    -3
      templates/i3/i3.config.j2

+ 1
- 0
tasks/git.yaml Parādīt failu

@@ -6,3 +6,4 @@
dest: ~/.gitconfig dest: ~/.gitconfig
when: when:
- git_user_email is defined - git_user_email is defined
- git_user_name is defined

+ 8
- 0
templates/git/gitconfig.j2 Parādīt failu

@@ -1,5 +1,13 @@
[user] [user]
{% if git_user_email is defined %}
email = {{git_user_email}} email = {{git_user_email}}
{% endif %}
{% if git_user_name is defined %}
name = {{git_user_name}} name = {{git_user_name}}
{% endif %}
[init] [init]
defaultBranch = main defaultBranch = main
{% if github_username is defined %}
[github]
user = {{github_username}}
{% endif %}

+ 7
- 3
templates/i3/i3.config.j2 Parādīt failu

@@ -47,11 +47,13 @@ bindsym XF86HomePage exec {{default_browser}}
bindsym XF86Calculator exec {{calculator_command}} bindsym XF86Calculator exec {{calculator_command}}


## Special modes ## Special modes
bindsym $mod+less mode timer
bindsym $mod+t mode timer
bindsym $mod+s mode session bindsym $mod+s mode session
bindsym $mod+c mode clipboard bindsym $mod+c mode clipboard
bindcode $mod+49 mode "remote" bindcode $mod+49 mode "remote"


## Activity
bindsym $mod+less exec "~/bin/timer select_activity"


## Applications ## Applications
bindsym $mod+Return exec "{{default_terminal}}" bindsym $mod+Return exec "{{default_terminal}}"
@@ -118,7 +120,6 @@ bindsym $mod+KP_Add exec {{points_up_command}}
# $mod+l # $mod+l
# $mod+n # $mod+n
# $mod+o # $mod+o
# $mod+t
# $mod+u # $mod+u
# $mod+adiaeresis # $mod+adiaeresis
# $mod+odiaeresis # $mod+odiaeresis
@@ -167,7 +168,10 @@ bindsym $mod+KP_Add exec {{points_up_command}}


# Special modes # Special modes
bindcode $plexmod+49 mode "session" bindcode $plexmod+49 mode "session"
bindsym $plexmod+less mode timer

# activity
bindsym $plexmod+less exec "~/bin/timer select_activity"

{% endmacro %} {% endmacro %}
{{ overall() }} {{ overall() }}