3 Commits 5c8b0802bd ... af634f0d35

Author SHA1 Message Date
  Josh Bicking af634f0d35 Add rust and c++ stuff 5 years ago
  Josh Bicking ff90f3f064 Add calfw 5 years ago
  Josh Bicking a721f49146 Updated tiling rules and KDE droppings 5 years ago

+ 1 - 4
bspwm-kde/.config/bspwm/bspwmrc

@@ -19,13 +19,10 @@ bspc config focus_follows_pointer true
 
 
 bspc rule -a Firefox state=tiled
 bspc rule -a Firefox state=tiled
 bspc rule -a Nightly state=tiled
 bspc rule -a Nightly state=tiled
+bspc rule -a Emacs   state=tiled
 
 
 bspc rule -a plasmashell state=floating
 bspc rule -a plasmashell state=floating
 
 
-bspc rule -a libreoffice-writer state=tiled
-bspc rule -a libreoffice-impress state=tiled
-bspc rule -a libreoffice-calc state=tiled
-
 #bspc rule -a Gimp desktop='^8' state=floating follow=on
 #bspc rule -a Gimp desktop='^8' state=floating follow=on
 #bspc rule -a Chromium desktop='^2'
 #bspc rule -a Chromium desktop='^2'
 #bspc rule -a mplayer2 state=floating
 #bspc rule -a mplayer2 state=floating

+ 58 - 3
bspwm-kde/.config/kglobalshortcutsrc

@@ -2,9 +2,10 @@
 update_info=powerdevil_move_shortcuts.upd:powerdevil_move_shortcuts
 update_info=powerdevil_move_shortcuts.upd:powerdevil_move_shortcuts
 
 
 [ActivityManager]
 [ActivityManager]
-_k_friendly_name=Plasma
+_k_friendly_name=Activity Manager
 switch-to-activity-9cadb9b0-0d32-406b-98a0-66d9e798af45=none,none,
 switch-to-activity-9cadb9b0-0d32-406b-98a0-66d9e798af45=none,none,
-switch-to-activity-f8c0b0d3-2835-4ec0-92af-f7d313062563=none,none,
+switch-to-activity-c40d4cc6-32ab-4ccc-a51f-5b4c3c9d7b00=none,none,Switch to activity "Default"
+switch-to-activity-f8c0b0d3-2835-4ec0-92af-f7d313062563=none,none,Switch to activity "New"
 
 
 [KDE Keyboard Layout Switcher]
 [KDE Keyboard Layout Switcher]
 Switch to Next Keyboard Layout=Ctrl+Alt+K,none,Switch to Next Keyboard Layout
 Switch to Next Keyboard Layout=Ctrl+Alt+K,none,Switch to Next Keyboard Layout
@@ -35,6 +36,60 @@ _k_friendly_name=KDE Daemon
 {dfb4aba2-b9ba-4be7-a9ac-754a0b0625ef}=Ctrl+#,none,Take Full Screen Screenshot
 {dfb4aba2-b9ba-4be7-a9ac-754a0b0625ef}=Ctrl+#,none,Take Full Screen Screenshot
 
 
 [kmix]
 [kmix]
