update conf
This commit is contained in:
@ -11,6 +11,7 @@ default_roles:
|
|||||||
# - ssh
|
# - ssh
|
||||||
- hyprland
|
- hyprland
|
||||||
- ghostty
|
- ghostty
|
||||||
|
- quickshell
|
||||||
|
|
||||||
temp:
|
temp:
|
||||||
- docker # Container platform
|
- docker # Container platform
|
||||||
@ -67,4 +68,5 @@ aur_packages:
|
|||||||
- pgformatter-git
|
- pgformatter-git
|
||||||
# - jetbrains-toolbox
|
# - jetbrains-toolbox
|
||||||
|
|
||||||
|
home_dir: "/home/johannes"
|
||||||
config_dir: "/home/johannes/.config"
|
config_dir: "/home/johannes/.config"
|
||||||
|
|||||||
@ -2,7 +2,8 @@
|
|||||||
- name: Setup dotfiles configuration
|
- name: Setup dotfiles configuration
|
||||||
hosts: localhost
|
hosts: localhost
|
||||||
connection: local
|
connection: local
|
||||||
become: false
|
become: true
|
||||||
|
become_user: johannes
|
||||||
vars:
|
vars:
|
||||||
dotfiles_dir: "{{ ansible_env.HOME }}/dotfiles"
|
dotfiles_dir: "{{ ansible_env.HOME }}/dotfiles"
|
||||||
# roles:
|
# roles:
|
||||||
|
|||||||
@ -25,7 +25,8 @@ $menu = env XDG_CURRENT_DESKTOP=Hyprland wofi --show drun
|
|||||||
# Or execute your favorite apps at launch like this:
|
# Or execute your favorite apps at launch like this:
|
||||||
# exec-once = waybar
|
# exec-once = waybar
|
||||||
exec-once = /usr/lib/hyprpolkitagent/hyprpolkitagent
|
exec-once = /usr/lib/hyprpolkitagent/hyprpolkitagent
|
||||||
exec-once = hyprpanel
|
# exec-once = hyprpanel
|
||||||
|
exec-once = quickshell
|
||||||
exec-once = dunst
|
exec-once = dunst
|
||||||
exec-once = firefox
|
exec-once = firefox
|
||||||
exec-once = hyprpaper
|
exec-once = hyprpaper
|
||||||
@ -45,7 +46,7 @@ debug:disable_logs = false
|
|||||||
# See https://wiki.hypr.land/Configuring/Environment-variables/
|
# See https://wiki.hypr.land/Configuring/Environment-variables/
|
||||||
env = XCURSOR_SIZE,24
|
env = XCURSOR_SIZE,24
|
||||||
env = HYPRCURSOR_SIZE,24
|
env = HYPRCURSOR_SIZE,24
|
||||||
env = QT_QPA_PLATFORM,waylandl;xcb
|
env = QT_QPA_PLATFORM,wayland
|
||||||
env = QT_QPA_PLATFORMTHEME,qt5ct
|
env = QT_QPA_PLATFORMTHEME,qt5ct
|
||||||
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
|
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
|
||||||
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
|
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
|
||||||
@ -90,18 +91,13 @@ env = _JAVA_AWT_WM_NONREPARENTING, 1
|
|||||||
# https://wiki.hypr.land/Configuring/Variables/#general
|
# https://wiki.hypr.land/Configuring/Variables/#general
|
||||||
general {
|
general {
|
||||||
gaps_in = 5
|
gaps_in = 5
|
||||||
gaps_out = 20
|
gaps_out = 10
|
||||||
|
|
||||||
border_size = 2
|
border_size = 3
|
||||||
|
|
||||||
# https://wiki.hypr.land/Configuring/Variables/#variable-types for info about colors
|
# https://wiki.hypr.land/Configuring/Variables/#variable-types for info about colors
|
||||||
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
|
col.active_border = rgba(9b1a1aee) rgba(c94040ee) 45deg
|
||||||
col.inactive_border = rgba(595959aa)
|
col.inactive_border = rgba(595959aa)
|
||||||
# Active: cosmic purple -> neon cyan gradient
|
|
||||||
# col.active_border = rgba(7f5af0ee) rgba(00d1ffee) 45deg
|
|
||||||
#
|
|
||||||
# # Inactive: deep space slate
|
|
||||||
# col.inactive_border = rgba(0c0e14aa)
|
|
||||||
|
|
||||||
# Set to true enable resizing windows by clicking and dragging on borders and gaps
|
# Set to true enable resizing windows by clicking and dragging on borders and gaps
|
||||||
resize_on_border = false
|
resize_on_border = false
|
||||||
|
|||||||
@ -1,23 +1,23 @@
|
|||||||
preload = /home/johannes/Pictures/Wallpapers/wallhaven-5g22q5.png
|
preload = /home/johannes/Pictures/Wallpapers/japan-artistic-3840x2160-25406.jpg
|
||||||
|
|
||||||
wallpaper {
|
wallpaper {
|
||||||
monitor = DP-1
|
monitor = DP-1
|
||||||
path =/home/johannes/Pictures/Wallpapers/wallhaven-5g22q5.png
|
path =/home/johannes/Pictures/Wallpapers/japan-artistic-3840x2160-25406.jpg
|
||||||
# fitmode = cover
|
# fitmode = cover
|
||||||
}
|
}
|
||||||
wallpaper {
|
wallpaper {
|
||||||
monitor = DP-2
|
monitor = DP-2
|
||||||
path =/home/johannes/Pictures/Wallpapers/wallhaven-5g22q5.png
|
path =/home/johannes/Pictures/Wallpapers/japan-artistic-3840x2160-25406.jpg
|
||||||
# fitmode = cover
|
# fitmode = cover
|
||||||
}
|
}
|
||||||
wallpaper {
|
wallpaper {
|
||||||
monitor = HDMI-A-1
|
monitor = HDMI-A-1
|
||||||
path =/home/johannes/Pictures/Wallpapers/wallhaven-5g22q5.png
|
path =/home/johannes/Pictures/Wallpapers/japan-artistic-3840x2160-25406.jpg
|
||||||
# fitmode = cover
|
# fitmode = cover
|
||||||
}
|
}
|
||||||
wallpaper {
|
wallpaper {
|
||||||
monitor = HDMI-A-2
|
monitor = HDMI-A-2
|
||||||
path =/home/johannes/Pictures/Wallpapers/wallhaven-5g22q5.png
|
path =/home/johannes/Pictures/Wallpapers/japan-artistic-3840x2160-25406.jpg
|
||||||
# fitmode = cover
|
# fitmode = cover
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -15,32 +15,31 @@
|
|||||||
path: "{{ config_dir }}/hypr"
|
path: "{{ config_dir }}/hypr"
|
||||||
state: directory
|
state: directory
|
||||||
mode: '0755'
|
mode: '0755'
|
||||||
owner: johannes
|
|
||||||
group: johannes
|
|
||||||
|
|
||||||
- name: Symlink hyprland config files
|
- name: Symlink hyprland config files
|
||||||
file:
|
file:
|
||||||
src: "{{ role_path }}/files/hypr/{{ item }}"
|
src: "{{ role_path }}/files/hypr/{{ conf_file }}"
|
||||||
dest: "{{ config_dir }}/hypr/{{ item }}"
|
dest: "{{ config_dir }}/hypr/{{ conf_file }}"
|
||||||
state: link
|
state: link
|
||||||
force: true
|
force: true
|
||||||
loop:
|
loop:
|
||||||
- hyprland.conf
|
- hyprland.conf
|
||||||
- hyprlock.conf
|
- hyprlock.conf
|
||||||
- hyprpaper.conf
|
- hyprpaper.conf
|
||||||
# - workspaces.conf
|
|
||||||
- scripts
|
- scripts
|
||||||
|
loop_control:
|
||||||
|
loop_var: conf_file
|
||||||
|
|
||||||
- name: Symlink host-specific monitors.conf
|
- name: Symlink host-specific monitors.conf
|
||||||
file:
|
file:
|
||||||
src: "{{ role_path }}/files/hypr/monitors_{{ ansible_hostname }}.conf"
|
src: "{{ role_path }}/files/hypr/monitors_{{ ansible_facts['hostname'] }}.conf"
|
||||||
dest: "{{ config_dir }}/hypr/monitors.conf"
|
dest: "{{ config_dir }}/hypr/monitors.conf"
|
||||||
state: link
|
state: link
|
||||||
force: true
|
force: true
|
||||||
|
|
||||||
- name: Symlink host-specific workspaces.conf
|
- name: Symlink host-specific workspaces.conf
|
||||||
file:
|
file:
|
||||||
src: "{{ role_path }}/files/hypr/workspaces_{{ ansible_hostname }}.conf"
|
src: "{{ role_path }}/files/hypr/workspaces_{{ ansible_facts['hostname'] }}.conf"
|
||||||
dest: "{{ config_dir }}/hypr/workspaces.conf"
|
dest: "{{ config_dir }}/hypr/workspaces.conf"
|
||||||
state: link
|
state: link
|
||||||
force: true
|
force: true
|
||||||
|
|||||||
@ -96,5 +96,11 @@ return {
|
|||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
vim.lsp.enable('hyprls')
|
vim.lsp.enable('hyprls')
|
||||||
|
|
||||||
|
vim.lsp.config('qmlls', {
|
||||||
|
cmd = { 'qmlls6' },
|
||||||
|
})
|
||||||
|
vim.lsp.enable('qmlls')
|
||||||
|
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|||||||
@ -3,6 +3,8 @@
|
|||||||
package:
|
package:
|
||||||
name: neovim
|
name: neovim
|
||||||
state: present
|
state: present
|
||||||
|
become: yes
|
||||||
|
become_user: root
|
||||||
|
|
||||||
- name: Symlink neovim
|
- name: Symlink neovim
|
||||||
file:
|
file:
|
||||||
|
|||||||
@ -4,12 +4,14 @@
|
|||||||
update_cache: yes
|
update_cache: yes
|
||||||
when: ansible_facts.os_family == "Archlinux"
|
when: ansible_facts.os_family == "Archlinux"
|
||||||
become: yes
|
become: yes
|
||||||
|
become_user: root
|
||||||
|
|
||||||
- name: Install system packages
|
- name: Install system packages
|
||||||
package:
|
package:
|
||||||
name: "{{ system_packages }}"
|
name: "{{ system_packages }}"
|
||||||
state: present
|
state: present
|
||||||
become: yes
|
become: yes
|
||||||
|
become_user: root
|
||||||
|
|
||||||
- name: Ensure .config directory exists
|
- name: Ensure .config directory exists
|
||||||
file:
|
file:
|
||||||
|
|||||||
@ -3,12 +3,14 @@
|
|||||||
package:
|
package:
|
||||||
name: zsh
|
name: zsh
|
||||||
state: present
|
state: present
|
||||||
|
become: yes
|
||||||
|
become_user: root
|
||||||
|
|
||||||
- name: Install oh-my-zsh
|
- name: Install oh-my-zsh
|
||||||
shell: |
|
shell: |
|
||||||
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" --unattended
|
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" --unattended
|
||||||
args:
|
args:
|
||||||
creates: "{{ ansible_facts.env.HOME }}/.oh-my-zsh"
|
creates: "{{ home_dir }}/.oh-my-zsh"
|
||||||
|
|
||||||
- name: Check for custom zshrc
|
- name: Check for custom zshrc
|
||||||
stat:
|
stat:
|
||||||
@ -18,7 +20,7 @@
|
|||||||
- name: Symlink custom zshrc
|
- name: Symlink custom zshrc
|
||||||
file:
|
file:
|
||||||
src: "{{ role_path }}/files/.zshrc"
|
src: "{{ role_path }}/files/.zshrc"
|
||||||
dest: "{{ ansible_facts.env.HOME }}/.zshrc"
|
dest: "{{ home_dir }}/.zshrc"
|
||||||
state: link
|
state: link
|
||||||
force: yes
|
force: yes
|
||||||
when: custom_zshrc.stat.exists
|
when: custom_zshrc.stat.exists
|
||||||
|
|||||||
Reference in New Issue
Block a user