1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-22 15:01:59 +01:00

added kanshi config

This commit is contained in:
eoli3n 2020-12-02 18:36:15 +01:00
parent 6434051b44
commit 5f5b02450e
5 changed files with 26 additions and 9 deletions

@ -28,7 +28,7 @@
- name: check git plugin install
shell: grep 'abbr.*git' ~/.config/fish/fish_variables
register: gitcheck
ignore_errors: True
ignore_errors: yes
changed_when: false
- name: Install git plugin

@ -0,0 +1,9 @@
profile {
output "ONKYO Corporation Sound System 0x00000000" disable
output "Dell Inc. DELL P2417H CW6Y77AG05NB" position 0,1080 mode 1920x1080
output "Chimei Innolux Corporation 0x14D3 0x00000000" position 1920,1560 mode 1920x1080 scale 1.8
}
profile {
output "Chimei Innolux Corporation 0x14D3 0x00000000" position 1920,1560 mode 1920x1080 scale 1.4
}

@ -2,6 +2,7 @@
set -x XDG_CURRENT_DESKTOP 'Unity' # waybar workaround for tray
set -x MOZ_ENABLE_WAYLAND 1
set -x KITTY_ENABLE_WAYLAND 1
set -x BROWSER 'firefox'
set TTY1 (tty)

@ -1,7 +1,4 @@
---
###
# https://github.com/swaywm/sway/issues/3814
###
- name: create sway config dir
file:
@ -38,3 +35,14 @@
copy:
src: user-dirs.dirs
dest: ~/.config/
- name: create kanshi config dir
file:
path: ~/.config/kanshi
state: directory
- name: copy kanshi config file
copy:
src: "kanshi/by_host/{{ ansible_hostname }}/config"
dest: ~/.config/kanshi/
ignore_errors: yes

@ -3,12 +3,10 @@
set $laptop "Chimei Innolux Corporation 0x14D3 0x00000000"
set $screen "Dell Inc. DELL P2417H CW6Y77AG05NB"
set $proj "ONKYO Corporation Sound System 0x00000000"
#output $laptop pos 1920 1330 res 1920x1080 scale 1.4
#output $screen pos 0 1080 res 1920x1080
#output $proj pos 0 0 res 1920x1080
output $proj pos 0 0 res 1920x1080
output $screen pos 0 1080 res 1920x1080
output $laptop pos 1920 1560 res 1920x1080 scale 1.8
#output $screen pos 0 1080 res 1920x1080
#output $laptop pos 1920 1560 res 1920x1080 scale 1.8
# dpms
output * dpms on
@ -45,6 +43,7 @@ bindsym XF86MonBrightnessDown exec brightnessctl set 10%- && \
# exec startup apps
exec --no-startup-id swaymsg 'exec variety &'
exec --no-startup-id swaymsg 'exec kanshi &'
exec --no-startup-id swaymsg 'workspace $tag4; exec kitty -e "tiny"'
exec --no-startup-id swaymsg 'workspace $tag2; exec kitty -e "ssh-add" && kitty'
#INCLUDE####################################################