+Decrease volume  - Bass Speaker, HDA Intel PCH=none,none,Decrease Volume
+Decrease volume  - Capture, HDA Intel PCH=none,none,Decrease Volume
+Decrease volume  - Front, HDA Intel PCH=none,none,Decrease Volume
+Decrease volume  - Headphone Mic Boost, HDA Intel PCH=none,none,Decrease Volume
+Decrease volume  - Headphone Mic, HDA Intel PCH=none,none,Decrease Volume
+Decrease volume  - Headphone, HDA Intel PCH=none,none,Decrease Volume
+Decrease volume  - Headset Mic Boost, HDA Intel PCH=none,none,Decrease Volume
+Decrease volume  - Headset Mic, HDA Intel PCH=none,none,Decrease Volume
+Decrease volume  - IEC958 2, HDA Intel PCH=none,none,Decrease Volume
+Decrease volume  - IEC958 3, HDA Intel PCH=none,none,Decrease Volume
+Decrease volume  - IEC958 4, HDA Intel PCH=none,none,Decrease Volume
+Decrease volume  - IEC958 5, HDA Intel PCH=none,none,Decrease Volume
+Decrease volume  - IEC958, HDA Intel PCH=none,none,Decrease Volume
+Decrease volume  - Internal Mic Boost, HDA Intel PCH=none,none,Decrease Volume
+Decrease volume  - Internal Mic, HDA Intel PCH=none,none,Decrease Volume
+Decrease volume  - Master, HDA Intel PCH=none,none,Decrease Volume
+Decrease volume  - PCM, HDA Intel PCH=none,none,Decrease Volume
+Decrease volume  - Speaker, HDA Intel PCH=none,none,Decrease Volume
+Increase volume  - Bass Speaker, HDA Intel PCH=none,none,Increase Volume
+Increase volume  - Capture, HDA Intel PCH=none,none,Increase Volume
+Increase volume  - Front, HDA Intel PCH=none,none,Increase Volume
+Increase volume  - Headphone Mic Boost, HDA Intel PCH=none,none,Increase Volume
+Increase volume  - Headphone Mic, HDA Intel PCH=none,none,Increase Volume
+Increase volume  - Headphone, HDA Intel PCH=none,none,Increase Volume
+Increase volume  - Headset Mic Boost, HDA Intel PCH=none,none,Increase Volume
+Increase volume  - Headset Mic, HDA Intel PCH=none,none,Increase Volume
+Increase volume  - IEC958 2, HDA Intel PCH=none,none,Increase Volume
+Increase volume  - IEC958 3, HDA Intel PCH=none,none,Increase Volume
+Increase volume  - IEC958 4, HDA Intel PCH=none,none,Increase Volume
+Increase volume  - IEC958 5, HDA Intel PCH=none,none,Increase Volume
+Increase volume  - IEC958, HDA Intel PCH=none,none,Increase Volume
+Increase volume  - Internal Mic Boost, HDA Intel PCH=none,none,Increase Volume
+Increase volume  - Internal Mic, HDA Intel PCH=none,none,Increase Volume
+Increase volume  - Master, HDA Intel PCH=none,none,Increase Volume
+Increase volume  - PCM, HDA Intel PCH=none,none,Increase Volume
+Increase volume  - Speaker, HDA Intel PCH=none,none,Increase Volume
+Toggle mute  - Bass Speaker, HDA Intel PCH=none,none,Toggle Mute
+Toggle mute  - Capture, HDA Intel PCH=none,none,Toggle Mute
+Toggle mute  - Front, HDA Intel PCH=none,none,Toggle Mute
+Toggle mute  - Headphone Mic Boost, HDA Intel PCH=none,none,Toggle Mute
+Toggle mute  - Headphone Mic, HDA Intel PCH=none,none,Toggle Mute
+Toggle mute  - Headphone, HDA Intel PCH=none,none,Toggle Mute
+Toggle mute  - Headset Mic Boost, HDA Intel PCH=none,none,Toggle Mute
+Toggle mute  - Headset Mic, HDA Intel PCH=none,none,Toggle Mute
+Toggle mute  - IEC958 2, HDA Intel PCH=none,none,Toggle Mute
+Toggle mute  - IEC958 3, HDA Intel PCH=none,none,Toggle Mute
+Toggle mute  - IEC958 4, HDA Intel PCH=none,none,Toggle Mute
+Toggle mute  - IEC958 5, HDA Intel PCH=none,none,Toggle Mute
+Toggle mute  - IEC958, HDA Intel PCH=none,none,Toggle Mute
+Toggle mute  - Internal Mic Boost, HDA Intel PCH=none,none,Toggle Mute
+Toggle mute  - Internal Mic, HDA Intel PCH=none,none,Toggle Mute
+Toggle mute  - Master, HDA Intel PCH=none,none,Toggle Mute
+Toggle mute  - PCM, HDA Intel PCH=none,none,Toggle Mute
+Toggle mute  - Speaker, HDA Intel PCH=none,none,Toggle Mute
 _k_friendly_name=Audio Volume
 _k_friendly_name=Audio Volume
 decrease_microphone_volume=Microphone Volume Down,Microphone Volume Down,Decrease Microphone Volume
 decrease_microphone_volume=Microphone Volume Down,Microphone Volume Down,Decrease Microphone Volume
 decrease_volume=Volume Down,Volume Down,Decrease Volume
 decrease_volume=Volume Down,Volume Down,Decrease Volume
@@ -199,7 +254,7 @@ Window to Screen 4=none,none,Window to Screen 4
 Window to Screen 5=none,none,Window to Screen 5
 Window to Screen 5=none,none,Window to Screen 5
 Window to Screen 6=none,none,Window to Screen 6
 Window to Screen 6=none,none,Window to Screen 6
 Window to Screen 7=none,none,Window to Screen 7
 Window to Screen 7=none,none,Window to Screen 7
-_k_friendly_name=KWin
+_k_friendly_name=System Settings Module
 view_actual_size=Meta+0,Meta+0,Actual Size
 view_actual_size=Meta+0,Meta+0,Actual Size
 view_zoom_in=Meta+=,Meta+=,Zoom In
 view_zoom_in=Meta+=,Meta+=,Zoom In
 view_zoom_out=Meta+-,Meta+-,Zoom Out
 view_zoom_out=Meta+-,Meta+-,Zoom Out

+ 5 - 3
bspwm-kde/.config/konsolerc

