diff options
| author | Vidhu Kant Sharma <bokuwakanojogahoshii@yahoo.com> | 2021-04-11 12:33:18 +0530 | 
|---|---|---|
| committer | Vidhu Kant Sharma <bokuwakanojogahoshii@yahoo.com> | 2021-04-11 12:33:18 +0530 | 
| commit | 0491fdd602789884dd0bed88255adc24b4d1324c (patch) | |
| tree | 4766548679c66d44a04ed49c5361a2c8dd97acda /.config | |
| parent | 6f9c2b96d4992b064db418540606025573a1e4ef (diff) | |
switched back to firefox, librewolf kinda 'boring'
Diffstat (limited to '.config')
| -rw-r--r-- | .config/XMonad/xmonad.hs | 10 | ||||
| -rwxr-xr-x | .config/lf/lfrc | 2 | ||||
| -rw-r--r-- | .config/nvim/init.vim | 29 | 
3 files changed, 34 insertions, 7 deletions
| diff --git a/.config/XMonad/xmonad.hs b/.config/XMonad/xmonad.hs index ee53801..bdcdf05 100644 --- a/.config/XMonad/xmonad.hs +++ b/.config/XMonad/xmonad.hs @@ -59,7 +59,7 @@ import XMonad.Util.NamedScratchpad  myStartupHook :: X ()  myStartupHook = do            spawnOnce "start-lemonbar.sh" -	  spawnOn   "  二  " "librewolf" +	  spawnOn   "  二  " "firefox"  	  setWMName "AnimeThighsWM"  	  -- setWMName "LG3D"            setDefaultCursor xC_left_ptr @@ -75,7 +75,7 @@ myTerminal :: String  myTerminal = "st"  myLauncher :: String -myLauncher = "run_dmenu" +myLauncher = "dmenu_run"  myBrowser :: String  myBrowser = "brave" @@ -176,7 +176,7 @@ myTreeMenu a = TS.treeselectAction a          , Node (TS.TSNode "LibreOffice" "" (spawn "libreoffice")) []      	, Node (TS.TSNode "Browsers" "" (return()))              [ Node (TS.TSNode "Vivaldi" "" (spawn "vivaldi-stable")) [] -            , Node (TS.TSNode "librewolf" "" (spawn "librewolf")) [] +            , Node (TS.TSNode "Firefox" "" (spawn "firefox")) []              , Node (TS.TSNode "Brave" "" (spawn "brave")) []  	    ]  	] @@ -315,8 +315,8 @@ myKeys = [  myKeys' :: [(String, X ())]  myKeys' =           [-- Running or copying browsers  -	 ("M-i f", runOrCopy "librewolf" (className =? "Librewolf")) -	 , ("M-i S-f", spawn "librewolf") +	 ("M-i f", runOrCopy "firefox" (className =? "Firefox")) +	 , ("M-i S-f", spawn "firefox")           , ("M-i b", spawn "brave")           , ("M-i S-b", spawn "brave --incognito")  	 -- this doesn't work when in myKeys diff --git a/.config/lf/lfrc b/.config/lf/lfrc index 029cc8f..f06fba2 100755 --- a/.config/lf/lfrc +++ b/.config/lf/lfrc @@ -122,7 +122,7 @@ cmd share $curl -F"file=@$fx" https://0x0.st | xclip -selection c  # }}  # override paste with cp-p -cmd paste $cp-p --lf-paste $id +# cmd paste $cp-p --lf-paste $id  # archive bindings  cmd unarchive ${{ diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 9324fa5..a0372fb 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -13,7 +13,7 @@ Plug 'rrethy/vim-hexokinase', { 'do': 'make hexokinase' }  Plug 'maxmellon/vim-jsx-pretty'  Plug 'yuezk/vim-js' - +" Plug 'glacambre/firenvim', { 'do': { _ -> firenvim#install(0) } }  " Plug 'leafgarland/typescript-vim'  " Plug 'vim-airline/vim-airline'  " Plug 'dracula/vim', { 'as': 'dracula' } @@ -87,3 +87,30 @@ let g:vim_jsx_pretty_colorful_config = 1  " disable word wrapping  set nowrap + +" this makes firenvim work +" if exists('g:started_by_firenvim') +"   set laststatus=0 +"   au BufEnter github.com_*.txt set filetype=markdown +" else +"   set laststatus=2 +" endif + +" firenvim config +" let g:firenvim_config = {  +"     \ 'globalSettings': { +"         \ 'alt': 'all', +"     \  }, +"     \ 'localSettings': { +"         \ '.*': { +"             \ 'cmdline': 'neovim', +"             \ 'content': 'text', +"             \ 'priority': 0, +"             \ 'selector': 'textarea', +"             \ 'takeover': 'always', +"         \ }, +"     \ } +" \ } +" let fc = g:firenvim_config['localSettings'] +" let fc['.*'] = { 'selector': 'textarea:not([readonly]), div[role="textbox"]' } +" let fc['.*'] = { 'takeover': 'always' } |