1
0

4 Коммиты f491bf1129 ... d4849364e2

Автор SHA1 Сообщение Дата
  Vitaliy Timtsurak d4849364e2 systemd: fix clipton.service autostart target 6 дней назад
  Vitaliy Timtsurak 31d1b8c73a bspwm: import DISPLAY and XAUTHORITY to systemd environment 6 дней назад
  Vitaliy Timtsurak b5e4a63d0b nvim: enable system clipboard support (unnamedplus) 6 дней назад
  Vitaliy Timtsurak 3deaafc1dc bspwm: add floating rules for MicroSIP and AmneziaVPN 6 дней назад
3 измененных файлов с 18 добавлено и 0 удалено
  1. 5 0
      config/bspwm/bspwmrc
  2. 1 0
      config/nvim/init.vim
  3. 12 0
      config/systemd/user/clipton.service

+ 5 - 0
config/bspwm/bspwmrc

@@ -1,4 +1,8 @@
 #! /bin/sh
+# Импорт переменных окружения для systemd
+systemctl --user import-environment DISPLAY XAUTHORITY
+dbus-update-activation-environment --systemd DISPLAY XAUTHORITY
+
 
 # ==============================================================================
 # ЗАПУСК ВСПОМОГАТЕЛЬНЫХ СЕРВИСОВ И ПРОГРАММ (Autostart)
@@ -116,6 +120,7 @@ bspc rule -a crx_nngceckbapebfimnlniiiahkandclblb state=floating
 bspc rule -a crx_nngceckbapebfimnlniiiahkandclblb state=floating
 bspc rule -a kleopatra state=floating center=true
 bspc rule -a microsip.exe state=floating center=true
+bspc rule -a AmneziaVPN state=floating center=true
 
 bspc rule -a pavucontrol state=floating center=true
 bspc rule -a gnome-calculator state=floating center=true rectangle=200x600

+ 1 - 0
config/nvim/init.vim

@@ -16,6 +16,7 @@
 :set softtabstop=4
 :set mouse=a
 :set termguicolors
+set clipboard=unnamedplus
 
 "Plugins"
 call plug#begin()

+ 12 - 0
config/systemd/user/clipton.service

@@ -0,0 +1,12 @@
+[Unit]
+Description=Daemon for Clipton (Clipboard Manager)
+After=graphical-session.target
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/clipton watcher
+Restart=on-failure
+RestartSec=2
+
+[Install]
+WantedBy=default.target