create justfile; start xmonad
This commit is contained in:
parent
48389bfac0
commit
4d80939288
@ -1,2 +0,0 @@
|
||||
ansible-playbook site.yml --skip-tags server -K
|
||||
ansible-playbook site.yml --skip-tags pc -K
|
15
justfile
Normal file
15
justfile
Normal file
@ -0,0 +1,15 @@
|
||||
default:
|
||||
just --list
|
||||
|
||||
sync-qwerty:
|
||||
ansible-playbook site.yml -K -t "pc,qwerty"
|
||||
|
||||
sync-x220:
|
||||
ansible-playbook site.yml -K -t "pc,x220"
|
||||
|
||||
sync-t460p:
|
||||
ansible-playbook site.yml -K -t "pc,t460p"
|
||||
|
||||
sync-server:
|
||||
ansible-playbook site.yml -K -t "server"
|
||||
|
@ -5,6 +5,7 @@
|
||||
- neovim
|
||||
- ripgrep
|
||||
- git
|
||||
- xclip
|
||||
state: present
|
||||
tags: always
|
||||
|
||||
@ -60,4 +61,4 @@
|
||||
# TODO ansible-language-server AUR
|
||||
# TODO csharp-ls dotnet tool
|
||||
# TODO vscode-langservers-extracted AUR
|
||||
# TODO rust-analyzer
|
||||
# TODO rust-analyzer
|
||||
|
20
roles/xmonad/files/xmobarrc_qwerty
Normal file
20
roles/xmonad/files/xmobarrc_qwerty
Normal file
@ -0,0 +1,20 @@
|
||||
Config { font = "xft:Iosevka-Regular:size=11:antialias=true"
|
||||
, bgColor = "#3f3f3f"
|
||||
, fgColor = "#dcdccc"
|
||||
, position = Top
|
||||
, border = FullB
|
||||
, borderColor = "#dcdccc"
|
||||
, lowerOnStart = True
|
||||
, commands = [Run DynNetwork ["-t", "<fc=#dca3a3><dev>:</fc> ↓ <rx> | ↑ <tx> kbps"] 10
|
||||
, Run Date "<fc=#dca3a3>%a, %d.%m.%Y</fc> - <fc=#ffcfaf>%H:%M</fc>" "date" 10
|
||||
, Run Alsa "default" "Master" ["-t", "<fc=#8c8cbc>Vol:</fc> <volume>%"]
|
||||
, Run Kbd [("de", "de"), ("de(dsb_qwertz)", "dsb"), ("ru(phonetic)", "ru")]
|
||||
, Run Memory ["-t", "<fc=#7f9f7f>RAM:</fc> <usedratio>%"] 10
|
||||
, Run MultiCpu ["-t", "<fc=#ffcfaf>CPU:</fc> <total>%"] 10
|
||||
, Run Com "uname" ["-r"] "" 0
|
||||
, Run StdinReader
|
||||
]
|
||||
, sepChar = "%"
|
||||
, alignSep = "}{"
|
||||
, template = " | %StdinReader% }{ %dynnetwork% | %multicpu% | %memory% | <fc=#8cd0d3>%uname%</fc> | <fc=#efef8f>%kbd%</fc> | %alsa:default:Master% | %date% | "
|
||||
}
|
22
roles/xmonad/tasks/main.yml
Normal file
22
roles/xmonad/tasks/main.yml
Normal file
@ -0,0 +1,22 @@
|
||||
---
|
||||
- name: Install xmonad and xmobar packages
|
||||
ansible.builtin.package:
|
||||
name:
|
||||
- xmonad
|
||||
- xmonad-contrib
|
||||
- xmobar
|
||||
state: present
|
||||
tags: pc
|
||||
|
||||
- name: Build and install custom st, dmenu and slock
|
||||
tags: pc
|
||||
|
||||
- name: Create config directories
|
||||
ansible.builtin.file:
|
||||
path: {{ item }}
|
||||
state: directory
|
||||
mode: '0755'
|
||||
with_items:
|
||||
- ~/.config/xmonad
|
||||
- ~/.config/xmobar
|
||||
tags: pc
|
Loading…
Reference in New Issue
Block a user