feat: add wofi configuration
This commit is contained in:
parent
43aefc7ec4
commit
4c41b70e9e
4 changed files with 69 additions and 1 deletions
|
@ -15,6 +15,6 @@ set $term alacritty
|
||||||
# Your preferred application launcher
|
# Your preferred application launcher
|
||||||
# Note: pass the final command to swaymsg so that the resulting window can be opened
|
# Note: pass the final command to swaymsg so that the resulting window can be opened
|
||||||
# on the original workspace that the command was run on.
|
# on the original workspace that the command was run on.
|
||||||
set $menu wofi --show run | xargs swaymsg exec --
|
set $menu wofi --show run --style ~/.config/wofi/style.css | xargs swaymsg exec --
|
||||||
|
|
||||||
include ~/.config/sway/config.d/*
|
include ~/.config/sway/config.d/*
|
||||||
|
|
50
roles/desktop/files/wofi.css
Normal file
50
roles/desktop/files/wofi.css
Normal file
|
@ -0,0 +1,50 @@
|
||||||
|
@define-color bg #282828;
|
||||||
|
@define-color fg #EBDBB2;
|
||||||
|
|
||||||
|
window {
|
||||||
|
border: none;
|
||||||
|
border-radius: 0px;
|
||||||
|
font-family: JetBrains Mono;
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#input {
|
||||||
|
border: none;
|
||||||
|
border-radius: 0px;
|
||||||
|
padding: 8px 10px;
|
||||||
|
margin: 0px;
|
||||||
|
color: #8EC07C;
|
||||||
|
background-color: #554444;
|
||||||
|
}
|
||||||
|
|
||||||
|
#inner-box {
|
||||||
|
margin: 0px;
|
||||||
|
color: @fg;
|
||||||
|
background-color: @bg;
|
||||||
|
}
|
||||||
|
|
||||||
|
#outer-box {
|
||||||
|
margin: 0px;
|
||||||
|
background-color: @bg;
|
||||||
|
border-radius: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#selected {
|
||||||
|
background-color: #608787;
|
||||||
|
}
|
||||||
|
|
||||||
|
#entry {
|
||||||
|
padding: 0px;
|
||||||
|
margin: 0px;
|
||||||
|
background-color: @bg;
|
||||||
|
}
|
||||||
|
|
||||||
|
#scroll {
|
||||||
|
margin: 5px;
|
||||||
|
background-color: @bg;
|
||||||
|
}
|
||||||
|
|
||||||
|
#text {
|
||||||
|
margin: 0px;
|
||||||
|
padding: 2px 2px 2px 10px;
|
||||||
|
}
|
|
@ -2,3 +2,5 @@
|
||||||
import_tasks: sway.yml
|
import_tasks: sway.yml
|
||||||
- name: Waybar
|
- name: Waybar
|
||||||
import_tasks: waybar.yml
|
import_tasks: waybar.yml
|
||||||
|
- name: Wofi
|
||||||
|
import_tasks: wofi.yml
|
||||||
|
|
16
roles/desktop/tasks/wofi.yml
Normal file
16
roles/desktop/tasks/wofi.yml
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
- name: Install wofi
|
||||||
|
become: true
|
||||||
|
ansible.builtin.apt:
|
||||||
|
pkg:
|
||||||
|
- wofi
|
||||||
|
- fonts-jetbrains-mono
|
||||||
|
- name: Create wofi config dir
|
||||||
|
ansible.builtin.file:
|
||||||
|
path: "{{ ansible_env.HOME }}/.config/wofi"
|
||||||
|
state: directory
|
||||||
|
mode: '1770'
|
||||||
|
- name: Copy wofi config
|
||||||
|
ansible.builtin.copy:
|
||||||
|
src: files/wofi.css
|
||||||
|
dest: "{{ ansible_env.HOME }}/.config/wofi/style.css"
|
||||||
|
mode: '0660'
|
Loading…
Reference in a new issue