您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
此仓库已存档。您可以查看文件和克隆,但不能推送或创建工单/合并请求。

43 行
810B

  1. #!/usr/bin/fish
  2. {{ansible_managed|comment}}
  3. # reset keyboard state
  4. numlockx off
  5. if [ (xset -q | sed -n 's/^.*Caps Lock:\s*\(\S*\).*$/\1/p') = "on" ]
  6. xdotool key Caps_Lock
  7. end
  8. # keymap
  9. setxkbmap de
  10. xmodmap ~/.Xmodmap
  11. setxkbmap -option caps:hyper
  12. xmodmap ~/.Xmodmap
  13. xkbset nullify lock
  14. # background
  15. xsetroot -solid black
  16. {{background_command}}
  17. # Xresources
  18. xrdb -merge ~/.Xresources
  19. # rofi
  20. rofi -theme ~/.config/rofi/theme -dump-xresources > ~/.config/rofi/config
  21. # screensaver settings
  22. xset s on
  23. xset +dpms
  24. xset s {{ lockscreen_timeout | int }} {{ lockscreen_locktime | int }}
  25. # DPMS options
  26. xset dpms {{ display_sleeptime | int }} {{ display_sleeptime | int }} {{ display_sleeptime | int }}
  27. # allow hosts
  28. {% for xhost in home_xhosts_allow %}
  29. xhost +{{xhost}}
  30. {% endfor %}
  31. # disable bell
  32. xset b off