From a4221e16a657013bfd648e2844e48d7314baea46 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sat, 4 Dec 2021 03:33:12 +0530 Subject: added obs and emacs keybindings --- .config/XMonad/xmonad.hs | 7 +++++-- .config/zsh/.zshenv | 3 ++- .doom.d/init.el | 8 ++++---- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.config/XMonad/xmonad.hs b/.config/XMonad/xmonad.hs index 4cb4917..5957e22 100644 --- a/.config/XMonad/xmonad.hs +++ b/.config/XMonad/xmonad.hs @@ -108,7 +108,7 @@ mediaTS = [ Node (TS.TSNode "VLC" "" (spawn "vlc")) [] , Node (TS.TSNode "GIMP" "" (spawn "gimp")) [] , Node (TS.TSNode "Kdenlive" "" (spawn "kdenlive")) [] - , Node (TS.TSNode "OBS" "" (spawn "OBS")) [] + , Node (TS.TSNode "OBS" "" (spawn "obs")) [] ] myMediaTS a = TS.treeselectAction a mediaTS @@ -148,6 +148,7 @@ myXmonadTS a = TS.treeselectAction a xmonadTS devTS = [ Node (TS.TSNode "Android Studio" "" (spawn "android-studio")) [] + , Node (TS.TSNode "Doom Emacs" "" (spawn "code")) [] , Node (TS.TSNode "VSCodium" "" (spawn "code")) [] ] myDevTS a = TS.treeselectAction a (devTS ++ vmTS) @@ -334,6 +335,8 @@ main = do , ("M-S-u", spawn "pcmanfm") , ("M-S-b", spawn "discord") , ("M-S-i", spawn "librewolf") + , ("M-s", spawn "obs") + , ("M-d", spawn "emacs") -- fn keys , ("", spawn "brightnessctl s 5-") , ("", spawn "brightnessctl s +5") @@ -341,4 +344,4 @@ main = do , ("", spawn "pamixer -i 5") , ("", spawn "pamixer -t") ] - -- used keys: x e w o i p r t y q n b c + -- used keys: x e w o i p r t y q n b c d diff --git a/.config/zsh/.zshenv b/.config/zsh/.zshenv index 9ae5107..05baa12 100644 --- a/.config/zsh/.zshenv +++ b/.config/zsh/.zshenv @@ -12,6 +12,7 @@ export PATH=/home/zt/.emacs.d/bin:$PATH export PATH=/usr/local/bin:$PATH +export RUST_SRC_PATH=/home/zt/.cargo export PATH=/home/zt/.gopath:$PATH export GOPATH="/home/zt/.gopath" export PATH=/home/zt/.local/flutter/bin:$PATH @@ -19,4 +20,4 @@ export PATH=/home/zt/.local/flutter/bin:$PATH export QT_QPA_PLATFORMTHEME=gtk2 export ZDOTDIR="$HOME/.config/zsh" -#. "$HOME/.cargo/env" +. "$HOME/.cargo/env" diff --git a/.doom.d/init.el b/.doom.d/init.el index fd30f63..140902e 100644 --- a/.doom.d/init.el +++ b/.doom.d/init.el @@ -94,7 +94,7 @@ (eval +overlay) ; run code, run (also, repls) ;;gist ; interacting with github gists lookup ; navigate your code and its documentation - ;;lsp ; M-x vscode + lsp ; M-x vscode magit ; a git porcelain for Emacs ;;make ; run make tasks from Emacs ;;pass ; password manager for nerds @@ -122,7 +122,7 @@ ;;data ; config/data formats ;;(dart +flutter) ; paint ui and not much else ;;dhall - ;;elixir ; erlang done right + elixir ; erlang done right ;;elm ; care for a cup of TEA? emacs-lisp ; drown in parentheses ;;erlang ; an elegant language for a more civilized age @@ -133,7 +133,7 @@ ;;fstar ; (dependent) types and (monadic) effects and Z3 ;;gdscript ; the language you waited for ;;(go +lsp) ; the hipster dialect - ;;(haskell +lsp) ; a language that's lazier than I am + (haskell +lsp) ; a language that's lazier than I am ;;hy ; readability of scheme w/ speed of python ;;idris ; a language you can depend on ;;json ; At least it ain't XML @@ -160,7 +160,7 @@ ;;rest ; Emacs as a REST client ;;rst ; ReST in peace ;;(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"} - ;;rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap() + rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap() ;;scala ; java, but good ;;(scheme +guile) ; a fully conniving family of lisps sh ; she sells {ba,z,fi}sh shells on the C xor -- cgit v1.2.3