aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@protonmail.ch>2021-12-04 03:33:12 +0530
committerVidhu Kant Sharma <vidhukant@protonmail.ch>2021-12-04 03:33:12 +0530
commita4221e16a657013bfd648e2844e48d7314baea46 (patch)
tree56aeba2490c59ba76eb49ea0586c25adf6b099bf
parent5efd1e0500f93527570197f14a79eaf352efd18f (diff)
added obs and emacs keybindings
-rw-r--r--.config/XMonad/xmonad.hs7
-rw-r--r--.config/zsh/.zshenv3
-rw-r--r--.doom.d/init.el8
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
, ("<XF86MonBrightnessDown>", spawn "brightnessctl s 5-")
, ("<XF86MonBrightnessUp>", spawn "brightnessctl s +5")
@@ -341,4 +344,4 @@ main = do
, ("<XF86AudioRaiseVolume>", spawn "pamixer -i 5")
, ("<XF86AudioMute>", 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