diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-14 16:52:21 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-14 16:52:21 +0200 |
commit | 0457aa177da88b6b35e354df2b5d0673d911ee5b (patch) | |
tree | 7eb39fac1361271bab2365cef5538cbed593a912 | |
parent | Update (diff) | |
download | dotfiles-bsd-0457aa177da88b6b35e354df2b5d0673d911ee5b.tar.gz dotfiles-bsd-0457aa177da88b6b35e354df2b5d0673d911ee5b.tar.bz2 dotfiles-bsd-0457aa177da88b6b35e354df2b5d0673d911ee5b.tar.xz dotfiles-bsd-0457aa177da88b6b35e354df2b5d0673d911ee5b.tar.zst dotfiles-bsd-0457aa177da88b6b35e354df2b5d0673d911ee5b.zip |
Updates
-rwxr-xr-x | .config/bspwm/bspwmrc | 2 | ||||
-rw-r--r-- | .emacs | 2 | ||||
-rw-r--r-- | .emacs.d/org/config.org | 35 | ||||
-rw-r--r-- | .emacs.d/org/elfeed/elfeed.org | 2 | ||||
-rwxr-xr-x | .local/bin/dualscreen | 20 | ||||
-rwxr-xr-x | .local/bin/mainscreen | 18 | ||||
-rwxr-xr-x | .local/bin/triplescreen | 20 |
7 files changed, 60 insertions, 39 deletions
diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc index 1a2f7a5..0f3ce4b 100755 --- a/.config/bspwm/bspwmrc +++ b/.config/bspwm/bspwmrc @@ -43,7 +43,7 @@ use constant { BSP_GAPLESS_MONOCLE => 'true', BSP_SINGLE_MONOCLE => 'true', XSET_R_RATE_DELAY => 200, - XSET_R_RATE_RATE => 100 + XSET_R_RATE_RATE => 150 }; use constant WALLPAPER_PATH => '/usr/home/jozan/Pictures/wallpaper.jpg'; use constant COWSAY_WELCOME => 'Welcome back, partner! And remember to try glest!'; @@ -36,7 +36,7 @@ '(jdee-db-spec-breakpoint-face-colors (cons "#1c1f2b" "#676E95")) '(objed-cursor-color "#ff5370") '(package-selected-packages - '(neotree irony xr font-utils org-evil evil-vimish-fold cl-format crontab-mode vterm symon toc-org evil-org org-bullets yaml-mode twittering-mode helm-slime helm-w3m helm-mu htmlize babel org-pdftools shell-pop which-key golden-ratio elfeed-org elfeed dmenu mingus lua-mode dionysos helm-c-yasnippet helm-emms emms font-lock-cl restart-emacs w3m string-utils go-mode major-mode-icons dired-icon mode-icons evil-collection sed-mode zones kaolin-themes gruvbox-theme helm-themes yasnippet-classic-snippets yasnippet-snippets auto-yasnippet php-auto-yasnippets el-autoyas yasnippet cargo evil-ediff windresize helm-make spacemacs-theme centaur-tabs evil-mu4e evil-magit dashboard slime ssh sudo-ext dockerfile-mode docker frame-local ov dash-functional helm-addressbook org-mime flyspell-correct pdf-tools websocket request emojify-logos emojify oauth2 circe mu4e-alert web-mode doom-themes doom-modeline all-the-icons-dired all-the-icons-gnus all-the-icons html5-schema phps-mode org-babel-eval-in-repl rust-mode smart-mode-line-powerline-theme eshell-prompt-extras eshell-fixed-prompt pyenv-mode s realgud-lldb ranger ## color-theme-modern auto-complete-c-headers command-log-mode auto-complete magit smart-tabs-mode airline-themes paredit autopair tabbar-ruler tabbar use-package-el-get color-theme-approximate diminish rainbow-delimiters color-identifiers-mode use-package helm evil-visual-mark-mode)) + '(company-irony neotree irony xr font-utils org-evil evil-vimish-fold cl-format crontab-mode vterm symon toc-org evil-org org-bullets yaml-mode twittering-mode helm-slime helm-w3m helm-mu htmlize babel org-pdftools shell-pop which-key golden-ratio elfeed-org elfeed dmenu mingus lua-mode dionysos helm-c-yasnippet helm-emms emms font-lock-cl restart-emacs w3m string-utils go-mode major-mode-icons dired-icon mode-icons evil-collection sed-mode zones kaolin-themes gruvbox-theme helm-themes yasnippet-classic-snippets yasnippet-snippets auto-yasnippet php-auto-yasnippets el-autoyas yasnippet cargo evil-ediff windresize helm-make spacemacs-theme centaur-tabs evil-mu4e evil-magit dashboard slime ssh sudo-ext dockerfile-mode docker frame-local ov dash-functional helm-addressbook org-mime flyspell-correct pdf-tools websocket request emojify-logos emojify oauth2 circe mu4e-alert web-mode doom-themes doom-modeline all-the-icons-dired all-the-icons-gnus all-the-icons html5-schema phps-mode org-babel-eval-in-repl rust-mode smart-mode-line-powerline-theme eshell-prompt-extras eshell-fixed-prompt pyenv-mode s realgud-lldb ranger ## color-theme-modern auto-complete-c-headers command-log-mode auto-complete magit smart-tabs-mode airline-themes paredit autopair tabbar-ruler tabbar use-package-el-get color-theme-approximate diminish rainbow-delimiters color-identifiers-mode use-package helm evil-visual-mark-mode)) '(pdf-view-midnight-colors (cons "#EEFFFF" "#292D3E")) '(pos-tip-background-color "#2E2A29") '(pos-tip-foreground-color "#d4d4d6") diff --git a/.emacs.d/org/config.org b/.emacs.d/org/config.org index e5e19c5..889f1c4 100644 --- a/.emacs.d/org/config.org +++ b/.emacs.d/org/config.org @@ -504,14 +504,6 @@ (add-hook 'prog-mode-hook 'rainbow-delimiters-mode) #+END_SRC -*** Auto-complete -#+BEGIN_SRC emacs-lisp -(require 'auto-complete) - -(require 'auto-complete-config) -(ac-config-default) -#+END_SRC - *** C default style #+BEGIN_SRC emacs-lisp (setq c-default-style "bsd") @@ -774,6 +766,33 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer." (add-hook 'irony-mode-hook 'irony-cdb-autosetup-compile-options) #+END_SRC +*** company + #+BEGIN_SRC emacs-lisp + (require 'company) + (require 'company-irony) + ;; (add-to-list 'company-backends 'company-irony) + ;; (add-to-list 'company-backends 'company-yasnippet) + (add-hook 'after-init-hook 'global-company-mode) + (global-company-mode) + ;; company delay until suggestions are shown + (setq company-idle-delay 0) + + ;; weight by frequency + (setq company-transformers '(company-sort-by-occurrence)) + + ;; Add yasnippet support for all company backends + ;; https://github.com/syl20bnr/spacemacs/pull/179 + (defvar company-mode/enable-yas t "Enable yasnippet for all backends.") + + (defun company-mode/backend-with-yas (backend) + (if (or (not company-mode/enable-yas) (and (listp backend) (member 'company-yasnippet backend))) + backend + (append (if (consp backend) backend (list backend)) + '(:with company-yasnippet)))) + + (setq company-backends (mapcar #'company-mode/backend-with-yas company-backends)) + #+END_SRC + ** Compilation *** Close window after errorless compilation #+BEGIN_SRC emacs-lisp diff --git a/.emacs.d/org/elfeed/elfeed.org b/.emacs.d/org/elfeed/elfeed.org index 9f387fa..f4ea4ca 100644 --- a/.emacs.d/org/elfeed/elfeed.org +++ b/.emacs.d/org/elfeed/elfeed.org @@ -48,3 +48,5 @@ ***** https://www.youtube.com/feeds/videos.xml?channel_id=UCDWIvJwLJsE4LG1Atne2blQ **** El Rayhan ***** https://www.youtube.com/feeds/videos.xml?channel_id=UC1jpJQzugyhkf1HQQwWuUSA +**** Kitboga +***** https://www.youtube.com/feeds/videos.xml?channel_id=UCm22FAXZMw1BaWeFszZxUKw diff --git a/.local/bin/dualscreen b/.local/bin/dualscreen index 01d291f..be627f5 100755 --- a/.local/bin/dualscreen +++ b/.local/bin/dualscreen @@ -1,13 +1,13 @@ #!/bin/sh -xrandr --output VGA1 --off -xrandr --output HDMI1 --primary --mode 1920x1080 --pos 0x0 --rotate normal -xrandr --output DP1 --off -xrandr --output LVDS1 --mode 1366x768 --pos 1920x312 --rotate normal -xrandr --output HDMI2 --off -xrandr --output HDMI3 --off -xrandr --output DP2 --off -xrandr --output DP3 --off +xrandr --output VGA-1 --off +xrandr --output HDMI-1 --primary --mode 1920x1080 --pos 0x0 --rotate normal +xrandr --output DP-1 --off +xrandr --output LVDS-1 --mode 1366x768 --pos 1920x312 --rotate normal +xrandr --output HDMI-2 --off +xrandr --output HDMI-3 --off +xrandr --output DP-2 --off +xrandr --output DP-3 --off -bspc monitor HDMI1 -d 01 02 03 04 05 06 07 -bspc monitor LVDS1 -d 08 09 10 11 12 +bspc monitor HDMI-1 -d 01 02 03 04 05 06 07 +bspc monitor LVDS-1 -d 08 09 10 11 12 diff --git a/.local/bin/mainscreen b/.local/bin/mainscreen index 6164bf8..ea416d7 100755 --- a/.local/bin/mainscreen +++ b/.local/bin/mainscreen @@ -1,12 +1,12 @@ #!/bin/sh -xrandr --output LVDS1 --primary --mode 1366x768 --pos 0x0 --rotate normal -xrandr --output VGA1 --off -xrandr --output HDMI1 --off -xrandr --output DP1 --off -xrandr --output HDMI2 --off -xrandr --output HDMI3 --off -xrandr --output DP2 --off -xrandr --output DP3 --off +xrandr --output LVDS-1 --primary --mode 1366x768 --pos 0x0 --rotate normal +xrandr --output VGA-1 --off +xrandr --output HDMI-1 --off +xrandr --output DP-1 --off +xrandr --output HDMI-2 --off +xrandr --output HDMI-3 --off +xrandr --output DP-2 --off +xrandr --output DP-3 --off -bspc monitor LVDS1 -d 01 02 03 04 05 06 07 08 09 10 11 12 +bspc monitor LVDS-1 -d 01 02 03 04 05 06 07 08 09 10 11 12 diff --git a/.local/bin/triplescreen b/.local/bin/triplescreen index 5595f91..05a4b90 100755 --- a/.local/bin/triplescreen +++ b/.local/bin/triplescreen @@ -1,13 +1,13 @@ #!/bin/sh -xrandr --output LVDS1 --off -xrandr --output HDMI1 --primary --mode 1920x1080 --pos 0x0 --rotate normal -xrandr --output DP1 --off -xrandr --output VGA1 --mode 1440x900 --pos 1920x90 --rotate normal -xrandr --output HDMI2 --off -xrandr --output HDMI3 --off -xrandr --output DP2 --off -xrandr --output DP3 --off +xrandr --output LVDS-1 --off +xrandr --output HDMI-1 --primary --mode 1920x1080 --pos 0x0 --rotate normal +xrandr --output DP-1 --off +xrandr --output VGA-1 --mode 1440x900 --pos 1920x90 --rotate normal +xrandr --output HDMI-2 --off +xrandr --output HDMI-3 --off +xrandr --output DP-2 --off +xrandr --output DP-3 --off -bspc monitor HDMI1 -d 01 02 03 04 05 06 07 -bspc monitor VGA1 -d 08 09 10 11 12 +bspc monitor HDMI-1 -d 01 02 03 04 05 06 07 +bspc monitor VGA-1 -d 08 09 10 11 12 |