@@ -5,11 +5,13 @@ DefaultProfile=Profile 1.profile
 Favorites=
 Favorites=
 
 
 [MainWindow]
 [MainWindow]
-Height 1080=1052
+Height 1050=638
+Height 1080=1016
 MenuBar=Enabled
 MenuBar=Enabled
-State=AAAA/wAAAAD9AAAAAAAAA4QAAAP+AAAABAAAAAQAAAAIAAAACPwAAAAA
+State=AAAA/wAAAAD9AAAAAAAAB2QAAAPZAAAABAAAAAQAAAAIAAAACPwAAAAA
 ToolBarsMovable=Disabled
 ToolBarsMovable=Disabled
-Width 1920=900
+Width 1680=1200
+Width 1920=1892
 Window-Maximized 1080x1920=false
 Window-Maximized 1080x1920=false
 
 
 [TabBar]
 [TabBar]

+ 38 - 2
spacemacs/.spacemacs

@@ -31,6 +31,7 @@ values."
    ;; List of configuration layers to load.
    ;; List of configuration layers to load.
    dotspacemacs-configuration-layers
    dotspacemacs-configuration-layers
    '(
    '(
+     rust
      typescript
      typescript
      html
      html
      javascript
      javascript
@@ -60,12 +61,19 @@ values."
      version-control
      version-control
      evil-snipe
      evil-snipe
      latex
      latex
-     )
+     (c-c++ :variables
+            c-c++-enable-clang-support t
+            c-c++-default-mode-for-headers 'c++-mode))
    ;; List of additional packages that will be installed without being
    ;; List of additional packages that will be installed without being
    ;; wrapped in a layer. If you need some configuration for these
    ;; wrapped in a layer. If you need some configuration for these
    ;; packages, then consider creating a layer. You can also put the
    ;; packages, then consider creating a layer. You can also put the
    ;; configuration in `dotspacemacs/user-config'.
    ;; configuration in `dotspacemacs/user-config'.
-   dotspacemacs-additional-packages '()
+   dotspacemacs-additional-packages
+   '(
+     calfw
+     calfw-org
+     org-caldav
+     )
    ;; A list of packages that cannot be updated.
    ;; A list of packages that cannot be updated.
    dotspacemacs-frozen-packages '()
    dotspacemacs-frozen-packages '()
    ;; A list of packages that will not be installed and loaded.
    ;; A list of packages that will not be installed and loaded.
@@ -323,11 +331,39 @@ layers configuration.
 This is the place where most of your configurations should be done. Unless it is
 This is the place where most of your configurations should be done. Unless it is
 explicitly specified that a variable should be set before a package is loaded,
 explicitly specified that a variable should be set before a package is loaded,
 you should place your code here."
 you should place your code here."
+
+  (evil-define-minor-mode-key 'normal 'visual-line-mode "j" 'evil-next-visual-line)
+  (evil-define-minor-mode-key 'normal 'visual-line-mode "k" 'evil-previous-visual-line)
+
   (setq undo-tree-auto-save-history t
   (setq undo-tree-auto-save-history t
         undo-tree-history-directory-alist
         undo-tree-history-directory-alist
         `(("." . ,(concat spacemacs-cache-directory "undo"))))
         `(("." . ,(concat spacemacs-cache-directory "undo"))))
   (unless (file-exists-p (concat spacemacs-cache-directory "undo"))
   (unless (file-exists-p (concat spacemacs-cache-directory "undo"))
     (make-directory (concat spacemacs-cache-directory "undo")))
     (make-directory (concat spacemacs-cache-directory "undo")))
+
+  (require 'calfw)
+  (require 'calfw-org)
+
+  (defun org-agenda-this-buffer ()
+    ;; Automatically jump to a week view of the current buffer.
+    (interactive)
+    (execute-kbd-macro (kbd "<SPC>ma<a")))
+
+  (defun cfw:show-details-command-call ()
+    ;; Lets me call this with RET.
+    (interactive)
+    (execute-kbd-macro (kbd "<SPC>")))
+
+  (evil-define-key 'normal org-mode-map (kbd "<SPC>o") 'org-agenda-this-buffer)
+  (define-key org-agenda-mode-map (kbd "c") 'cfw:open-org-calendar)
+  (define-key cfw:calendar-mode-map (kbd "<RET>") 'cfw:show-details-command-call)
+
+
+  (defun create-tags (dir-name)
+    "Create tags file."
+    (interactive "DDirectory: ")
+    (eshell-command
+     (format " find %s -type f -regextype sed -regex \".*\\.\\(cpp\\|c\\|h\\)$\" | etags -" dir-name)))
   )
   )
 
 
 ;; Do not write anything past this comment. This is where Emacs will
 ;; Do not write anything past this comment. This is where Emacs will